diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2020-12-21 22:02:12 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2020-12-23 14:47:56 (GMT) |
commit | 3eacf857e38d0835c629d7443f333de79bd13b81 (patch) | |
tree | 9722bc5e2b42f61e572cc1e96f01d01533580aba /Tests/RunCMake/BuildDepends/CustomCommandDepfile.step1.cmake | |
parent | cfd8a5ac1f443725342517ddbaee51692d8d0324 (diff) | |
download | CMake-3eacf857e38d0835c629d7443f333de79bd13b81.zip CMake-3eacf857e38d0835c629d7443f333de79bd13b81.tar.gz CMake-3eacf857e38d0835c629d7443f333de79bd13b81.tar.bz2 |
Tests: Add case for DEPFILE in add_custom_command
Issue: #20286, #21415
Diffstat (limited to 'Tests/RunCMake/BuildDepends/CustomCommandDepfile.step1.cmake')
-rw-r--r-- | Tests/RunCMake/BuildDepends/CustomCommandDepfile.step1.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/BuildDepends/CustomCommandDepfile.step1.cmake b/Tests/RunCMake/BuildDepends/CustomCommandDepfile.step1.cmake new file mode 100644 index 0000000..0dfe78e --- /dev/null +++ b/Tests/RunCMake/BuildDepends/CustomCommandDepfile.step1.cmake @@ -0,0 +1,10 @@ +file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}/DepfileSubdir") +file(REMOVE "${RunCMake_TEST_BINARY_DIR}/../sublib.c") +file(REMOVE "${RunCMake_TEST_BINARY_DIR}/step3.timestamp") + +file(TOUCH "${RunCMake_TEST_BINARY_DIR}/topccdep.txt") +file(TOUCH "${RunCMake_TEST_BINARY_DIR}/topexedep.txt") +file(TOUCH "${RunCMake_TEST_BINARY_DIR}/toplibdep.txt") +file(TOUCH "${RunCMake_TEST_BINARY_DIR}/DepfileSubdir/subccdep.txt") +file(TOUCH "${RunCMake_TEST_BINARY_DIR}/DepfileSubdir/subexedep.txt") +file(TOUCH "${RunCMake_TEST_BINARY_DIR}/DepfileSubdir/sublibdep.txt") |