From a95cbf389015ed71443921e5815369cff30349ee Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 25 Jun 2021 11:29:27 -0400 Subject: Tests: Shorten RunCMake.GenEx-* case names Reduce the length of the longest path on disk needed by the tests. --- .../COMPILE_LANGUAGE-TARGET_PROPERTY.cmake | 17 ---------- .../COMPILE_LANGUAGE-add_custom_command-result.txt | 1 - .../COMPILE_LANGUAGE-add_custom_command-stderr.txt | 10 ------ .../COMPILE_LANGUAGE-add_custom_command.cmake | 4 --- .../COMPILE_LANGUAGE-add_custom_target-result.txt | 1 - .../COMPILE_LANGUAGE-add_custom_target-stderr.txt | 10 ------ .../COMPILE_LANGUAGE-add_custom_target.cmake | 3 -- .../COMPILE_LANGUAGE-add_executable-result.txt | 1 - .../COMPILE_LANGUAGE-add_executable-stderr.txt | 10 ------ .../COMPILE_LANGUAGE-add_executable.cmake | 1 - .../COMPILE_LANGUAGE-add_library-result.txt | 1 - .../COMPILE_LANGUAGE-add_library-stderr.txt | 10 ------ .../COMPILE_LANGUAGE-add_library.cmake | 1 - .../COMPILE_LANGUAGE-add_test-result.txt | 1 - .../COMPILE_LANGUAGE-add_test-stderr.txt | 10 ------ .../COMPILE_LANGUAGE-add_test.cmake | 5 --- .../COMPILE_LANGUAGE-install-result.txt | 1 - .../COMPILE_LANGUAGE-install-stderr.txt | 8 ----- .../COMPILE_LANGUAGE-install.cmake | 5 --- .../COMPILE_LANGUAGE-target_sources-result.txt | 1 - .../COMPILE_LANGUAGE-target_sources-stderr.txt | 10 ------ .../COMPILE_LANGUAGE-target_sources.cmake | 2 -- .../COMPILE_LANGUAGE-unknown-lang.cmake | 4 --- .../GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake | 18 +++++------ .../GenEx-COMPILE_LANGUAGE/TARGET_PROPERTY.cmake | 17 ++++++++++ .../add_custom_command-result.txt | 1 + .../add_custom_command-stderr.txt | 10 ++++++ .../add_custom_command.cmake | 4 +++ .../add_custom_target-result.txt | 1 + .../add_custom_target-stderr.txt | 10 ++++++ .../GenEx-COMPILE_LANGUAGE/add_custom_target.cmake | 3 ++ .../add_executable-result.txt | 1 + .../add_executable-stderr.txt | 10 ++++++ .../GenEx-COMPILE_LANGUAGE/add_executable.cmake | 1 + .../GenEx-COMPILE_LANGUAGE/add_library-result.txt | 1 + .../GenEx-COMPILE_LANGUAGE/add_library-stderr.txt | 10 ++++++ .../GenEx-COMPILE_LANGUAGE/add_library.cmake | 1 + .../GenEx-COMPILE_LANGUAGE/add_test-result.txt | 1 + .../GenEx-COMPILE_LANGUAGE/add_test-stderr.txt | 10 ++++++ .../RunCMake/GenEx-COMPILE_LANGUAGE/add_test.cmake | 5 +++ .../GenEx-COMPILE_LANGUAGE/install-result.txt | 1 + .../GenEx-COMPILE_LANGUAGE/install-stderr.txt | 8 +++++ .../RunCMake/GenEx-COMPILE_LANGUAGE/install.cmake | 5 +++ .../target_sources-result.txt | 1 + .../target_sources-stderr.txt | 10 ++++++ .../GenEx-COMPILE_LANGUAGE/target_sources.cmake | 2 ++ .../GenEx-COMPILE_LANGUAGE/unknown-lang.cmake | 4 +++ .../COMPILE_LANG_AND_ID-TARGET_PROPERTY.cmake | 17 ---------- ...MPILE_LANG_AND_ID-add_custom_command-result.txt | 1 - ...MPILE_LANG_AND_ID-add_custom_command-stderr.txt | 8 ----- .../COMPILE_LANG_AND_ID-add_custom_command.cmake | 4 --- ...OMPILE_LANG_AND_ID-add_custom_target-result.txt | 1 - ...OMPILE_LANG_AND_ID-add_custom_target-stderr.txt | 11 ------- .../COMPILE_LANG_AND_ID-add_custom_target.cmake | 4 --- .../COMPILE_LANG_AND_ID-add_executable-result.txt | 1 - .../COMPILE_LANG_AND_ID-add_executable-stderr.txt | 11 ------- .../COMPILE_LANG_AND_ID-add_executable.cmake | 5 --- .../COMPILE_LANG_AND_ID-add_library-result.txt | 1 - .../COMPILE_LANG_AND_ID-add_library-stderr.txt | 11 ------- .../COMPILE_LANG_AND_ID-add_library.cmake | 2 -- .../COMPILE_LANG_AND_ID-add_test-result.txt | 1 - .../COMPILE_LANG_AND_ID-add_test-stderr.txt | 11 ------- .../COMPILE_LANG_AND_ID-add_test.cmake | 5 --- .../COMPILE_LANG_AND_ID-install-result.txt | 1 - .../COMPILE_LANG_AND_ID-install-stderr.txt | 9 ------ .../COMPILE_LANG_AND_ID-install.cmake | 5 --- .../COMPILE_LANG_AND_ID-target_sources-result.txt | 1 - .../COMPILE_LANG_AND_ID-target_sources-stderr.txt | 8 ----- .../COMPILE_LANG_AND_ID-target_sources.cmake | 2 -- .../COMPILE_LANG_AND_ID-unknown-lang.cmake | 4 --- .../GenEx-COMPILE_LANG_AND_ID/RunCMakeTest.cmake | 18 +++++------ .../TARGET_PROPERTY.cmake | 17 ++++++++++ .../add_custom_command-result.txt | 1 + .../add_custom_command-stderr.txt | 8 +++++ .../add_custom_command.cmake | 4 +++ .../add_custom_target-result.txt | 1 + .../add_custom_target-stderr.txt | 11 +++++++ .../add_custom_target.cmake | 4 +++ .../add_executable-result.txt | 1 + .../add_executable-stderr.txt | 11 +++++++ .../GenEx-COMPILE_LANG_AND_ID/add_executable.cmake | 5 +++ .../add_library-result.txt | 1 + .../add_library-stderr.txt | 11 +++++++ .../GenEx-COMPILE_LANG_AND_ID/add_library.cmake | 2 ++ .../GenEx-COMPILE_LANG_AND_ID/add_test-result.txt | 1 + .../GenEx-COMPILE_LANG_AND_ID/add_test-stderr.txt | 11 +++++++ .../GenEx-COMPILE_LANG_AND_ID/add_test.cmake | 5 +++ .../GenEx-COMPILE_LANG_AND_ID/install-result.txt | 1 + .../GenEx-COMPILE_LANG_AND_ID/install-stderr.txt | 9 ++++++ .../GenEx-COMPILE_LANG_AND_ID/install.cmake | 5 +++ .../target_sources-result.txt | 1 + .../target_sources-stderr.txt | 8 +++++ .../GenEx-COMPILE_LANG_AND_ID/target_sources.cmake | 2 ++ .../GenEx-COMPILE_LANG_AND_ID/unknown-lang.cmake | 4 +++ .../DEVICE_LINK-add_custom_command-result.txt | 1 - .../DEVICE_LINK-add_custom_command-stderr.txt | 9 ------ .../DEVICE_LINK-add_custom_command.cmake | 4 --- .../DEVICE_LINK-add_custom_target-result.txt | 1 - .../DEVICE_LINK-add_custom_target-stderr.txt | 9 ------ .../DEVICE_LINK-add_custom_target.cmake | 3 -- .../DEVICE_LINK-add_executable-result.txt | 1 - .../DEVICE_LINK-add_executable-stderr.txt | 9 ------ .../DEVICE_LINK-add_executable.cmake | 1 - .../DEVICE_LINK-add_library-result.txt | 1 - .../DEVICE_LINK-add_library-stderr.txt | 9 ------ .../DEVICE_LINK-add_library.cmake | 1 - .../DEVICE_LINK-add_test-result.txt | 1 - .../DEVICE_LINK-add_test-stderr.txt | 9 ------ .../GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake | 5 --- .../DEVICE_LINK-install-result.txt | 1 - .../DEVICE_LINK-install-stderr.txt | 7 ---- .../GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake | 5 --- .../DEVICE_LINK-link_depends-result.txt | 1 - .../DEVICE_LINK-link_depends-stderr.txt | 7 ---- .../DEVICE_LINK-link_depends.cmake | 7 ---- ...VICE_LINK-target_compile_definitions-result.txt | 1 - ...VICE_LINK-target_compile_definitions-stderr.txt | 9 ------ .../DEVICE_LINK-target_compile_definitions.cmake | 4 --- .../DEVICE_LINK-target_compile_options-result.txt | 1 - .../DEVICE_LINK-target_compile_options-stderr.txt | 9 ------ .../DEVICE_LINK-target_compile_options.cmake | 4 --- ...VICE_LINK-target_include_directories-result.txt | 1 - ...VICE_LINK-target_include_directories-stderr.txt | 9 ------ .../DEVICE_LINK-target_include_directories.cmake | 4 --- .../DEVICE_LINK-target_link_directories-result.txt | 1 - .../DEVICE_LINK-target_link_directories-stderr.txt | 9 ------ .../DEVICE_LINK-target_link_directories.cmake | 7 ---- .../DEVICE_LINK-target_link_libraries-result.txt | 1 - .../DEVICE_LINK-target_link_libraries-stderr.txt | 9 ------ .../DEVICE_LINK-target_link_libraries.cmake | 7 ---- .../DEVICE_LINK-target_sources-result.txt | 1 - .../DEVICE_LINK-target_sources-stderr.txt | 9 ------ .../DEVICE_LINK-target_sources.cmake | 2 -- .../DEVICE_LINK-try_compile.cmake | 9 ------ .../RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake | 28 ++++++++-------- .../add_custom_command-result.txt | 1 + .../add_custom_command-stderr.txt | 9 ++++++ .../GenEx-DEVICE_LINK/add_custom_command.cmake | 4 +++ .../GenEx-DEVICE_LINK/add_custom_target-result.txt | 1 + .../GenEx-DEVICE_LINK/add_custom_target-stderr.txt | 9 ++++++ .../GenEx-DEVICE_LINK/add_custom_target.cmake | 3 ++ .../GenEx-DEVICE_LINK/add_executable-result.txt | 1 + .../GenEx-DEVICE_LINK/add_executable-stderr.txt | 9 ++++++ .../GenEx-DEVICE_LINK/add_executable.cmake | 1 + .../GenEx-DEVICE_LINK/add_library-result.txt | 1 + .../GenEx-DEVICE_LINK/add_library-stderr.txt | 9 ++++++ Tests/RunCMake/GenEx-DEVICE_LINK/add_library.cmake | 1 + .../RunCMake/GenEx-DEVICE_LINK/add_test-result.txt | 1 + .../RunCMake/GenEx-DEVICE_LINK/add_test-stderr.txt | 9 ++++++ Tests/RunCMake/GenEx-DEVICE_LINK/add_test.cmake | 5 +++ .../RunCMake/GenEx-DEVICE_LINK/install-result.txt | 1 + .../RunCMake/GenEx-DEVICE_LINK/install-stderr.txt | 7 ++++ Tests/RunCMake/GenEx-DEVICE_LINK/install.cmake | 5 +++ .../GenEx-DEVICE_LINK/link_depends-result.txt | 1 + .../GenEx-DEVICE_LINK/link_depends-stderr.txt | 7 ++++ .../RunCMake/GenEx-DEVICE_LINK/link_depends.cmake | 7 ++++ .../target_compile_definitions-result.txt | 1 + .../target_compile_definitions-stderr.txt | 9 ++++++ .../target_compile_definitions.cmake | 4 +++ .../target_compile_options-result.txt | 1 + .../target_compile_options-stderr.txt | 9 ++++++ .../GenEx-DEVICE_LINK/target_compile_options.cmake | 4 +++ .../target_include_directories-result.txt | 1 + .../target_include_directories-stderr.txt | 9 ++++++ .../target_include_directories.cmake | 4 +++ .../target_link_directories-result.txt | 1 + .../target_link_directories-stderr.txt | 9 ++++++ .../target_link_directories.cmake | 7 ++++ .../target_link_libraries-result.txt | 1 + .../target_link_libraries-stderr.txt | 9 ++++++ .../GenEx-DEVICE_LINK/target_link_libraries.cmake | 7 ++++ .../GenEx-DEVICE_LINK/target_sources-result.txt | 1 + .../GenEx-DEVICE_LINK/target_sources-stderr.txt | 9 ++++++ .../GenEx-DEVICE_LINK/target_sources.cmake | 2 ++ Tests/RunCMake/GenEx-DEVICE_LINK/try_compile.cmake | 9 ++++++ .../HOST_LINK-add_custom_command-result.txt | 1 - .../HOST_LINK-add_custom_command-stderr.txt | 9 ------ .../HOST_LINK-add_custom_command.cmake | 4 --- .../HOST_LINK-add_custom_target-result.txt | 1 - .../HOST_LINK-add_custom_target-stderr.txt | 9 ------ .../HOST_LINK-add_custom_target.cmake | 3 -- .../HOST_LINK-add_executable-result.txt | 1 - .../HOST_LINK-add_executable-stderr.txt | 9 ------ .../GenEx-HOST_LINK/HOST_LINK-add_executable.cmake | 1 - .../HOST_LINK-add_library-result.txt | 1 - .../HOST_LINK-add_library-stderr.txt | 9 ------ .../GenEx-HOST_LINK/HOST_LINK-add_library.cmake | 1 - .../GenEx-HOST_LINK/HOST_LINK-add_test-result.txt | 1 - .../GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt | 9 ------ .../GenEx-HOST_LINK/HOST_LINK-add_test.cmake | 5 --- .../GenEx-HOST_LINK/HOST_LINK-install-result.txt | 1 - .../GenEx-HOST_LINK/HOST_LINK-install-stderr.txt | 7 ---- .../GenEx-HOST_LINK/HOST_LINK-install.cmake | 5 --- .../HOST_LINK-link_depends-result.txt | 1 - .../HOST_LINK-link_depends-stderr.txt | 7 ---- .../GenEx-HOST_LINK/HOST_LINK-link_depends.cmake | 7 ---- ...HOST_LINK-target_compile_definitions-result.txt | 1 - ...HOST_LINK-target_compile_definitions-stderr.txt | 9 ------ .../HOST_LINK-target_compile_definitions.cmake | 4 --- .../HOST_LINK-target_compile_options-result.txt | 1 - .../HOST_LINK-target_compile_options-stderr.txt | 9 ------ .../HOST_LINK-target_compile_options.cmake | 4 --- ...HOST_LINK-target_include_directories-result.txt | 1 - ...HOST_LINK-target_include_directories-stderr.txt | 9 ------ .../HOST_LINK-target_include_directories.cmake | 4 --- .../HOST_LINK-target_link_directories-result.txt | 1 - .../HOST_LINK-target_link_directories-stderr.txt | 9 ------ .../HOST_LINK-target_link_directories.cmake | 7 ---- .../HOST_LINK-target_link_libraries-result.txt | 1 - .../HOST_LINK-target_link_libraries-stderr.txt | 9 ------ .../HOST_LINK-target_link_libraries.cmake | 7 ---- .../HOST_LINK-target_sources-result.txt | 1 - .../HOST_LINK-target_sources-stderr.txt | 9 ------ .../GenEx-HOST_LINK/HOST_LINK-target_sources.cmake | 2 -- .../GenEx-HOST_LINK/HOST_LINK-try_compile.cmake | 9 ------ Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake | 28 ++++++++-------- .../GenEx-HOST_LINK/add_custom_command-result.txt | 1 + .../GenEx-HOST_LINK/add_custom_command-stderr.txt | 9 ++++++ .../GenEx-HOST_LINK/add_custom_command.cmake | 4 +++ .../GenEx-HOST_LINK/add_custom_target-result.txt | 1 + .../GenEx-HOST_LINK/add_custom_target-stderr.txt | 9 ++++++ .../GenEx-HOST_LINK/add_custom_target.cmake | 3 ++ .../GenEx-HOST_LINK/add_executable-result.txt | 1 + .../GenEx-HOST_LINK/add_executable-stderr.txt | 9 ++++++ .../RunCMake/GenEx-HOST_LINK/add_executable.cmake | 1 + .../GenEx-HOST_LINK/add_library-result.txt | 1 + .../GenEx-HOST_LINK/add_library-stderr.txt | 9 ++++++ Tests/RunCMake/GenEx-HOST_LINK/add_library.cmake | 1 + Tests/RunCMake/GenEx-HOST_LINK/add_test-result.txt | 1 + Tests/RunCMake/GenEx-HOST_LINK/add_test-stderr.txt | 9 ++++++ Tests/RunCMake/GenEx-HOST_LINK/add_test.cmake | 5 +++ Tests/RunCMake/GenEx-HOST_LINK/install-result.txt | 1 + Tests/RunCMake/GenEx-HOST_LINK/install-stderr.txt | 7 ++++ Tests/RunCMake/GenEx-HOST_LINK/install.cmake | 5 +++ .../GenEx-HOST_LINK/link_depends-result.txt | 1 + .../GenEx-HOST_LINK/link_depends-stderr.txt | 7 ++++ Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake | 7 ++++ .../target_compile_definitions-result.txt | 1 + .../target_compile_definitions-stderr.txt | 9 ++++++ .../target_compile_definitions.cmake | 4 +++ .../target_compile_options-result.txt | 1 + .../target_compile_options-stderr.txt | 9 ++++++ .../GenEx-HOST_LINK/target_compile_options.cmake | 4 +++ .../target_include_directories-result.txt | 1 + .../target_include_directories-stderr.txt | 9 ++++++ .../target_include_directories.cmake | 4 +++ .../target_link_directories-result.txt | 1 + .../target_link_directories-stderr.txt | 9 ++++++ .../GenEx-HOST_LINK/target_link_directories.cmake | 7 ++++ .../target_link_libraries-result.txt | 1 + .../target_link_libraries-stderr.txt | 9 ++++++ .../GenEx-HOST_LINK/target_link_libraries.cmake | 7 ++++ .../GenEx-HOST_LINK/target_sources-result.txt | 1 + .../GenEx-HOST_LINK/target_sources-stderr.txt | 9 ++++++ .../RunCMake/GenEx-HOST_LINK/target_sources.cmake | 2 ++ Tests/RunCMake/GenEx-HOST_LINK/try_compile.cmake | 9 ++++++ .../LINK_LANGUAGE-add_custom_command-result.txt | 1 - .../LINK_LANGUAGE-add_custom_command-stderr.txt | 9 ------ .../LINK_LANGUAGE-add_custom_command.cmake | 4 --- .../LINK_LANGUAGE-add_custom_target-result.txt | 1 - .../LINK_LANGUAGE-add_custom_target-stderr.txt | 9 ------ .../LINK_LANGUAGE-add_custom_target.cmake | 3 -- .../LINK_LANGUAGE-add_executable-result.txt | 1 - .../LINK_LANGUAGE-add_executable-stderr.txt | 9 ------ .../LINK_LANGUAGE-add_executable.cmake | 1 - .../LINK_LANGUAGE-add_library-result.txt | 1 - .../LINK_LANGUAGE-add_library-stderr.txt | 9 ------ .../LINK_LANGUAGE-add_library.cmake | 1 - .../LINK_LANGUAGE-add_test-result.txt | 1 - .../LINK_LANGUAGE-add_test-stderr.txt | 9 ------ .../LINK_LANGUAGE-add_test.cmake | 5 --- .../LINK_LANGUAGE-file_generate-result.txt | 1 - .../LINK_LANGUAGE-file_generate-stderr.txt | 9 ------ .../LINK_LANGUAGE-file_generate.cmake | 6 ---- .../LINK_LANGUAGE-install-result.txt | 1 - .../LINK_LANGUAGE-install-stderr.txt | 10 ------ .../LINK_LANGUAGE-install.cmake | 5 --- .../LINK_LANGUAGE-target_sources-result.txt | 1 - .../LINK_LANGUAGE-target_sources-stderr.txt | 9 ------ .../LINK_LANGUAGE-target_sources.cmake | 2 -- .../LINK_LANGUAGE-unknown-lang.cmake | 4 --- .../LINK_LANGUAGE-wrong-usage1-result.txt | 1 - .../LINK_LANGUAGE-wrong-usage1-stderr.txt | 9 ------ .../LINK_LANGUAGE-wrong-usage1.cmake | 4 --- .../LINK_LANGUAGE-wrong-usage2-result.txt | 1 - .../LINK_LANGUAGE-wrong-usage2-stderr.txt | 9 ------ .../LINK_LANGUAGE-wrong-usage2.cmake | 4 --- .../LINK_LANGUAGE-wrong-usage3-result.txt | 1 - .../LINK_LANGUAGE-wrong-usage3-stderr.txt | 9 ------ .../LINK_LANGUAGE-wrong-usage3.cmake | 4 --- .../LINK_LANGUAGE-wrong-usage4-result.txt | 1 - .../LINK_LANGUAGE-wrong-usage4-stderr.txt | 8 ----- .../LINK_LANGUAGE-wrong-usage4.cmake | 7 ---- .../GenEx-LINK_LANGUAGE/RunCMakeTest.cmake | 26 +++++++-------- .../add_custom_command-result.txt | 1 + .../add_custom_command-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/add_custom_command.cmake | 4 +++ .../add_custom_target-result.txt | 1 + .../add_custom_target-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/add_custom_target.cmake | 3 ++ .../GenEx-LINK_LANGUAGE/add_executable-result.txt | 1 + .../GenEx-LINK_LANGUAGE/add_executable-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/add_executable.cmake | 1 + .../GenEx-LINK_LANGUAGE/add_library-result.txt | 1 + .../GenEx-LINK_LANGUAGE/add_library-stderr.txt | 9 ++++++ .../RunCMake/GenEx-LINK_LANGUAGE/add_library.cmake | 1 + .../GenEx-LINK_LANGUAGE/add_test-result.txt | 1 + .../GenEx-LINK_LANGUAGE/add_test-stderr.txt | 9 ++++++ Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test.cmake | 5 +++ .../GenEx-LINK_LANGUAGE/file_generate-result.txt | 1 + .../GenEx-LINK_LANGUAGE/file_generate-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/file_generate.cmake | 6 ++++ .../GenEx-LINK_LANGUAGE/install-result.txt | 1 + .../GenEx-LINK_LANGUAGE/install-stderr.txt | 10 ++++++ Tests/RunCMake/GenEx-LINK_LANGUAGE/install.cmake | 5 +++ .../GenEx-LINK_LANGUAGE/target_sources-result.txt | 1 + .../GenEx-LINK_LANGUAGE/target_sources-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/target_sources.cmake | 2 ++ .../GenEx-LINK_LANGUAGE/unknown-lang.cmake | 4 +++ .../GenEx-LINK_LANGUAGE/wrong-usage1-result.txt | 1 + .../GenEx-LINK_LANGUAGE/wrong-usage1-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/wrong-usage1.cmake | 4 +++ .../GenEx-LINK_LANGUAGE/wrong-usage2-result.txt | 1 + .../GenEx-LINK_LANGUAGE/wrong-usage2-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/wrong-usage2.cmake | 4 +++ .../GenEx-LINK_LANGUAGE/wrong-usage3-result.txt | 1 + .../GenEx-LINK_LANGUAGE/wrong-usage3-stderr.txt | 9 ++++++ .../GenEx-LINK_LANGUAGE/wrong-usage3.cmake | 4 +++ .../GenEx-LINK_LANGUAGE/wrong-usage4-result.txt | 1 + .../GenEx-LINK_LANGUAGE/wrong-usage4-stderr.txt | 8 +++++ .../GenEx-LINK_LANGUAGE/wrong-usage4.cmake | 7 ++++ .../LINK_LANG_AND_ID-add_custom_command-result.txt | 1 - .../LINK_LANG_AND_ID-add_custom_command-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-add_custom_command.cmake | 4 --- .../LINK_LANG_AND_ID-add_custom_target-result.txt | 1 - .../LINK_LANG_AND_ID-add_custom_target-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-add_custom_target.cmake | 4 --- .../LINK_LANG_AND_ID-add_executable-result.txt | 1 - .../LINK_LANG_AND_ID-add_executable-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-add_executable.cmake | 5 --- .../LINK_LANG_AND_ID-add_library-result.txt | 1 - .../LINK_LANG_AND_ID-add_library-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-add_library.cmake | 2 -- .../LINK_LANG_AND_ID-add_test-result.txt | 1 - .../LINK_LANG_AND_ID-add_test-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-add_test.cmake | 5 --- .../LINK_LANG_AND_ID-file_generate-result.txt | 1 - .../LINK_LANG_AND_ID-file_generate-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-file_generate.cmake | 6 ---- .../LINK_LANG_AND_ID-install-result.txt | 1 - .../LINK_LANG_AND_ID-install-stderr.txt | 10 ------ .../LINK_LANG_AND_ID-install.cmake | 5 --- .../LINK_LANG_AND_ID-target_sources-result.txt | 1 - .../LINK_LANG_AND_ID-target_sources-stderr.txt | 8 ----- .../LINK_LANG_AND_ID-target_sources.cmake | 2 -- .../LINK_LANG_AND_ID-unknown-lang.cmake | 4 --- .../LINK_LANG_AND_ID-wrong-usage1-result.txt | 1 - .../LINK_LANG_AND_ID-wrong-usage1-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-wrong-usage1.cmake | 4 --- .../LINK_LANG_AND_ID-wrong-usage2-result.txt | 1 - .../LINK_LANG_AND_ID-wrong-usage2-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-wrong-usage2.cmake | 4 --- .../LINK_LANG_AND_ID-wrong-usage3-result.txt | 1 - .../LINK_LANG_AND_ID-wrong-usage3-stderr.txt | 9 ------ .../LINK_LANG_AND_ID-wrong-usage3.cmake | 4 --- .../GenEx-LINK_LANG_AND_ID/RunCMakeTest.cmake | 24 +++++++------- .../add_custom_command-result.txt | 1 + .../add_custom_command-stderr.txt | 9 ++++++ .../add_custom_command.cmake | 4 +++ .../add_custom_target-result.txt | 1 + .../add_custom_target-stderr.txt | 9 ++++++ .../GenEx-LINK_LANG_AND_ID/add_custom_target.cmake | 4 +++ .../add_executable-result.txt | 1 + .../add_executable-stderr.txt | 9 ++++++ .../GenEx-LINK_LANG_AND_ID/add_executable.cmake | 5 +++ .../GenEx-LINK_LANG_AND_ID/add_library-result.txt | 1 + .../GenEx-LINK_LANG_AND_ID/add_library-stderr.txt | 9 ++++++ .../GenEx-LINK_LANG_AND_ID/add_library.cmake | 2 ++ .../GenEx-LINK_LANG_AND_ID/add_test-result.txt | 1 + .../GenEx-LINK_LANG_AND_ID/add_test-stderr.txt | 9 ++++++ .../RunCMake/GenEx-LINK_LANG_AND_ID/add_test.cmake | 5 +++ .../file_generate-result.txt | 1 + .../file_generate-stderr.txt | 9 ++++++ .../GenEx-LINK_LANG_AND_ID/file_generate.cmake | 6 ++++ .../GenEx-LINK_LANG_AND_ID/install-result.txt | 1 + .../GenEx-LINK_LANG_AND_ID/install-stderr.txt | 10 ++++++ .../RunCMake/GenEx-LINK_LANG_AND_ID/install.cmake | 5 +++ .../target_sources-result.txt | 1 + .../target_sources-stderr.txt | 8 +++++ .../GenEx-LINK_LANG_AND_ID/target_sources.cmake | 2 ++ .../GenEx-LINK_LANG_AND_ID/unknown-lang.cmake | 4 +++ .../GenEx-LINK_LANG_AND_ID/wrong-usage1-result.txt | 1 + .../GenEx-LINK_LANG_AND_ID/wrong-usage1-stderr.txt | 9 ++++++ .../GenEx-LINK_LANG_AND_ID/wrong-usage1.cmake | 4 +++ .../GenEx-LINK_LANG_AND_ID/wrong-usage2-result.txt | 1 + .../GenEx-LINK_LANG_AND_ID/wrong-usage2-stderr.txt | 9 ++++++ .../GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake | 4 +++ .../GenEx-LINK_LANG_AND_ID/wrong-usage3-result.txt | 1 + .../GenEx-LINK_LANG_AND_ID/wrong-usage3-stderr.txt | 9 ++++++ .../GenEx-LINK_LANG_AND_ID/wrong-usage3.cmake | 4 +++ .../GenEx-TARGET_RUNTIME_DLLS/RunCMakeTest.cmake | 10 +++--- .../TARGET_RUNTIME_DLLS-check.cmake | 15 --------- .../TARGET_RUNTIME_DLLS-static-result.txt | 1 - .../TARGET_RUNTIME_DLLS-static-stderr.txt | 9 ------ .../TARGET_RUNTIME_DLLS-static.cmake | 9 ------ ...ME_DLLS-target_link_libraries-cycle1-result.txt | 1 - ...ME_DLLS-target_link_libraries-cycle1-stderr.txt | 5 --- ...RUNTIME_DLLS-target_link_libraries-cycle1.cmake | 4 --- ...ME_DLLS-target_link_libraries-cycle2-result.txt | 1 - ...ME_DLLS-target_link_libraries-cycle2-stderr.txt | 5 --- ...RUNTIME_DLLS-target_link_libraries-cycle2.cmake | 6 ---- ...TARGET_RUNTIME_DLLS-target_link_libraries.cmake | 5 --- .../TARGET_RUNTIME_DLLS.cmake | 37 ---------------------- .../RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake | 15 +++++++++ .../GenEx-TARGET_RUNTIME_DLLS/shared.cmake | 37 ++++++++++++++++++++++ .../GenEx-TARGET_RUNTIME_DLLS/static-result.txt | 1 + .../GenEx-TARGET_RUNTIME_DLLS/static-stderr.txt | 9 ++++++ .../GenEx-TARGET_RUNTIME_DLLS/static.cmake | 9 ++++++ .../target_link_libraries-cycle1-result.txt | 1 + .../target_link_libraries-cycle1-stderr.txt | 5 +++ .../target_link_libraries-cycle1.cmake | 4 +++ .../target_link_libraries-cycle2-result.txt | 1 + .../target_link_libraries-cycle2-stderr.txt | 5 +++ .../target_link_libraries-cycle2.cmake | 6 ++++ .../target_link_libraries.cmake | 5 +++ 425 files changed, 1122 insertions(+), 1122 deletions(-) delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-TARGET_PROPERTY.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/TARGET_PROPERTY.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANGUAGE/unknown-lang.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-TARGET_PROPERTY.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-result.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources.cmake delete mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-unknown-lang.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/TARGET_PROPERTY.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-result.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-stderr.txt create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources.cmake create mode 100644 Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/unknown-lang.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-result.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources.cmake delete mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-try_compile.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_executable.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_library-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_library-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_library.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_test-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_test-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/add_test.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/install-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/install-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/install.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/link_depends.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-result.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-stderr.txt create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/target_sources.cmake create mode 100644 Tests/RunCMake/GenEx-DEVICE_LINK/try_compile.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-result.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources.cmake delete mode 100644 Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-try_compile.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_custom_command.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_custom_target.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_executable-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_executable-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_executable.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_library-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_library-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_library.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_test-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_test-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/add_test.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/install-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/install-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/install.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/link_depends-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/link_depends-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_compile_options.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_include_directories.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_link_directories.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_sources-result.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_sources-stderr.txt create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/target_sources.cmake create mode 100644 Tests/RunCMake/GenEx-HOST_LINK/try_compile.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/install-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/install-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/install.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/unknown-lang.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-unknown-lang.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2.cmake delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-result.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/unknown-lang.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-result.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-stderr.txt create mode 100644 Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3.cmake delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-check.cmake delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-result.txt delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static.cmake delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-result.txt delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1.cmake delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-result.txt delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-stderr.txt delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2.cmake delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries.cmake delete mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-result.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-stderr.txt create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2.cmake create mode 100644 Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries.cmake diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-TARGET_PROPERTY.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-TARGET_PROPERTY.cmake deleted file mode 100644 index 293ddda..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-TARGET_PROPERTY.cmake +++ /dev/null @@ -1,17 +0,0 @@ -enable_language(C) - -add_library (lib SHARED empty.c) -set_target_properties(lib PROPERTIES - INCLUDE_DIRECTORIES "$<$:/usr/include>" - COMPILE_DEFINITIONS "$<$:DEF>" - COMPILE_OPTIONS "$<$:-O>") - -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ - $ - $) - -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ - $ - $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-stderr.txt deleted file mode 100644 index c8f773a..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at COMPILE_LANGUAGE-add_custom_command.cmake:2 \(add_custom_command\): - Error evaluating generator expression: - - \$ - - \$ may only be used to specify include directories, - compile definitions, compile options, and to evaluate components of the - file\(GENERATE\) command. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command.cmake deleted file mode 100644 index c3f051a..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_command.cmake +++ /dev/null @@ -1,4 +0,0 @@ -add_custom_target(drive) -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-stderr.txt deleted file mode 100644 index 7025838..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at COMPILE_LANGUAGE-add_custom_target.cmake:1 \(add_custom_target\): - Error evaluating generator expression: - - \$ - - \$ may only be used to specify include directories, - compile definitions, compile options, and to evaluate components of the - file\(GENERATE\) command. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target.cmake deleted file mode 100644 index b826772..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_custom_target.cmake +++ /dev/null @@ -1,3 +0,0 @@ -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-stderr.txt deleted file mode 100644 index 8d05e59..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at COMPILE_LANGUAGE-add_executable.cmake:1 \(add_executable\): - Error evaluating generator expression: - - \$ - - \$ may only be used to specify include directories, - compile definitions, compile options, and to evaluate components of the - file\(GENERATE\) command. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable.cmake deleted file mode 100644 index ff965a9..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_executable.cmake +++ /dev/null @@ -1 +0,0 @@ -add_executable(empty empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-stderr.txt deleted file mode 100644 index 2ac9b76..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at COMPILE_LANGUAGE-add_library.cmake:1 \(add_library\): - Error evaluating generator expression: - - \$ - - \$ may only be used to specify include directories, - compile definitions, compile options, and to evaluate components of the - file\(GENERATE\) command. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library.cmake deleted file mode 100644 index dd1b5a2..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_library.cmake +++ /dev/null @@ -1 +0,0 @@ -add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-stderr.txt deleted file mode 100644 index fd8a731..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at COMPILE_LANGUAGE-add_test.cmake:5 \(add_test\): - Error evaluating generator expression: - - \$ - - \$ may only be used to specify include directories, - compile definitions, compile options, and to evaluate components of the - file\(GENERATE\) command. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test.cmake deleted file mode 100644 index deedf65..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-add_test.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -include(CTest) -enable_testing() - -add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-stderr.txt deleted file mode 100644 index bef7f63..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install-stderr.txt +++ /dev/null @@ -1,8 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used to specify include directories, - compile definitions, compile options, and to evaluate components of the - file\(GENERATE\) command. diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install.cmake deleted file mode 100644 index 92c20e3..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-install.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -install(FILES - empty.$ - DESTINATION src -) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-stderr.txt deleted file mode 100644 index 8e7f881..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error at COMPILE_LANGUAGE-target_sources.cmake:2 \(target_sources\): - Error evaluating generator expression: - - \$ - - \$ may only be used to specify include directories, - compile definitions, compile options, and to evaluate components of the - file\(GENERATE\) command. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources.cmake deleted file mode 100644 index a4a5abb..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-target_sources.cmake +++ /dev/null @@ -1,2 +0,0 @@ -add_library(empty) -target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake deleted file mode 100644 index 00dd290..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/COMPILE_LANGUAGE-unknown-lang.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake index 15a5e79..3e6e080 100644 --- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake @@ -1,11 +1,11 @@ include(RunCMake) -run_cmake(COMPILE_LANGUAGE-add_custom_target) -run_cmake(COMPILE_LANGUAGE-add_custom_command) -run_cmake(COMPILE_LANGUAGE-install) -run_cmake(COMPILE_LANGUAGE-target_sources) -run_cmake(COMPILE_LANGUAGE-add_executable) -run_cmake(COMPILE_LANGUAGE-add_library) -run_cmake(COMPILE_LANGUAGE-add_test) -run_cmake(COMPILE_LANGUAGE-unknown-lang) -run_cmake(COMPILE_LANGUAGE-TARGET_PROPERTY) +run_cmake(add_custom_target) +run_cmake(add_custom_command) +run_cmake(install) +run_cmake(target_sources) +run_cmake(add_executable) +run_cmake(add_library) +run_cmake(add_test) +run_cmake(unknown-lang) +run_cmake(TARGET_PROPERTY) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/TARGET_PROPERTY.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/TARGET_PROPERTY.cmake new file mode 100644 index 0000000..293ddda --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/TARGET_PROPERTY.cmake @@ -0,0 +1,17 @@ +enable_language(C) + +add_library (lib SHARED empty.c) +set_target_properties(lib PROPERTIES + INCLUDE_DIRECTORIES "$<$:/usr/include>" + COMPILE_DEFINITIONS "$<$:DEF>" + COMPILE_OPTIONS "$<$:-O>") + +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ + $ + $) + +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ + $ + $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-stderr.txt new file mode 100644 index 0000000..72f0fc8 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at add_custom_command.cmake:2 \(add_custom_command\): + Error evaluating generator expression: + + \$ + + \$ may only be used to specify include directories, + compile definitions, compile options, and to evaluate components of the + file\(GENERATE\) command. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command.cmake new file mode 100644 index 0000000..c3f051a --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_command.cmake @@ -0,0 +1,4 @@ +add_custom_target(drive) +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-stderr.txt new file mode 100644 index 0000000..a8ef8d7 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at add_custom_target.cmake:1 \(add_custom_target\): + Error evaluating generator expression: + + \$ + + \$ may only be used to specify include directories, + compile definitions, compile options, and to evaluate components of the + file\(GENERATE\) command. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target.cmake new file mode 100644 index 0000000..b826772 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_custom_target.cmake @@ -0,0 +1,3 @@ +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-stderr.txt new file mode 100644 index 0000000..2e7cc3e --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at add_executable.cmake:1 \(add_executable\): + Error evaluating generator expression: + + \$ + + \$ may only be used to specify include directories, + compile definitions, compile options, and to evaluate components of the + file\(GENERATE\) command. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable.cmake new file mode 100644 index 0000000..ff965a9 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_executable.cmake @@ -0,0 +1 @@ +add_executable(empty empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-stderr.txt new file mode 100644 index 0000000..ffbac65 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at add_library.cmake:1 \(add_library\): + Error evaluating generator expression: + + \$ + + \$ may only be used to specify include directories, + compile definitions, compile options, and to evaluate components of the + file\(GENERATE\) command. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library.cmake new file mode 100644 index 0000000..dd1b5a2 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_library.cmake @@ -0,0 +1 @@ +add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-stderr.txt new file mode 100644 index 0000000..2f13655 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at add_test.cmake:5 \(add_test\): + Error evaluating generator expression: + + \$ + + \$ may only be used to specify include directories, + compile definitions, compile options, and to evaluate components of the + file\(GENERATE\) command. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test.cmake new file mode 100644 index 0000000..deedf65 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/add_test.cmake @@ -0,0 +1,5 @@ + +include(CTest) +enable_testing() + +add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-stderr.txt new file mode 100644 index 0000000..bef7f63 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install-stderr.txt @@ -0,0 +1,8 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used to specify include directories, + compile definitions, compile options, and to evaluate components of the + file\(GENERATE\) command. diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install.cmake new file mode 100644 index 0000000..92c20e3 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/install.cmake @@ -0,0 +1,5 @@ + +install(FILES + empty.$ + DESTINATION src +) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-stderr.txt new file mode 100644 index 0000000..f552e95 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources-stderr.txt @@ -0,0 +1,10 @@ +CMake Error at target_sources.cmake:2 \(target_sources\): + Error evaluating generator expression: + + \$ + + \$ may only be used to specify include directories, + compile definitions, compile options, and to evaluate components of the + file\(GENERATE\) command. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources.cmake new file mode 100644 index 0000000..a4a5abb --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/target_sources.cmake @@ -0,0 +1,2 @@ +add_library(empty) +target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/unknown-lang.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/unknown-lang.cmake new file mode 100644 index 0000000..00dd290 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/unknown-lang.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-TARGET_PROPERTY.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-TARGET_PROPERTY.cmake deleted file mode 100644 index 6a718d6..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-TARGET_PROPERTY.cmake +++ /dev/null @@ -1,17 +0,0 @@ -enable_language(C) - -add_library (lib SHARED empty.c) -set_target_properties(lib PROPERTIES - INCLUDE_DIRECTORIES "$<$:/usr/include>" - COMPILE_DEFINITIONS "$<$:DEF>" - COMPILE_OPTIONS "$<$:-O>") - -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ - $ - $) - -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ - $ - $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-stderr.txt deleted file mode 100644 index 2ee96ed..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command-stderr.txt +++ /dev/null @@ -1,8 +0,0 @@ -CMake Error at COMPILE_LANG_AND_ID-add_custom_command.cmake:2 \(add_custom_command\): - Error evaluating generator expression: - - \$ - - \$ expression requires at least two parameters. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command.cmake deleted file mode 100644 index 9bd5e8e..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_command.cmake +++ /dev/null @@ -1,4 +0,0 @@ -add_custom_target(drive) -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-stderr.txt deleted file mode 100644 index 589e64b..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target-stderr.txt +++ /dev/null @@ -1,11 +0,0 @@ -CMake Error at COMPILE_LANG_AND_ID-add_custom_target.cmake:2 \(add_custom_target\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to - specify include directories, compile definitions, and compile options. It - may not be used with the add_custom_command, add_custom_target, or - file\(GENERATE\) commands. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target.cmake deleted file mode 100644 index 398db19..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_custom_target.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-stderr.txt deleted file mode 100644 index 3b3f38d..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable-stderr.txt +++ /dev/null @@ -1,11 +0,0 @@ -CMake Error at COMPILE_LANG_AND_ID-add_executable.cmake:1 \(add_executable\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to - specify include directories, compile definitions, and compile options. It - may not be used with the add_custom_command, add_custom_target, or - file\(GENERATE\) commands. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable.cmake deleted file mode 100644 index 2245f50..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_executable.cmake +++ /dev/null @@ -1,5 +0,0 @@ -add_executable(empty main.c - $<$:empty.c> - $<$:empty2.c> - $<$:empty3.c> - ) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-stderr.txt deleted file mode 100644 index 4cbf000..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library-stderr.txt +++ /dev/null @@ -1,11 +0,0 @@ -CMake Error at COMPILE_LANG_AND_ID-add_library.cmake:2 \(add_library\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to - specify include directories, compile definitions, and compile options. It - may not be used with the add_custom_command, add_custom_target, or - file\(GENERATE\) commands. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library.cmake deleted file mode 100644 index 044962a..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_library.cmake +++ /dev/null @@ -1,2 +0,0 @@ - -add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-stderr.txt deleted file mode 100644 index 26a5940..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test-stderr.txt +++ /dev/null @@ -1,11 +0,0 @@ -CMake Error at COMPILE_LANG_AND_ID-add_test.cmake:5 \(add_test\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to - specify include directories, compile definitions, and compile options. It - may not be used with the add_custom_command, add_custom_target, or - file\(GENERATE\) commands. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test.cmake deleted file mode 100644 index b5b6c2b..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-add_test.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -include(CTest) -enable_testing() - -add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-stderr.txt deleted file mode 100644 index 0c4ecd0..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to - specify include directories, compile definitions, and compile options. It - may not be used with the add_custom_command, add_custom_target, or - file\(GENERATE\) commands. diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install.cmake deleted file mode 100644 index c13eda6..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-install.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -install(FILES - empty.$ - DESTINATION src -) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-stderr.txt deleted file mode 100644 index 3ecbdc3..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources-stderr.txt +++ /dev/null @@ -1,8 +0,0 @@ -CMake Error at COMPILE_LANG_AND_ID-target_sources.cmake:2 \(target_sources\): - Error evaluating generator expression: - - \$ - - \$ expression requires at least two parameters. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources.cmake deleted file mode 100644 index a2c9b03..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-target_sources.cmake +++ /dev/null @@ -1,2 +0,0 @@ -add_library(empty) -target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-unknown-lang.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-unknown-lang.cmake deleted file mode 100644 index b9e840b..0000000 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/COMPILE_LANG_AND_ID-unknown-lang.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/RunCMakeTest.cmake index 68bd05d..3e6e080 100644 --- a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/RunCMakeTest.cmake +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/RunCMakeTest.cmake @@ -1,11 +1,11 @@ include(RunCMake) -run_cmake(COMPILE_LANG_AND_ID-add_custom_target) -run_cmake(COMPILE_LANG_AND_ID-add_custom_command) -run_cmake(COMPILE_LANG_AND_ID-install) -run_cmake(COMPILE_LANG_AND_ID-target_sources) -run_cmake(COMPILE_LANG_AND_ID-add_executable) -run_cmake(COMPILE_LANG_AND_ID-add_library) -run_cmake(COMPILE_LANG_AND_ID-add_test) -run_cmake(COMPILE_LANG_AND_ID-unknown-lang) -run_cmake(COMPILE_LANG_AND_ID-TARGET_PROPERTY) +run_cmake(add_custom_target) +run_cmake(add_custom_command) +run_cmake(install) +run_cmake(target_sources) +run_cmake(add_executable) +run_cmake(add_library) +run_cmake(add_test) +run_cmake(unknown-lang) +run_cmake(TARGET_PROPERTY) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/TARGET_PROPERTY.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/TARGET_PROPERTY.cmake new file mode 100644 index 0000000..6a718d6 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/TARGET_PROPERTY.cmake @@ -0,0 +1,17 @@ +enable_language(C) + +add_library (lib SHARED empty.c) +set_target_properties(lib PROPERTIES + INCLUDE_DIRECTORIES "$<$:/usr/include>" + COMPILE_DEFINITIONS "$<$:DEF>" + COMPILE_OPTIONS "$<$:-O>") + +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ + $ + $) + +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ + $ + $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-stderr.txt new file mode 100644 index 0000000..0c3c3f9 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command-stderr.txt @@ -0,0 +1,8 @@ +CMake Error at add_custom_command.cmake:2 \(add_custom_command\): + Error evaluating generator expression: + + \$ + + \$ expression requires at least two parameters. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command.cmake new file mode 100644 index 0000000..9bd5e8e --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_command.cmake @@ -0,0 +1,4 @@ +add_custom_target(drive) +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-stderr.txt new file mode 100644 index 0000000..ae85ca6 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target-stderr.txt @@ -0,0 +1,11 @@ +CMake Error at add_custom_target.cmake:2 \(add_custom_target\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to + specify include directories, compile definitions, and compile options. It + may not be used with the add_custom_command, add_custom_target, or + file\(GENERATE\) commands. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target.cmake new file mode 100644 index 0000000..398db19 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_custom_target.cmake @@ -0,0 +1,4 @@ + +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-stderr.txt new file mode 100644 index 0000000..ed03f20 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable-stderr.txt @@ -0,0 +1,11 @@ +CMake Error at add_executable.cmake:1 \(add_executable\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to + specify include directories, compile definitions, and compile options. It + may not be used with the add_custom_command, add_custom_target, or + file\(GENERATE\) commands. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable.cmake new file mode 100644 index 0000000..2245f50 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_executable.cmake @@ -0,0 +1,5 @@ +add_executable(empty main.c + $<$:empty.c> + $<$:empty2.c> + $<$:empty3.c> + ) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-stderr.txt new file mode 100644 index 0000000..0014c16 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library-stderr.txt @@ -0,0 +1,11 @@ +CMake Error at add_library.cmake:2 \(add_library\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to + specify include directories, compile definitions, and compile options. It + may not be used with the add_custom_command, add_custom_target, or + file\(GENERATE\) commands. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library.cmake new file mode 100644 index 0000000..044962a --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_library.cmake @@ -0,0 +1,2 @@ + +add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-stderr.txt new file mode 100644 index 0000000..73b1a7d --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test-stderr.txt @@ -0,0 +1,11 @@ +CMake Error at add_test.cmake:5 \(add_test\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to + specify include directories, compile definitions, and compile options. It + may not be used with the add_custom_command, add_custom_target, or + file\(GENERATE\) commands. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake new file mode 100644 index 0000000..b5b6c2b --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/add_test.cmake @@ -0,0 +1,5 @@ + +include(CTest) +enable_testing() + +add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-stderr.txt new file mode 100644 index 0000000..0c4ecd0 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install-stderr.txt @@ -0,0 +1,9 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to + specify include directories, compile definitions, and compile options. It + may not be used with the add_custom_command, add_custom_target, or + file\(GENERATE\) commands. diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install.cmake new file mode 100644 index 0000000..c13eda6 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/install.cmake @@ -0,0 +1,5 @@ + +install(FILES + empty.$ + DESTINATION src +) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-result.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-stderr.txt b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-stderr.txt new file mode 100644 index 0000000..ea6fbbf --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources-stderr.txt @@ -0,0 +1,8 @@ +CMake Error at target_sources.cmake:2 \(target_sources\): + Error evaluating generator expression: + + \$ + + \$ expression requires at least two parameters. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources.cmake new file mode 100644 index 0000000..a2c9b03 --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/target_sources.cmake @@ -0,0 +1,2 @@ +add_library(empty) +target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/unknown-lang.cmake b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/unknown-lang.cmake new file mode 100644 index 0000000..b9e840b --- /dev/null +++ b/Tests/RunCMake/GenEx-COMPILE_LANG_AND_ID/unknown-lang.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-stderr.txt deleted file mode 100644 index eb15834..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-add_custom_command.cmake:[0-9]+ \(add_custom_command\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command.cmake deleted file mode 100644 index 01b3784..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_command.cmake +++ /dev/null @@ -1,4 +0,0 @@ -add_custom_target(drive) -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-stderr.txt deleted file mode 100644 index cdd3043..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-add_custom_target.cmake:[0-9]+ \(add_custom_target\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target.cmake deleted file mode 100644 index 35728e9..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_custom_target.cmake +++ /dev/null @@ -1,3 +0,0 @@ -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-stderr.txt deleted file mode 100644 index 56b595c..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-add_executable.cmake:[0-9]+ \(add_executable\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable.cmake deleted file mode 100644 index 899f8f6..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_executable.cmake +++ /dev/null @@ -1 +0,0 @@ -add_executable(empty $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-stderr.txt deleted file mode 100644 index 4477e00..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-add_library.cmake:[0-9]+ \(add_library\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library.cmake deleted file mode 100644 index fc8547b..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_library.cmake +++ /dev/null @@ -1 +0,0 @@ -add_library(empty $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-stderr.txt deleted file mode 100644 index 99561fe..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-add_test.cmake:[0-9]+ \(add_test\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake deleted file mode 100644 index 87d6ba1..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-add_test.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -include(CTest) -enable_testing() - -add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-stderr.txt deleted file mode 100644 index afb3090..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install-stderr.txt +++ /dev/null @@ -1,7 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake deleted file mode 100644 index 4b6dbef..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-install.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -install(FILES - $ - DESTINATION src -) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-stderr.txt deleted file mode 100644 index 4fa0522..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends-stderr.txt +++ /dev/null @@ -1,7 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends.cmake deleted file mode 100644 index 8129514..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-link_depends.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -enable_language(C) - -add_library(lib empty.c) - -add_executable(empty empty.c) -set_property(TARGET empty PROPERTY LINK_DEPENDS $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-stderr.txt deleted file mode 100644 index c0185e3..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-target_compile_definitions.cmake:[0-9]+ \(target_compile_definitions\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions.cmake deleted file mode 100644 index aaa8efc..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_definitions.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_definitions(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-stderr.txt deleted file mode 100644 index 34ca4f2..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-target_compile_options.cmake:[0-9]+ \(target_compile_options\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options.cmake deleted file mode 100644 index a9cb7fd..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_compile_options.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_options(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-stderr.txt deleted file mode 100644 index 4d1642d..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-target_include_directories.cmake:[0-9]+ \(target_include_directories\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories.cmake deleted file mode 100644 index 03cc413..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_include_directories.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_include_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-stderr.txt deleted file mode 100644 index d924916..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-target_link_directories.cmake:[0-9]+ \(target_link_directories\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories.cmake deleted file mode 100644 index e50d27d..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_directories.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -enable_language(C) - -add_library(lib empty.c) - -add_executable(empty empty.c) -target_link_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-stderr.txt deleted file mode 100644 index 1436fa8..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-target_link_libraries.cmake:[0-9]+ \(target_link_libraries\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries.cmake deleted file mode 100644 index 971f562..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_link_libraries.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -enable_language(C) - -add_library(lib empty.c) - -add_executable(empty empty.c) -target_link_libraries(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-stderr.txt deleted file mode 100644 index c9b602d..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at DEVICE_LINK-target_sources.cmake:[0-9]+ \(target_sources\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources.cmake deleted file mode 100644 index 94bac9e..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-target_sources.cmake +++ /dev/null @@ -1,2 +0,0 @@ -add_library(empty) -target_sources(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-try_compile.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-try_compile.cmake deleted file mode 100644 index 281f8aa..0000000 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/DEVICE_LINK-try_compile.cmake +++ /dev/null @@ -1,9 +0,0 @@ - -enable_language(C) - -add_library(demo INTERFACE IMPORTED) -set_property(TARGET demo PROPERTY INTERFACE_LINK_OPTIONS "$") - -set(CMAKE_TRY_COMPILE_TARGET_TYPE EXECUTABLE) -try_compile(result "${CMAKE_CURRENT_BINARY_DIR}/tc" "${CMAKE_CURRENT_SOURCE_DIR}/empty.c" - LINK_LIBRARIES demo) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake index 80633e2..1ce98f0 100644 --- a/Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/RunCMakeTest.cmake @@ -1,18 +1,18 @@ include(RunCMake) -run_cmake(DEVICE_LINK-add_custom_target) -run_cmake(DEVICE_LINK-add_custom_command) -run_cmake(DEVICE_LINK-install) -run_cmake(DEVICE_LINK-add_executable) -run_cmake(DEVICE_LINK-add_library) -run_cmake(DEVICE_LINK-add_test) -run_cmake(DEVICE_LINK-target_sources) -run_cmake(DEVICE_LINK-target_compile_definitions) -run_cmake(DEVICE_LINK-target_compile_options) -run_cmake(DEVICE_LINK-target_include_directories) -run_cmake(DEVICE_LINK-target_link_libraries) -run_cmake(DEVICE_LINK-target_link_directories) -run_cmake(DEVICE_LINK-try_compile) +run_cmake(add_custom_target) +run_cmake(add_custom_command) +run_cmake(install) +run_cmake(add_executable) +run_cmake(add_library) +run_cmake(add_test) +run_cmake(target_sources) +run_cmake(target_compile_definitions) +run_cmake(target_compile_options) +run_cmake(target_include_directories) +run_cmake(target_link_libraries) +run_cmake(target_link_directories) +run_cmake(try_compile) if(RunCMake_GENERATOR MATCHES "(Ninja|Makefile)") - run_cmake(DEVICE_LINK-link_depends) + run_cmake(link_depends) endif() diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-stderr.txt new file mode 100644 index 0000000..273c3b2 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_command.cmake:[0-9]+ \(add_custom_command\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command.cmake new file mode 100644 index 0000000..01b3784 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_command.cmake @@ -0,0 +1,4 @@ +add_custom_target(drive) +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-stderr.txt new file mode 100644 index 0000000..0c015fa --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_target.cmake:[0-9]+ \(add_custom_target\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target.cmake new file mode 100644 index 0000000..35728e9 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_custom_target.cmake @@ -0,0 +1,3 @@ +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-stderr.txt new file mode 100644 index 0000000..3d5bfb3 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_executable.cmake:[0-9]+ \(add_executable\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable.cmake new file mode 100644 index 0000000..899f8f6 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_executable.cmake @@ -0,0 +1 @@ +add_executable(empty $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_library-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_library-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_library-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_library-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_library-stderr.txt new file mode 100644 index 0000000..5b8448b --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_library-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_library.cmake:[0-9]+ \(add_library\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_library.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/add_library.cmake new file mode 100644 index 0000000..fc8547b --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_library.cmake @@ -0,0 +1 @@ +add_library(empty $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_test-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_test-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_test-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_test-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/add_test-stderr.txt new file mode 100644 index 0000000..56f8ce7 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_test-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_test.cmake:[0-9]+ \(add_test\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/add_test.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/add_test.cmake new file mode 100644 index 0000000..87d6ba1 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/add_test.cmake @@ -0,0 +1,5 @@ + +include(CTest) +enable_testing() + +add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/install-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/install-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/install-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/install-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/install-stderr.txt new file mode 100644 index 0000000..afb3090 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/install-stderr.txt @@ -0,0 +1,7 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/install.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/install.cmake new file mode 100644 index 0000000..4b6dbef --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/install.cmake @@ -0,0 +1,5 @@ + +install(FILES + $ + DESTINATION src +) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-stderr.txt new file mode 100644 index 0000000..4fa0522 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends-stderr.txt @@ -0,0 +1,7 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends.cmake new file mode 100644 index 0000000..8129514 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/link_depends.cmake @@ -0,0 +1,7 @@ + +enable_language(C) + +add_library(lib empty.c) + +add_executable(empty empty.c) +set_property(TARGET empty PROPERTY LINK_DEPENDS $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-stderr.txt new file mode 100644 index 0000000..e6bd546 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_compile_definitions.cmake:[0-9]+ \(target_compile_definitions\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions.cmake new file mode 100644 index 0000000..aaa8efc --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_definitions.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_definitions(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-stderr.txt new file mode 100644 index 0000000..31e0eca --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_compile_options.cmake:[0-9]+ \(target_compile_options\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake new file mode 100644 index 0000000..a9cb7fd --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_compile_options.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_options(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-stderr.txt new file mode 100644 index 0000000..b104e1b --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_include_directories.cmake:[0-9]+ \(target_include_directories\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories.cmake new file mode 100644 index 0000000..03cc413 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_include_directories.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_include_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-stderr.txt new file mode 100644 index 0000000..a2f9c52 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_link_directories.cmake:[0-9]+ \(target_link_directories\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories.cmake new file mode 100644 index 0000000..e50d27d --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_directories.cmake @@ -0,0 +1,7 @@ + +enable_language(C) + +add_library(lib empty.c) + +add_executable(empty empty.c) +target_link_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-stderr.txt new file mode 100644 index 0000000..ce2aeee --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_link_libraries.cmake:[0-9]+ \(target_link_libraries\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries.cmake new file mode 100644 index 0000000..971f562 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_link_libraries.cmake @@ -0,0 +1,7 @@ + +enable_language(C) + +add_library(lib empty.c) + +add_executable(empty empty.c) +target_link_libraries(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-result.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-stderr.txt b/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-stderr.txt new file mode 100644 index 0000000..341b0f8 --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_sources.cmake:[0-9]+ \(target_sources\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources.cmake new file mode 100644 index 0000000..94bac9e --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/target_sources.cmake @@ -0,0 +1,2 @@ +add_library(empty) +target_sources(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-DEVICE_LINK/try_compile.cmake b/Tests/RunCMake/GenEx-DEVICE_LINK/try_compile.cmake new file mode 100644 index 0000000..281f8aa --- /dev/null +++ b/Tests/RunCMake/GenEx-DEVICE_LINK/try_compile.cmake @@ -0,0 +1,9 @@ + +enable_language(C) + +add_library(demo INTERFACE IMPORTED) +set_property(TARGET demo PROPERTY INTERFACE_LINK_OPTIONS "$") + +set(CMAKE_TRY_COMPILE_TARGET_TYPE EXECUTABLE) +try_compile(result "${CMAKE_CURRENT_BINARY_DIR}/tc" "${CMAKE_CURRENT_SOURCE_DIR}/empty.c" + LINK_LIBRARIES demo) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-stderr.txt deleted file mode 100644 index 5ad41b9..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-add_custom_command.cmake:[0-9]+ \(add_custom_command\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command.cmake deleted file mode 100644 index 4d6e305..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_command.cmake +++ /dev/null @@ -1,4 +0,0 @@ -add_custom_target(drive) -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-stderr.txt deleted file mode 100644 index c44202a..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-add_custom_target.cmake:[0-9]+ \(add_custom_target\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target.cmake deleted file mode 100644 index eec072a..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_custom_target.cmake +++ /dev/null @@ -1,3 +0,0 @@ -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt deleted file mode 100644 index b395515..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-add_executable.cmake:[0-9]+ \(add_executable\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable.cmake deleted file mode 100644 index c9f74a5..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_executable.cmake +++ /dev/null @@ -1 +0,0 @@ -add_executable(empty $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-stderr.txt deleted file mode 100644 index 4bd27be..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-add_library.cmake:[0-9]+ \(add_library\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library.cmake deleted file mode 100644 index 44135af..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_library.cmake +++ /dev/null @@ -1 +0,0 @@ -add_library(empty $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt deleted file mode 100644 index 012ad21..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-add_test.cmake:[0-9]+ \(add_test\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test.cmake deleted file mode 100644 index 4b472af..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-add_test.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -include(CTest) -enable_testing() - -add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-stderr.txt deleted file mode 100644 index c265ec4..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install-stderr.txt +++ /dev/null @@ -1,7 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install.cmake deleted file mode 100644 index b4dff68..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-install.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -install(FILES - $ - DESTINATION src -) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-stderr.txt deleted file mode 100644 index 24b8b82..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends-stderr.txt +++ /dev/null @@ -1,7 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends.cmake deleted file mode 100644 index 0402f43..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-link_depends.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -enable_language(C) - -add_library(lib empty.c) - -add_executable(empty empty.c) -set_property(TARGET empty PROPERTY LINK_DEPENDS $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-stderr.txt deleted file mode 100644 index 6ab3c14..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-target_compile_definitions.cmake:[0-9]+ \(target_compile_definitions\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions.cmake deleted file mode 100644 index f6c130d..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_definitions.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_definitions(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-stderr.txt deleted file mode 100644 index 0f5bbc3..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-target_compile_options.cmake:[0-9]+ \(target_compile_options\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options.cmake deleted file mode 100644 index 53afea1..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_compile_options.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_options(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-stderr.txt deleted file mode 100644 index 9a2634a..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-target_include_directories.cmake:[0-9]+ \(target_include_directories\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories.cmake deleted file mode 100644 index aff1009..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_include_directories.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_include_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-stderr.txt deleted file mode 100644 index 5225a52..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-target_link_directories.cmake:[0-9]+ \(target_link_directories\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories.cmake deleted file mode 100644 index 97488ee..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_directories.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -enable_language(C) - -add_library(lib empty.c) - -add_executable(empty empty.c) -target_link_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-stderr.txt deleted file mode 100644 index 6c4441f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-target_link_libraries.cmake:[0-9]+ \(target_link_libraries\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake deleted file mode 100644 index d74c92d..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_link_libraries.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -enable_language(C) - -add_library(lib empty.c) - -add_executable(empty empty.c) -target_link_libraries(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-stderr.txt deleted file mode 100644 index 0e25568..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at HOST_LINK-target_sources.cmake:[0-9]+ \(target_sources\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - options. -Call Stack \(most recent call first\): - CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources.cmake deleted file mode 100644 index ea7bf55..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-target_sources.cmake +++ /dev/null @@ -1,2 +0,0 @@ -add_library(empty) -target_sources(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-try_compile.cmake b/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-try_compile.cmake deleted file mode 100644 index f221ff1..0000000 --- a/Tests/RunCMake/GenEx-HOST_LINK/HOST_LINK-try_compile.cmake +++ /dev/null @@ -1,9 +0,0 @@ - -enable_language(C) - -add_library(demo INTERFACE IMPORTED) -set_property(TARGET demo PROPERTY INTERFACE_LINK_OPTIONS "$") - -set(CMAKE_TRY_COMPILE_TARGET_TYPE EXECUTABLE) -try_compile(result "${CMAKE_CURRENT_BINARY_DIR}/tc" "${CMAKE_CURRENT_SOURCE_DIR}/empty.c" - LINK_LIBRARIES demo) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake index 9e3eeec..1ce98f0 100644 --- a/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake +++ b/Tests/RunCMake/GenEx-HOST_LINK/RunCMakeTest.cmake @@ -1,18 +1,18 @@ 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) -run_cmake(HOST_LINK-try_compile) +run_cmake(add_custom_target) +run_cmake(add_custom_command) +run_cmake(install) +run_cmake(add_executable) +run_cmake(add_library) +run_cmake(add_test) +run_cmake(target_sources) +run_cmake(target_compile_definitions) +run_cmake(target_compile_options) +run_cmake(target_include_directories) +run_cmake(target_link_libraries) +run_cmake(target_link_directories) +run_cmake(try_compile) if(RunCMake_GENERATOR MATCHES "(Ninja|Makefile)") - run_cmake(HOST_LINK-link_depends) + run_cmake(link_depends) endif() diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-stderr.txt new file mode 100644 index 0000000..0eb5e33 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_command.cmake:[0-9]+ \(add_custom_command\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command.cmake b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command.cmake new file mode 100644 index 0000000..4d6e305 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_command.cmake @@ -0,0 +1,4 @@ +add_custom_target(drive) +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-stderr.txt new file mode 100644 index 0000000..ffb0c3d --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_target.cmake:[0-9]+ \(add_custom_target\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target.cmake b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target.cmake new file mode 100644 index 0000000..eec072a --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_custom_target.cmake @@ -0,0 +1,3 @@ +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_executable-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_executable-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_executable-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_executable-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_executable-stderr.txt new file mode 100644 index 0000000..59732d8 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_executable-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_executable.cmake:[0-9]+ \(add_executable\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_executable.cmake b/Tests/RunCMake/GenEx-HOST_LINK/add_executable.cmake new file mode 100644 index 0000000..c9f74a5 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_executable.cmake @@ -0,0 +1 @@ +add_executable(empty $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_library-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_library-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_library-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_library-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_library-stderr.txt new file mode 100644 index 0000000..4e9fea1 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_library-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_library.cmake:[0-9]+ \(add_library\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_library.cmake b/Tests/RunCMake/GenEx-HOST_LINK/add_library.cmake new file mode 100644 index 0000000..44135af --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_library.cmake @@ -0,0 +1 @@ +add_library(empty $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_test-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_test-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_test-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_test-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/add_test-stderr.txt new file mode 100644 index 0000000..11912dd --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_test-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_test.cmake:[0-9]+ \(add_test\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/add_test.cmake b/Tests/RunCMake/GenEx-HOST_LINK/add_test.cmake new file mode 100644 index 0000000..4b472af --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/add_test.cmake @@ -0,0 +1,5 @@ + +include(CTest) +enable_testing() + +add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/install-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/install-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/install-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/install-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/install-stderr.txt new file mode 100644 index 0000000..c265ec4 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/install-stderr.txt @@ -0,0 +1,7 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. diff --git a/Tests/RunCMake/GenEx-HOST_LINK/install.cmake b/Tests/RunCMake/GenEx-HOST_LINK/install.cmake new file mode 100644 index 0000000..b4dff68 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/install.cmake @@ -0,0 +1,5 @@ + +install(FILES + $ + DESTINATION src +) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/link_depends-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/link_depends-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/link_depends-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/link_depends-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/link_depends-stderr.txt new file mode 100644 index 0000000..24b8b82 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/link_depends-stderr.txt @@ -0,0 +1,7 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. diff --git a/Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake b/Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake new file mode 100644 index 0000000..0402f43 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/link_depends.cmake @@ -0,0 +1,7 @@ + +enable_language(C) + +add_library(lib empty.c) + +add_executable(empty empty.c) +set_property(TARGET empty PROPERTY LINK_DEPENDS $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-stderr.txt new file mode 100644 index 0000000..09982e1 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_compile_definitions.cmake:[0-9]+ \(target_compile_definitions\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions.cmake b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions.cmake new file mode 100644 index 0000000..f6c130d --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_definitions.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_definitions(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-stderr.txt new file mode 100644 index 0000000..42ff663 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_compile_options.cmake:[0-9]+ \(target_compile_options\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options.cmake b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options.cmake new file mode 100644 index 0000000..53afea1 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_compile_options.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_options(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-stderr.txt new file mode 100644 index 0000000..1c83da3 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_include_directories.cmake:[0-9]+ \(target_include_directories\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories.cmake b/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories.cmake new file mode 100644 index 0000000..aff1009 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_include_directories.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_include_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-stderr.txt new file mode 100644 index 0000000..0b54018 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_link_directories.cmake:[0-9]+ \(target_link_directories\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories.cmake b/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories.cmake new file mode 100644 index 0000000..97488ee --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_link_directories.cmake @@ -0,0 +1,7 @@ + +enable_language(C) + +add_library(lib empty.c) + +add_executable(empty empty.c) +target_link_directories(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-stderr.txt new file mode 100644 index 0000000..bf46e3a --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_link_libraries.cmake:[0-9]+ \(target_link_libraries\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries.cmake b/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries.cmake new file mode 100644 index 0000000..d74c92d --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_link_libraries.cmake @@ -0,0 +1,7 @@ + +enable_language(C) + +add_library(lib empty.c) + +add_executable(empty empty.c) +target_link_libraries(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_sources-result.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_sources-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_sources-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_sources-stderr.txt b/Tests/RunCMake/GenEx-HOST_LINK/target_sources-stderr.txt new file mode 100644 index 0000000..547c2e5 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_sources-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_sources.cmake:[0-9]+ \(target_sources\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + options. +Call Stack \(most recent call first\): + CMakeLists.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/target_sources.cmake b/Tests/RunCMake/GenEx-HOST_LINK/target_sources.cmake new file mode 100644 index 0000000..ea7bf55 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/target_sources.cmake @@ -0,0 +1,2 @@ +add_library(empty) +target_sources(empty PRIVATE $) diff --git a/Tests/RunCMake/GenEx-HOST_LINK/try_compile.cmake b/Tests/RunCMake/GenEx-HOST_LINK/try_compile.cmake new file mode 100644 index 0000000..f221ff1 --- /dev/null +++ b/Tests/RunCMake/GenEx-HOST_LINK/try_compile.cmake @@ -0,0 +1,9 @@ + +enable_language(C) + +add_library(demo INTERFACE IMPORTED) +set_property(TARGET demo PROPERTY INTERFACE_LINK_OPTIONS "$") + +set(CMAKE_TRY_COMPILE_TARGET_TYPE EXECUTABLE) +try_compile(result "${CMAKE_CURRENT_BINARY_DIR}/tc" "${CMAKE_CURRENT_SOURCE_DIR}/empty.c" + LINK_LIBRARIES demo) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-stderr.txt deleted file mode 100644 index 0b0d458..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-add_custom_command.cmake:2 \(add_custom_command\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command.cmake deleted file mode 100644 index a378c1c..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_command.cmake +++ /dev/null @@ -1,4 +0,0 @@ -add_custom_target(drive) -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-stderr.txt deleted file mode 100644 index 92da634..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-add_custom_target.cmake:1 \(add_custom_target\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target.cmake deleted file mode 100644 index 60b6c75..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_custom_target.cmake +++ /dev/null @@ -1,3 +0,0 @@ -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-stderr.txt deleted file mode 100644 index 3bdc8e4..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-add_executable.cmake:1 \(add_executable\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable.cmake deleted file mode 100644 index 2176b39..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_executable.cmake +++ /dev/null @@ -1 +0,0 @@ -add_executable(empty empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-stderr.txt deleted file mode 100644 index 1bacdeb..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-add_library.cmake:1 \(add_library\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library.cmake deleted file mode 100644 index 253f82a..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_library.cmake +++ /dev/null @@ -1 +0,0 @@ -add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-stderr.txt deleted file mode 100644 index f22efde..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-add_test.cmake:5 \(add_test\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test.cmake deleted file mode 100644 index 4fd547d..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-add_test.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -include(CTest) -enable_testing() - -add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-stderr.txt deleted file mode 100644 index 21d26de..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-file_generate.cmake:3 \(file\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate.cmake deleted file mode 100644 index 519b883..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-file_generate.cmake +++ /dev/null @@ -1,6 +0,0 @@ -enable_language(CXX C) - -file(GENERATE - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output.txt - CONTENT "LANG_IS_$\n" -) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-stderr.txt deleted file mode 100644 index 73afc33..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. - - -CMake Generate step failed. Build files cannot be regenerated correctly. diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install.cmake deleted file mode 100644 index 533c0b4..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-install.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -install(FILES - empty.$ - DESTINATION src -) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-stderr.txt deleted file mode 100644 index d8121cc..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-target_sources.cmake:2 \(target_sources\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources.cmake deleted file mode 100644 index c134c01..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-target_sources.cmake +++ /dev/null @@ -1,2 +0,0 @@ -add_library(empty) -target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake deleted file mode 100644 index 0ba472d..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_link_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-stderr.txt deleted file mode 100644 index 1e3a83b..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-wrong-usage1.cmake:4 \(target_compile_definitions\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1.cmake deleted file mode 100644 index 90b7ce0..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage1.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_definitions(empty PRIVATE $<$:DEF>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-stderr.txt deleted file mode 100644 index 7fe4310..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-wrong-usage2.cmake:4 \(target_compile_options\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2.cmake deleted file mode 100644 index e761897..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_options(empty PRIVATE $<$:-OPT>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-stderr.txt deleted file mode 100644 index cb20e99..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANGUAGE-wrong-usage3.cmake:4 \(target_include_directories\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify link - libraries, link directories, link options and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3.cmake deleted file mode 100644 index 96a72a1..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage3.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_include_directories(empty PRIVATE $<$:/DIR>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-stderr.txt deleted file mode 100644 index ee36912..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4-stderr.txt +++ /dev/null @@ -1,8 +0,0 @@ -CMake Error at LINK_LANGUAGE-wrong-usage4.cmake:7 \(target_link_libraries\): - Error evaluating generator expression: - - \$ - - \$ is not supported in link libraries expression. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4.cmake deleted file mode 100644 index 3ecaabb..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage4.cmake +++ /dev/null @@ -1,7 +0,0 @@ - -enable_language(C) - -add_library(libC empty.c) - -add_executable(empty empty.c) -target_link_libraries(empty PRIVATE lib$) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/RunCMakeTest.cmake index 4cf0c04..53320ac 100644 --- a/Tests/RunCMake/GenEx-LINK_LANGUAGE/RunCMakeTest.cmake +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/RunCMakeTest.cmake @@ -1,15 +1,15 @@ include(RunCMake) -run_cmake(LINK_LANGUAGE-add_custom_target) -run_cmake(LINK_LANGUAGE-add_custom_command) -run_cmake(LINK_LANGUAGE-install) -run_cmake(LINK_LANGUAGE-target_sources) -run_cmake(LINK_LANGUAGE-add_executable) -run_cmake(LINK_LANGUAGE-add_library) -run_cmake(LINK_LANGUAGE-add_test) -run_cmake(LINK_LANGUAGE-unknown-lang) -run_cmake(LINK_LANGUAGE-wrong-usage1) -run_cmake(LINK_LANGUAGE-wrong-usage2) -run_cmake(LINK_LANGUAGE-wrong-usage3) -run_cmake(LINK_LANGUAGE-wrong-usage4) -run_cmake(LINK_LANGUAGE-file_generate) +run_cmake(add_custom_target) +run_cmake(add_custom_command) +run_cmake(install) +run_cmake(target_sources) +run_cmake(add_executable) +run_cmake(add_library) +run_cmake(add_test) +run_cmake(unknown-lang) +run_cmake(wrong-usage1) +run_cmake(wrong-usage2) +run_cmake(wrong-usage3) +run_cmake(wrong-usage4) +run_cmake(file_generate) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-stderr.txt new file mode 100644 index 0000000..2ac7add --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_command.cmake:2 \(add_custom_command\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command.cmake new file mode 100644 index 0000000..a378c1c --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_command.cmake @@ -0,0 +1,4 @@ +add_custom_target(drive) +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-stderr.txt new file mode 100644 index 0000000..5e54bae --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_target.cmake:1 \(add_custom_target\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target.cmake new file mode 100644 index 0000000..60b6c75 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_custom_target.cmake @@ -0,0 +1,3 @@ +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-stderr.txt new file mode 100644 index 0000000..06c00fc --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_executable.cmake:1 \(add_executable\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable.cmake new file mode 100644 index 0000000..2176b39 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_executable.cmake @@ -0,0 +1 @@ +add_executable(empty empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-stderr.txt new file mode 100644 index 0000000..6e312a1 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_library.cmake:1 \(add_library\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library.cmake new file mode 100644 index 0000000..253f82a --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_library.cmake @@ -0,0 +1 @@ +add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-stderr.txt new file mode 100644 index 0000000..3deb923 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_test.cmake:5 \(add_test\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test.cmake new file mode 100644 index 0000000..4fd547d --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/add_test.cmake @@ -0,0 +1,5 @@ + +include(CTest) +enable_testing() + +add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-stderr.txt new file mode 100644 index 0000000..0e3d681 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at file_generate.cmake:3 \(file\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate.cmake new file mode 100644 index 0000000..519b883 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/file_generate.cmake @@ -0,0 +1,6 @@ +enable_language(CXX C) + +file(GENERATE + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output.txt + CONTENT "LANG_IS_$\n" +) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/install-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/install-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/install-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/install-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/install-stderr.txt new file mode 100644 index 0000000..73afc33 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/install-stderr.txt @@ -0,0 +1,10 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. + + +CMake Generate step failed. Build files cannot be regenerated correctly. diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/install.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/install.cmake new file mode 100644 index 0000000..533c0b4 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/install.cmake @@ -0,0 +1,5 @@ + +install(FILES + empty.$ + DESTINATION src +) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-stderr.txt new file mode 100644 index 0000000..4c63a6e --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at target_sources.cmake:2 \(target_sources\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources.cmake new file mode 100644 index 0000000..c134c01 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/target_sources.cmake @@ -0,0 +1,2 @@ +add_library(empty) +target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/unknown-lang.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/unknown-lang.cmake new file mode 100644 index 0000000..0ba472d --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/unknown-lang.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_link_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-stderr.txt new file mode 100644 index 0000000..58562b3 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at wrong-usage1.cmake:4 \(target_compile_definitions\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1.cmake new file mode 100644 index 0000000..90b7ce0 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage1.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_definitions(empty PRIVATE $<$:DEF>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-stderr.txt new file mode 100644 index 0000000..46fbc67 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at wrong-usage2.cmake:4 \(target_compile_options\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2.cmake new file mode 100644 index 0000000..e761897 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage2.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_options(empty PRIVATE $<$:-OPT>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-stderr.txt new file mode 100644 index 0000000..2cabc90 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at wrong-usage3.cmake:4 \(target_include_directories\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify link + libraries, link directories, link options and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3.cmake new file mode 100644 index 0000000..96a72a1 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage3.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_include_directories(empty PRIVATE $<$:/DIR>) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-result.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-stderr.txt new file mode 100644 index 0000000..3679760 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4-stderr.txt @@ -0,0 +1,8 @@ +CMake Error at wrong-usage4.cmake:7 \(target_link_libraries\): + Error evaluating generator expression: + + \$ + + \$ is not supported in link libraries expression. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4.cmake new file mode 100644 index 0000000..3ecaabb --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/wrong-usage4.cmake @@ -0,0 +1,7 @@ + +enable_language(C) + +add_library(libC empty.c) + +add_executable(empty empty.c) +target_link_libraries(empty PRIVATE lib$) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-stderr.txt deleted file mode 100644 index 2ff62bc..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-add_custom_command.cmake:2 \(add_custom_command\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command.cmake deleted file mode 100644 index 9df9232..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_command.cmake +++ /dev/null @@ -1,4 +0,0 @@ -add_custom_target(drive) -add_custom_command(TARGET drive PRE_BUILD - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-stderr.txt deleted file mode 100644 index 0749c44..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-add_custom_target.cmake:2 \(add_custom_target\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target.cmake deleted file mode 100644 index e5f76bc..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_custom_target.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -add_custom_target(drive - COMMAND ${CMAKE_COMMAND} -E echo $ -) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-stderr.txt deleted file mode 100644 index 595312a..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-add_executable.cmake:1 \(add_executable\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable.cmake deleted file mode 100644 index 4d6c674..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_executable.cmake +++ /dev/null @@ -1,5 +0,0 @@ -add_executable(empty main.c - $<$:empty.c> - $<$:empty2.c> - $<$:empty3.c> - ) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-stderr.txt deleted file mode 100644 index be46e28..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-add_library.cmake:2 \(add_library\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library.cmake deleted file mode 100644 index a8199cf..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_library.cmake +++ /dev/null @@ -1,2 +0,0 @@ - -add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-stderr.txt deleted file mode 100644 index 2a29492..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-add_test.cmake:5 \(add_test\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test.cmake deleted file mode 100644 index fd700d7..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-add_test.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -include(CTest) -enable_testing() - -add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-stderr.txt deleted file mode 100644 index e57b55c..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-file_generate.cmake:3 \(file\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate.cmake deleted file mode 100644 index 67c1bda..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-file_generate.cmake +++ /dev/null @@ -1,6 +0,0 @@ -enable_language(CXX C) - -file(GENERATE - OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output.txt - CONTENT "LANG_IS_$<$:C>\n" -) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-stderr.txt deleted file mode 100644 index 965f974..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install-stderr.txt +++ /dev/null @@ -1,10 +0,0 @@ -CMake Error: - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. - - -CMake Generate step failed. Build files cannot be regenerated correctly. diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install.cmake deleted file mode 100644 index b8f9323..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-install.cmake +++ /dev/null @@ -1,5 +0,0 @@ - -install(FILES - empty.$ - DESTINATION src -) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-stderr.txt deleted file mode 100644 index e86602a..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources-stderr.txt +++ /dev/null @@ -1,8 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-target_sources.cmake:2 \(target_sources\): - Error evaluating generator expression: - - \$ - - \$ expression requires at least two parameters. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources.cmake deleted file mode 100644 index da5faf4..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-target_sources.cmake +++ /dev/null @@ -1,2 +0,0 @@ -add_library(empty) -target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-unknown-lang.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-unknown-lang.cmake deleted file mode 100644 index 99dd337..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-unknown-lang.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_link_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-stderr.txt deleted file mode 100644 index 95611c3..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-wrong-usage1.cmake:4 \(target_compile_definitions\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1.cmake deleted file mode 100644 index e58e3b44..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage1.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_definitions(empty PRIVATE $<$:DEF>) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-stderr.txt deleted file mode 100644 index 53bdcb2..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-wrong-usage2.cmake:4 \(target_compile_options\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2.cmake deleted file mode 100644 index 998daa9..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage2.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_compile_options(empty PRIVATE $<$:-OPT>) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-stderr.txt deleted file mode 100644 index a34a2ea..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at LINK_LANG_AND_ID-wrong-usage3.cmake:4 \(target_include_directories\): - Error evaluating generator expression: - - \$ - - \$ may only be used with binary targets to specify - link libraries, link directories, link options, and link depends. -Call Stack \(most recent call first\): - CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3.cmake deleted file mode 100644 index 0543056..0000000 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/LINK_LANG_AND_ID-wrong-usage3.cmake +++ /dev/null @@ -1,4 +0,0 @@ - -enable_language(C) -add_executable(empty empty.c) -target_include_directories(empty PRIVATE $<$:/DIR>) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/RunCMakeTest.cmake index 5bb6590..74a179c 100644 --- a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/RunCMakeTest.cmake +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/RunCMakeTest.cmake @@ -1,14 +1,14 @@ include(RunCMake) -run_cmake(LINK_LANG_AND_ID-add_custom_target) -run_cmake(LINK_LANG_AND_ID-add_custom_command) -run_cmake(LINK_LANG_AND_ID-install) -run_cmake(LINK_LANG_AND_ID-target_sources) -run_cmake(LINK_LANG_AND_ID-add_executable) -run_cmake(LINK_LANG_AND_ID-add_library) -run_cmake(LINK_LANG_AND_ID-add_test) -run_cmake(LINK_LANG_AND_ID-unknown-lang) -run_cmake(LINK_LANG_AND_ID-wrong-usage1) -run_cmake(LINK_LANG_AND_ID-wrong-usage2) -run_cmake(LINK_LANG_AND_ID-wrong-usage3) -run_cmake(LINK_LANG_AND_ID-file_generate) +run_cmake(add_custom_target) +run_cmake(add_custom_command) +run_cmake(install) +run_cmake(target_sources) +run_cmake(add_executable) +run_cmake(add_library) +run_cmake(add_test) +run_cmake(unknown-lang) +run_cmake(wrong-usage1) +run_cmake(wrong-usage2) +run_cmake(wrong-usage3) +run_cmake(file_generate) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-stderr.txt new file mode 100644 index 0000000..412e3ad --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_command.cmake:2 \(add_custom_command\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command.cmake new file mode 100644 index 0000000..9df9232 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_command.cmake @@ -0,0 +1,4 @@ +add_custom_target(drive) +add_custom_command(TARGET drive PRE_BUILD + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-stderr.txt new file mode 100644 index 0000000..a927b20 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_custom_target.cmake:2 \(add_custom_target\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target.cmake new file mode 100644 index 0000000..e5f76bc --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_custom_target.cmake @@ -0,0 +1,4 @@ + +add_custom_target(drive + COMMAND ${CMAKE_COMMAND} -E echo $ +) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-stderr.txt new file mode 100644 index 0000000..c58cbdf --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_executable.cmake:1 \(add_executable\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable.cmake new file mode 100644 index 0000000..4d6c674 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_executable.cmake @@ -0,0 +1,5 @@ +add_executable(empty main.c + $<$:empty.c> + $<$:empty2.c> + $<$:empty3.c> + ) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-stderr.txt new file mode 100644 index 0000000..46a32d0 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_library.cmake:2 \(add_library\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library.cmake new file mode 100644 index 0000000..a8199cf --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_library.cmake @@ -0,0 +1,2 @@ + +add_library(empty empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-stderr.txt new file mode 100644 index 0000000..9893298 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at add_test.cmake:5 \(add_test\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test.cmake new file mode 100644 index 0000000..fd700d7 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/add_test.cmake @@ -0,0 +1,5 @@ + +include(CTest) +enable_testing() + +add_test(NAME dummy COMMAND ${CMAKE_COMMAND} -E echo $) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-stderr.txt new file mode 100644 index 0000000..fa05f8d --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at file_generate.cmake:3 \(file\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate.cmake new file mode 100644 index 0000000..67c1bda --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/file_generate.cmake @@ -0,0 +1,6 @@ +enable_language(CXX C) + +file(GENERATE + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/output.txt + CONTENT "LANG_IS_$<$:C>\n" +) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-stderr.txt new file mode 100644 index 0000000..965f974 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install-stderr.txt @@ -0,0 +1,10 @@ +CMake Error: + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. + + +CMake Generate step failed. Build files cannot be regenerated correctly. diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install.cmake new file mode 100644 index 0000000..b8f9323 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/install.cmake @@ -0,0 +1,5 @@ + +install(FILES + empty.$ + DESTINATION src +) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-stderr.txt new file mode 100644 index 0000000..aecf124 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources-stderr.txt @@ -0,0 +1,8 @@ +CMake Error at target_sources.cmake:2 \(target_sources\): + Error evaluating generator expression: + + \$ + + \$ expression requires at least two parameters. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources.cmake new file mode 100644 index 0000000..da5faf4 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/target_sources.cmake @@ -0,0 +1,2 @@ +add_library(empty) +target_sources(empty PRIVATE empty.$) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/unknown-lang.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/unknown-lang.cmake new file mode 100644 index 0000000..99dd337 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/unknown-lang.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_link_options(empty PRIVATE $<$:$>) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-stderr.txt new file mode 100644 index 0000000..729cc2f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at wrong-usage1.cmake:4 \(target_compile_definitions\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1.cmake new file mode 100644 index 0000000..e58e3b44 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage1.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_definitions(empty PRIVATE $<$:DEF>) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-stderr.txt new file mode 100644 index 0000000..786c16d --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at wrong-usage2.cmake:4 \(target_compile_options\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake new file mode 100644 index 0000000..998daa9 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_options(empty PRIVATE $<$:-OPT>) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-result.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-stderr.txt b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-stderr.txt new file mode 100644 index 0000000..31679a1 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at wrong-usage3.cmake:4 \(target_include_directories\): + Error evaluating generator expression: + + \$ + + \$ may only be used with binary targets to specify + link libraries, link directories, link options, and link depends. +Call Stack \(most recent call first\): + CMakeLists.txt:3 \(include\) diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3.cmake new file mode 100644 index 0000000..0543056 --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage3.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_include_directories(empty PRIVATE $<$:/DIR>) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/RunCMakeTest.cmake index edc495c..a48b525 100644 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/RunCMakeTest.cmake +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/RunCMakeTest.cmake @@ -1,7 +1,7 @@ include(RunCMake) -run_cmake(TARGET_RUNTIME_DLLS) -run_cmake(TARGET_RUNTIME_DLLS-static) -run_cmake(TARGET_RUNTIME_DLLS-target_link_libraries) -run_cmake(TARGET_RUNTIME_DLLS-target_link_libraries-cycle1) -run_cmake(TARGET_RUNTIME_DLLS-target_link_libraries-cycle2) +run_cmake(shared) +run_cmake(static) +run_cmake(target_link_libraries) +run_cmake(target_link_libraries-cycle1) +run_cmake(target_link_libraries-cycle2) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-check.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-check.cmake deleted file mode 100644 index e19598e..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-check.cmake +++ /dev/null @@ -1,15 +0,0 @@ -function(check_genex expected actual) - if(NOT expected STREQUAL actual) - string(APPEND RunCMake_TEST_FAILED "Expected DLLs:\n") - foreach(dll IN LISTS expected) - string(APPEND RunCMake_TEST_FAILED " ${dll}\n") - endforeach() - string(APPEND RunCMake_TEST_FAILED "Actual DLLs:\n") - foreach(dll IN LISTS actual) - string(APPEND RunCMake_TEST_FAILED " ${dll}\n") - endforeach() - endif() - set(RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}" PARENT_SCOPE) -endfunction() - -include("${RunCMake_TEST_BINARY_DIR}/dlls.cmake") diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-result.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-stderr.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-stderr.txt deleted file mode 100644 index 7ce588a..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static-stderr.txt +++ /dev/null @@ -1,9 +0,0 @@ -CMake Error at TARGET_RUNTIME_DLLS-static\.cmake:[0-9]+ \(file\): - Error evaluating generator expression: - - \$ - - Objects of target "static" referenced but is not one of the allowed target - types \(EXECUTABLE, SHARED, MODULE\)\. -Call Stack \(most recent call first\): - CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static.cmake deleted file mode 100644 index dc900dd..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-static.cmake +++ /dev/null @@ -1,9 +0,0 @@ -enable_language(C) - -add_library(static STATIC static.c) -set(condition) -get_property(multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) -if(multi_config) - set(condition CONDITION "$") -endif() -file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/dlls.txt" CONTENT "$" ${condition}) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-result.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-stderr.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-stderr.txt deleted file mode 100644 index 8cfcf7e..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1-stderr.txt +++ /dev/null @@ -1,5 +0,0 @@ -CMake Error at TARGET_RUNTIME_DLLS-target_link_libraries-cycle1\.cmake:[0-9]+ \(add_library\): - The SOURCES of "lib1" use a generator expression that depends on the - SOURCES themselves\. -Call Stack \(most recent call first\): - CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1.cmake deleted file mode 100644 index f19e9e6..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle1.cmake +++ /dev/null @@ -1,4 +0,0 @@ -enable_language(C) - -add_library(lib1 SHARED lib1.c) -target_link_libraries(lib1 PRIVATE $) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-result.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-result.txt deleted file mode 100644 index d00491f..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-result.txt +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-stderr.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-stderr.txt deleted file mode 100644 index bacbf63..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2-stderr.txt +++ /dev/null @@ -1,5 +0,0 @@ -CMake Error at TARGET_RUNTIME_DLLS-target_link_libraries-cycle2\.cmake:[0-9]+ \(add_library\): - The SOURCES of "(lib1|lib2)" use a generator expression that depends on the - SOURCES themselves\. -Call Stack \(most recent call first\): - CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2.cmake deleted file mode 100644 index 7d035bd..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries-cycle2.cmake +++ /dev/null @@ -1,6 +0,0 @@ -enable_language(C) - -add_library(lib1 SHARED lib1.c) -add_library(lib2 SHARED lib2.c) -target_link_libraries(lib1 PRIVATE $) -target_link_libraries(lib2 PRIVATE $) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries.cmake deleted file mode 100644 index f44dbf4..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS-target_link_libraries.cmake +++ /dev/null @@ -1,5 +0,0 @@ -enable_language(C) - -add_library(lib1 SHARED lib1.c) -add_library(lib2 SHARED lib2.c) -target_link_libraries(lib1 PRIVATE $) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS.cmake deleted file mode 100644 index 806f0b6..0000000 --- a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/TARGET_RUNTIME_DLLS.cmake +++ /dev/null @@ -1,37 +0,0 @@ -enable_language(C) - -add_executable(exe main.c) -add_library(lib1 SHARED lib1.c) -add_library(lib2 SHARED lib2.c) -add_library(lib3 SHARED lib3.c) -add_library(static STATIC static.c) -add_library(imported SHARED IMPORTED) -set_property(TARGET imported PROPERTY IMPORTED_LOCATION "${CMAKE_SOURCE_DIR}/imported.dll") -set_property(TARGET imported PROPERTY IMPORTED_IMPLIB "${CMAKE_SOURCE_DIR}/imported.lib") -add_library(imported2 SHARED IMPORTED) -if(NOT WIN32 AND NOT CYGWIN) - set_property(TARGET imported2 PROPERTY IMPORTED_LOCATION "${CMAKE_SOURCE_DIR}/imported2.dll") -endif() -set_property(TARGET imported2 PROPERTY IMPORTED_IMPLIB "${CMAKE_SOURCE_DIR}/imported2.lib") - -target_link_libraries(exe PRIVATE lib1 static imported imported2) -target_link_libraries(lib1 PRIVATE lib2) -target_link_libraries(lib1 INTERFACE lib3) - -set(expected_dlls "") -if(WIN32 OR CYGWIN) - set(expected_dlls - "$" - "$" - "$" - "$" - ) -endif() - -set(content "check_genex(\"${expected_dlls}\" \"$\")\n") -set(condition) -get_property(multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) -if(multi_config) - set(condition CONDITION "$") -endif() -file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/dlls.cmake" CONTENT "${content}" ${condition}) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake new file mode 100644 index 0000000..e19598e --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/check.cmake @@ -0,0 +1,15 @@ +function(check_genex expected actual) + if(NOT expected STREQUAL actual) + string(APPEND RunCMake_TEST_FAILED "Expected DLLs:\n") + foreach(dll IN LISTS expected) + string(APPEND RunCMake_TEST_FAILED " ${dll}\n") + endforeach() + string(APPEND RunCMake_TEST_FAILED "Actual DLLs:\n") + foreach(dll IN LISTS actual) + string(APPEND RunCMake_TEST_FAILED " ${dll}\n") + endforeach() + endif() + set(RunCMake_TEST_FAILED "${RunCMake_TEST_FAILED}" PARENT_SCOPE) +endfunction() + +include("${RunCMake_TEST_BINARY_DIR}/dlls.cmake") diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared.cmake new file mode 100644 index 0000000..806f0b6 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/shared.cmake @@ -0,0 +1,37 @@ +enable_language(C) + +add_executable(exe main.c) +add_library(lib1 SHARED lib1.c) +add_library(lib2 SHARED lib2.c) +add_library(lib3 SHARED lib3.c) +add_library(static STATIC static.c) +add_library(imported SHARED IMPORTED) +set_property(TARGET imported PROPERTY IMPORTED_LOCATION "${CMAKE_SOURCE_DIR}/imported.dll") +set_property(TARGET imported PROPERTY IMPORTED_IMPLIB "${CMAKE_SOURCE_DIR}/imported.lib") +add_library(imported2 SHARED IMPORTED) +if(NOT WIN32 AND NOT CYGWIN) + set_property(TARGET imported2 PROPERTY IMPORTED_LOCATION "${CMAKE_SOURCE_DIR}/imported2.dll") +endif() +set_property(TARGET imported2 PROPERTY IMPORTED_IMPLIB "${CMAKE_SOURCE_DIR}/imported2.lib") + +target_link_libraries(exe PRIVATE lib1 static imported imported2) +target_link_libraries(lib1 PRIVATE lib2) +target_link_libraries(lib1 INTERFACE lib3) + +set(expected_dlls "") +if(WIN32 OR CYGWIN) + set(expected_dlls + "$" + "$" + "$" + "$" + ) +endif() + +set(content "check_genex(\"${expected_dlls}\" \"$\")\n") +set(condition) +get_property(multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) +if(multi_config) + set(condition CONDITION "$") +endif() +file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/dlls.cmake" CONTENT "${content}" ${condition}) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-result.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-stderr.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-stderr.txt new file mode 100644 index 0000000..af68c96 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static-stderr.txt @@ -0,0 +1,9 @@ +CMake Error at static\.cmake:[0-9]+ \(file\): + Error evaluating generator expression: + + \$ + + Objects of target "static" referenced but is not one of the allowed target + types \(EXECUTABLE, SHARED, MODULE\)\. +Call Stack \(most recent call first\): + CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static.cmake new file mode 100644 index 0000000..dc900dd --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/static.cmake @@ -0,0 +1,9 @@ +enable_language(C) + +add_library(static STATIC static.c) +set(condition) +get_property(multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) +if(multi_config) + set(condition CONDITION "$") +endif() +file(GENERATE OUTPUT "${CMAKE_BINARY_DIR}/dlls.txt" CONTENT "$" ${condition}) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-result.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-stderr.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-stderr.txt new file mode 100644 index 0000000..b6ae099 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1-stderr.txt @@ -0,0 +1,5 @@ +CMake Error at target_link_libraries-cycle1\.cmake:[0-9]+ \(add_library\): + The SOURCES of "lib1" use a generator expression that depends on the + SOURCES themselves\. +Call Stack \(most recent call first\): + CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1.cmake new file mode 100644 index 0000000..f19e9e6 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle1.cmake @@ -0,0 +1,4 @@ +enable_language(C) + +add_library(lib1 SHARED lib1.c) +target_link_libraries(lib1 PRIVATE $) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-result.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-stderr.txt b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-stderr.txt new file mode 100644 index 0000000..9a845f9 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2-stderr.txt @@ -0,0 +1,5 @@ +CMake Error at target_link_libraries-cycle2\.cmake:[0-9]+ \(add_library\): + The SOURCES of "(lib1|lib2)" use a generator expression that depends on the + SOURCES themselves\. +Call Stack \(most recent call first\): + CMakeLists\.txt:[0-9]+ \(include\) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2.cmake new file mode 100644 index 0000000..7d035bd --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries-cycle2.cmake @@ -0,0 +1,6 @@ +enable_language(C) + +add_library(lib1 SHARED lib1.c) +add_library(lib2 SHARED lib2.c) +target_link_libraries(lib1 PRIVATE $) +target_link_libraries(lib2 PRIVATE $) diff --git a/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries.cmake b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries.cmake new file mode 100644 index 0000000..f44dbf4 --- /dev/null +++ b/Tests/RunCMake/GenEx-TARGET_RUNTIME_DLLS/target_link_libraries.cmake @@ -0,0 +1,5 @@ +enable_language(C) + +add_library(lib1 SHARED lib1.c) +add_library(lib2 SHARED lib2.c) +target_link_libraries(lib1 PRIVATE $) -- cgit v0.12