summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-04-26 12:35:11 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-26 12:46:11 (GMT)
commit434f5cef657a001bcfbaa5e8b5c4fba80215efb5 (patch)
treef6b91cfe663b4921dd5090bd1d63b691ec7c1346 /Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
parent6d1be6e3826a98ffbcd3bf7d951024e34d69e452 (diff)
downloadCMake-434f5cef657a001bcfbaa5e8b5c4fba80215efb5.zip
CMake-434f5cef657a001bcfbaa5e8b5c4fba80215efb5.tar.gz
CMake-434f5cef657a001bcfbaa5e8b5c4fba80215efb5.tar.bz2
Tests: Add case for IMPLICIT_DEPENDS in custom target
Use the `IMPLICIT_DEPENDS` option of `add_custom_command` and place the command in a custom target. Verify that `INCLUDE_DIRECTORIES` of that custom target are honored. This is a case that was not really designed to work but happens to work, is useful, and makes sense. Add a test case make sure it continues to work. Issue: #16830
Diffstat (limited to 'Tests/RunCMake/BuildDepends/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/BuildDepends/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
index 736ecff..9941c70 100644
--- a/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
+++ b/Tests/RunCMake/BuildDepends/RunCMakeTest.cmake
@@ -44,6 +44,7 @@ run_BuildDepends(Custom-Symbolic-and-Byproduct)
run_BuildDepends(Custom-Always)
if(RunCMake_GENERATOR MATCHES "Make")
+ run_BuildDepends(MakeCustomIncludes)
if(NOT "${RunCMake_BINARY_DIR}" STREQUAL "${RunCMake_SOURCE_DIR}")
run_BuildDepends(MakeInProjectOnly)
endif()