diff options
author | Brad King <brad.king@kitware.com> | 2020-06-15 18:33:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-16 12:03:35 (GMT) |
commit | 64a8587332d1287757487f56f6d9bbeec095369f (patch) | |
tree | b70e73f6b234f0b2e9cc64a4069390fc4acf2210 /Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake | |
parent | 6f224a065c7e0627fca2d3026fc507663b851eb4 (diff) | |
download | CMake-64a8587332d1287757487f56f6d9bbeec095369f.zip CMake-64a8587332d1287757487f56f6d9bbeec095369f.tar.gz CMake-64a8587332d1287757487f56f6d9bbeec095369f.tar.bz2 |
Tests: Factor out RunCMake.GenEx-HOST_LINK test
Move the `HOST_LINK` cases out of `RunCMake.GeneratorExpression`.
Diffstat (limited to 'Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake new file mode 100644 index 0000000..329a7c6 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake @@ -0,0 +1,17 @@ +include(RunCMake) + +run_cmake(HOST_LINK-add_custom_target) +run_cmake(HOST_LINK-add_custom_command) +run_cmake(HOST_LINK-install) +run_cmake(HOST_LINK-add_executable) +run_cmake(HOST_LINK-add_library) +run_cmake(HOST_LINK-add_test) +run_cmake(HOST_LINK-target_sources) +run_cmake(HOST_LINK-target_compile_definitions) +run_cmake(HOST_LINK-target_compile_options) +run_cmake(HOST_LINK-target_include_directories) +run_cmake(HOST_LINK-target_link_libraries) +run_cmake(HOST_LINK-target_link_directories) +if(RunCMake_GENERATOR MATCHES "(Ninja|Makefile)") + run_cmake(HOST_LINK-link_depends) +endif() |