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.
19 lines
618 B
19 lines
618 B
set(CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API "3c375311-a3c9-4396-a187-3227ef642046")
|
|
|
|
if (NOT EXISTS "${CMake_TEST_MODULE_COMPILATION_RULES}")
|
|
message(FATAL_ERROR
|
|
"The `CMake_TEST_MODULE_COMPILATION_RULES` file must be specified "
|
|
"for these tests to operate.")
|
|
endif ()
|
|
|
|
include("${CMake_TEST_MODULE_COMPILATION_RULES}")
|
|
|
|
if (NOT CMake_TEST_CXXModules_UUID STREQUAL "a246741c-d067-4019-a8fb-3d16b0c9d1d3")
|
|
message(FATAL_ERROR
|
|
"The compilation rule file needs updated for changes in the test "
|
|
"suite. Please see the history for what needs to be updated.")
|
|
endif ()
|
|
|
|
include(CTest)
|
|
enable_testing()
|