diff options
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/depchain-modules-json-file/pre-rebuild.cmake')
-rw-r--r-- | Tests/RunCMake/CXXModules/examples/depchain-modules-json-file/pre-rebuild.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/depchain-modules-json-file/pre-rebuild.cmake b/Tests/RunCMake/CXXModules/examples/depchain-modules-json-file/pre-rebuild.cmake new file mode 100644 index 0000000..9c3f2ff --- /dev/null +++ b/Tests/RunCMake/CXXModules/examples/depchain-modules-json-file/pre-rebuild.cmake @@ -0,0 +1,7 @@ +if (RunCMake_GENERATOR_IS_MULTI_CONFIG) + set(modules_json_path "CMakeFiles/depchain_with_modules_json_file.dir/Debug/CXXModules.json") +else () + set(modules_json_path "CMakeFiles/depchain_with_modules_json_file.dir/CXXModules.json") +endif () + +file(TOUCH_NOCREATE "${RunCMake_TEST_BINARY_DIR}/${modules_json_path}") |