https://github.com/nazavode/cmake-depot
A collection of useful CMake files meant to be cherry-picked as needed.
https://github.com/nazavode/cmake-depot
build cmake cmake-scripts
Last synced: 4 months ago
JSON representation
A collection of useful CMake files meant to be cherry-picked as needed.
- Host: GitHub
- URL: https://github.com/nazavode/cmake-depot
- Owner: nazavode
- License: apache-2.0
- Created: 2019-10-18T22:38:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-13T16:44:27.000Z (over 6 years ago)
- Last Synced: 2025-01-13T05:27:57.255Z (over 1 year ago)
- Topics: build, cmake, cmake-scripts
- Language: CMake
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmake-depot
A collection of useful `CMake` files meant to be cherry-picked as needed.
## What's inside
### [./cache](cache)
Cache initialization files, meant to be used at generation phase via `cmake -C `, that set `CMAKE__FLAGS_`variables according to a particular build (e.g.: [optimzation for the build host](cache/native.cmake)).
### [./cmake](cmake)
| File name | Content |
| ------------- | ------------- |
| `Find*.cmake` | Find a dependency. Regular `CMake` finder, should work like any other builtin finder script. |
| `Vendor*.cmake` | Vendor an external source tree if needed. Looks for the dependency on the system (via `find_package`) and, if not found, updates a `git submodule` and add its content via `add_subdirectory`. |
| `Fn*.cmake` | Provides a `CMake` function. |