Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/UCL/GreatCMakeCookOff
Bunch of CMake pain in the baker
https://github.com/UCL/GreatCMakeCookOff
cmake cmake-modules cmake-scripts
Last synced: about 2 months ago
JSON representation
Bunch of CMake pain in the baker
- Host: GitHub
- URL: https://github.com/UCL/GreatCMakeCookOff
- Owner: UCL
- License: mit
- Created: 2013-08-14T16:10:02.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-06-07T13:35:03.000Z (about 1 year ago)
- Last Synced: 2024-04-16T19:02:43.948Z (2 months ago)
- Topics: cmake, cmake-modules, cmake-scripts
- Language: CMake
- Size: 361 KB
- Stars: 41
- Watchers: 23
- Forks: 22
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-cmake - GreatCMakeCookOff - This is a repository of useful and less than useful CMake recipes. [```[MIT]```][MIT] (Utility Scripts)
README
The Great CMake CookOff
=======================This is a repository of usefull and less than usefull cmake recipes. It is distributed under the
[MIT License](http://opensource.org/licenses/MIT)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](http://git-scm.com/docs/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](https://github.com/UCL/GreatCMakeCookOff/tree/master/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:```cmake
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](https://github.com/UCL/GreatCMakeCookOff/wiki)