summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-06-15 18:33:09 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-16 12:03:35 (GMT)
commit64a8587332d1287757487f56f6d9bbeec095369f (patch)
treeb70e73f6b234f0b2e9cc64a4069390fc4acf2210 /Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake
parent6f224a065c7e0627fca2d3026fc507663b851eb4 (diff)
downloadCMake-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.cmake17
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()