diff options
author | Brad King <brad.king@kitware.com> | 2024-02-16 14:22:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-02-16 14:22:32 (GMT) |
commit | d8fd8c2cb11f6f0b3d91d1204dd564654d0c303f (patch) | |
tree | 206246cfcbf1deab17b66c80ce6b6bd0efa71aa6 /Tests/RunCMake/CXXModules/examples/depchain-modules-json-file/pre-rebuild.cmake | |
parent | 2808c49d829e0e9ef96b035c18761f70c7767357 (diff) | |
parent | 60a8736378bbef58688c8a3dbfb2d0bce6aa1b6b (diff) | |
download | CMake-d8fd8c2cb11f6f0b3d91d1204dd564654d0c303f.zip CMake-d8fd8c2cb11f6f0b3d91d1204dd564654d0c303f.tar.gz CMake-d8fd8c2cb11f6f0b3d91d1204dd564654d0c303f.tar.bz2 |
Merge topic 'cxxmodules-visibility-change-rebuild' into release-3.28
60a8736378 cmNinjaTargetGenerator: scanning depends on the module metadata
52036ce090 Tests/CXXModules: test that objects depend on dependent modules json files
9a45c9fbd5 cmNinjaTargetGenerator: use `emplace_back` for scanning deps
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9247
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}") |