You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lib
96dbec27e0
|
2 years ago | |
---|---|---|
.. | ||
hello_world | 2 years ago | |
CMakeLists.txt | 2 years ago | |
PackagesList.cmake | 2 years ago | |
ProjectName.cmake | 2 years ago | |
README | 2 years ago | |
TPLsList.cmake | 2 years ago |
README
This is a simple CMake project shows how to have a default raw CMake build
system and secondary TriBITS build system sit side-by-side.
To configure this, you just create a build dir as:
$ cd $SOME_BASE_DIR
$ mkdir BUILD
$ cd BUILD
and then configure, build, and test with the raw CMake build system, use:
$ cmake $TRIBITS_DIR/doc/example/RawAndTribitsHelloWorld
$ make
$ ctest
To configure, build, and test with the TriBITS CMake build system, use:
$ cmake \
-DRawAndTribitsHelloWorld_TRIBITS_DIR=${TRIBITS_DIR} \
$TRIBITS_DIR/doc/example/RawAndTribitsHelloWorld
$ make
$ ctest