summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
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
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')
-rw-r--r--Tests/RunCMake/CMakeLists.txt1
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/CMakeLists.txt3
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-install-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-install-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-install.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-result.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources-result.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-stderr.txt (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources-stderr.txt)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources.cmake (renamed from Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources.cmake)0
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake17
-rw-r--r--Tests/RunCMake/GenEx-HOST_LINK/empty.c0
-rw-r--r--Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake15
44 files changed, 21 insertions, 15 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 8d7a13b..e66e325 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -223,6 +223,7 @@ add_RunCMake_test(GenEx-COMPILE_LANGUAGE)
add_RunCMake_test(GenEx-COMPILE_LANG_AND_ID)
add_RunCMake_test(GenEx-LINK_LANGUAGE)
add_RunCMake_test(GenEx-LINK_LANG_AND_ID)
+add_RunCMake_test(GenEx-HOST_LINK)
add_RunCMake_test(GeneratorExpression)
add_RunCMake_test(GeneratorInstance)
add_RunCMake_test(GeneratorPlatform)
diff --git a/Tests/RunCMake/GenEx-HOST_LINK/CMakeLists.txt b/Tests/RunCMake/GenEx-HOST_LINK/CMakeLists.txt
new file mode 100644
index 0000000..b646c4a
--- /dev/null
+++ b/Tests/RunCMake/GenEx-HOST_LINK/CMakeLists.txt
@@ -0,0 +1,3 @@
+cmake_minimum_required(VERSION 3.18)
+project(${RunCMake_TEST} NONE)
+include(${RunCMake_TEST}.cmake)
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-stderr.txt
index 5ad41b9..5ad41b9 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command.cmake
index 4d6e305..4d6e305 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_command.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-stderr.txt
index c44202a..c44202a 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target.cmake
index eec072a..eec072a 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_custom_target.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt
index b395515..b395515 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable.cmake
index c9f74a5..c9f74a5 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_executable.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-stderr.txt
index 4bd27be..4bd27be 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library.cmake
index 44135af..44135af 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_library.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt
index 012ad21..012ad21 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test.cmake
index 4b472af..4b472af 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-add_test.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-install-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-install-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-install-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-stderr.txt
index c265ec4..c265ec4 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-install-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-install.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install.cmake
index b4dff68..b4dff68 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-install.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-stderr.txt
index 24b8b82..24b8b82 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends.cmake
index 0402f43..0402f43 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-link_depends.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-stderr.txt
index 6ab3c14..6ab3c14 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions.cmake
index f6c130d..f6c130d 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_definitions.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-stderr.txt
index 0f5bbc3..0f5bbc3 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options.cmake
index 53afea1..53afea1 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_compile_options.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-stderr.txt
index 9a2634a..9a2634a 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories.cmake
index aff1009..aff1009 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_include_directories.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-stderr.txt
index 5225a52..5225a52 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories.cmake
index 97488ee..97488ee 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_directories.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-stderr.txt
index 6c4441f..6c4441f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake
index d74c92d..d74c92d 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_link_libraries.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-result.txt
index d00491f..d00491f 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources-result.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-result.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-stderr.txt
index 0e25568..0e25568 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources-stderr.txt
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-stderr.txt
diff --git a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources.cmake
index ea7bf55..ea7bf55 100644
--- a/Tests/RunCMake/GeneratorExpression/HOST_LINK-target_sources.cmake
+++ b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources.cmake
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()
diff --git a/Tests/RunCMake/GenEx-HOST_LINK/empty.c b/Tests/RunCMake/GenEx-HOST_LINK/empty.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Tests/RunCMake/GenEx-HOST_LINK/empty.c
diff --git a/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake b/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
index 54fb5cb..dfe6695 100644
--- a/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
+++ b/Tests/RunCMake/GeneratorExpression/RunCMakeTest.cmake
@@ -23,21 +23,6 @@ run_cmake(NonValidTarget-TARGET_BUNDLE_DIR)
run_cmake(NonValidTarget-TARGET_BUNDLE_CONTENT_DIR)
run_cmake(NonValidTarget-TARGET_PROPERTY)
run_cmake(NonValidTarget-TARGET_POLICY)
-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()
run_cmake(DEVICE_LINK-add_custom_target)
run_cmake(DEVICE_LINK-add_custom_command)
run_cmake(DEVICE_LINK-install)