summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/ninja-cmp0154-build-check.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/ninja-cmp0154-build-check.cmake')
-rw-r--r--Tests/RunCMake/CXXModules/examples/ninja-cmp0154-build-check.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/ninja-cmp0154-build-check.cmake b/Tests/RunCMake/CXXModules/examples/ninja-cmp0154-build-check.cmake
new file mode 100644
index 0000000..6c4812b
--- /dev/null
+++ b/Tests/RunCMake/CXXModules/examples/ninja-cmp0154-build-check.cmake
@@ -0,0 +1,4 @@
+if (EXISTS "${RunCMake_TEST_BINARY_DIR}/importable.cxx")
+ list(APPEND RunCMake_TEST_FAILED
+ "The `importable.cxx` file should not be generated to compile `unrelated`'s object")
+endif ()