Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Bunch of CMake pain in the baker

License

NotificationsYou must be signed in to change notification settings

UCL/GreatCMakeCookOff

Repository files navigation

This is a repository of usefull and less than usefull cmake recipes. It is distributed under theMIT 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 theMIT copyright terms are followed. One possibility is to include this project as agitsubmodule.

However, the easiest method may well be to have this repository downloaded upon configuration of aproject. In that case, the fileLookUp-GreatCMakeCookOff.cmakeshould be downloaded and inserted into the target project. It can then be included in the targetproject's mainCMakeLists.txt file:

include(LookUp-GreatCMakeCookOff)

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

Another option is to pointCMake towards the location on disk where a repo of the cook-off can befound, or more explicitely, where the fileGreatCMakeCookOffConfig.cmake can be found. This isdone withcmake -DGreatCMakeCookOff_DIR=/path/to/cookoff/cmake ... Please note that this trick worksfor anyCMake project that definesSomethingConfig.cmake files.

Features

Please check thewiki


[8]ページ先頭

©2009-2025 Movatter.jp