diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-07 19:18:54 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-02-07 19:18:54 (GMT) |
commit | 67102d3252f744987762ae19c4bfffeb11cdd46e (patch) | |
tree | 90714a5acbd052779b36cf56940ebf2032068bbf /Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake | |
parent | ad17c37d345cd143a131e4b5f26196e0e749ec0e (diff) | |
download | CMake-67102d3252f744987762ae19c4bfffeb11cdd46e.zip CMake-67102d3252f744987762ae19c4bfffeb11cdd46e.tar.gz CMake-67102d3252f744987762ae19c4bfffeb11cdd46e.tar.bz2 |
Ninja Multi-Config: Add support for DEPFILE option in add_custom_command()
And give other generators a path forward to add support in the future.
Diffstat (limited to 'Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake b/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake index 827e560..3626a29 100644 --- a/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake +++ b/Tests/RunCMake/NinjaMultiConfig/RunCMakeTest.cmake @@ -224,6 +224,10 @@ run_ninja(CustomCommandsAndTargets release-postbuild build-Release.ninja SubdirP run_cmake_build(CustomCommandsAndTargets debug-targetpostbuild Debug TopTargetPostBuild) run_ninja(CustomCommandsAndTargets release-targetpostbuild build-Release.ninja SubdirTargetPostBuild) +unset(RunCMake_TEST_BINARY_DIR) + +run_cmake(CustomCommandDepfile) + set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/PostfixAndLocation-build) set(RunCMake_TEST_OPTIONS "-DCMAKE_CONFIGURATION_TYPES=Debug\\;Release;-DCMAKE_NMC_CROSS_CONFIGS=all") run_cmake_configure(PostfixAndLocation) |