Code Monkey home page Code Monkey logo

cmake_helper's Introduction

cmake_helper

This package is designed to assist in the creation and use of modular C++ code that uses CMake. It really shines when your codebase consists of many separate C++ libraries, each of which have various dependencies on each other or 3rd-party packages. Its main advantages are:

  • Don't have to precompile all of your libraries. Instead of setting up and precomiling your libraries, and then making sure that you used compatible compilation settings for your current project (ex. same compiler, Debug vs. Release, 32-bit vs. 64-bit, etc.), cmake_helper will automatically set up your libraries to compile along with your project.
  • Automatic dependency chaining. While CMake does provide functionality to chain dependencies between targets, it is not fully supported and trivial to use with all projects (ex. header-only libraries, CUDA targets, etc.). cmake_helper will automatically propagate dependencies between your libraries and executables making configuration and compilation much simpler.
  • Simple to use. Libraries and executables designed with cmake_helper can easily be added to your project via a normal find_package() command, and both basic and advanced examples are provided for a variety of project types.
  • Useful extras. Also included are automatic scripts that help configure CMake for certain usage scenarios. For instance, cmake_helper will automatically help you find your CUDA SDK, configure your CUDA compiler, set up your Boost library directory, add Boost compile definitions, add OpenMP compile flags, set compiler optimization flags, allow easy editing of compiler warning levels, and many other useful features.

cmake_helper's People

Contributors

jheinly avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

liuzhuohao caomw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.