https://github.com/bast/cmake-example
Example project which demonstrates various CMake features.
https://github.com/bast/cmake-example
cmake
Last synced: 2 months ago
JSON representation
Example project which demonstrates various CMake features.
- Host: GitHub
- URL: https://github.com/bast/cmake-example
- Owner: bast
- License: bsd-3-clause
- Created: 2014-11-30T13:36:32.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T18:28:58.000Z (about 5 years ago)
- Last Synced: 2025-09-09T13:56:46.151Z (7 months ago)
- Topics: cmake
- Language: CMake
- Homepage:
- Size: 30.3 KB
- Stars: 141
- Watchers: 9
- Forks: 52
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cmake - cmake-example - Example project which demonstrates various CMake features. [```[BSD3]```][BSD-3-Clause] (Examples / Templates)
README
[](../master/LICENSE)
# CMake example
Example project which demonstrates various CMake features.
- [CDash testing dashboard](http://my.cdash.org/index.php?project=cmake-example) (probably empty but you can submit your test result to it)
## How to build this demo
```
cmake -H. -Bbuild -DCMAKE_INSTALL_PREFIX:PATH=/tmp/foo
cd build
cmake --build .
ctest
cmake --build . --target install
```