Giter Club home page Giter Club logo

greatcmakecookoff's Introduction

The Great CMake CookOff

This is a repository of usefull and less than usefull cmake recipes. It is distributed under the MIT License

Adding this repository to a cmake

The files in this repository can be added individually or as a whole to a project, as long as the MIT copyright terms are followed. One possibility is to include this project as a git submodule.

However, the easiest method may well be to have this repository downloaded upon configuration of a project. In that case, the file LookUp-GreatCMakeCookOff.cmake should be downloaded and inserted into the target project. It can then be included in the target project's main CMakeLists.txt file:

include(LookUp-GreatCMakeCookOff)

This will download the cook-off into the build directory right at configure time. Cook-off recipes can then be used anywhere below that.

Another option is to point CMake towards the location on disk where a repo of the cook-off can be found, or more explicitely, where the file GreatCMakeCookOffConfig.cmake can be found. This is done with cmake -DGreatCMakeCookOff_DIR=/path/to/cookoff/cmake ... Please note that this trick works for any CMake project that defines SomethingConfig.cmake files.

Features

Please check the wiki

greatcmakecookoff's People

Contributors

dpshelio avatar garymacindoe avatar ilectra avatar jenshnielsen avatar tbetcke avatar

Watchers

 avatar

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.