-
Notifications
You must be signed in to change notification settings - Fork 22
Home
Mayeul d'Avezac edited this page Dec 10, 2015
·
16 revisions
This is a repository of useful and less than useful CMake
recipes. It is distributed under the
MIT License.
The information in this wiki currently holds for the refactor
branch only.
- Adding this repository to a cmake project
- Find or install a package, aka lookup
- Find or install a python package, aka python lookup
- CPP11 (CMake > 3.0 now provides target_compile_feature to do this)
- [[Cross vendor
isnan
]] - Cross vendor aligned allocations
- Getting version and git hashes
- Python virtual environment
- [[find_package for python modules]]
- Code-signing for MacOS/X
- Target for copying files and directories
- Testing CMake scripts
- From cached variables to command-line arguments
- Environment scripts
- Extra FindSomething
- Installing python packages built by a CMake project
- Creating python packages
- Adding the Catch testing framework