cmake/tribits/examples/RawAndTribitsHelloWorld/hello_world/CMakeLists.tribits.cmake
raw| 1 | tribits_package(HelloWorld) |
| 2 | tribits_add_library(hello_world_lib |
| 3 | HEADERS hello_world_lib.hpp SOURCES hello_world_lib.cpp) |
| 4 | tribits_add_executable(hello_world NOEXEPREFIX SOURCES hello_world_main.cpp |
| 5 | INSTALLABLE) |
| 6 | tribits_add_test(hello_world NOEXEPREFIX PASS_REGULAR_EXPRESSION "Hello World") |
| 7 | tribits_add_executable_and_test(unit_tests SOURCES hello_world_unit_tests.cpp |
| 8 | PASS_REGULAR_EXPRESSION "All unit tests passed") |
| 9 | tribits_package_postprocess() |