adb6bf82b0
The 'testing' CMake test builds a project that uses add_test. This strengthens the test to actually run CTest on the project build tree after building it.
6 lines
108 B
CMake
6 lines
108 B
CMake
#
|
|
# Add test
|
|
#
|
|
ADD_EXECUTABLE(testing2 testing2.cxx)
|
|
ADD_TEST(testing.2 ${Testing_BINARY_DIR}/bin/testing2)
|