Files
cmake/Tests/RunCMake/alias_targets/RunCMakeTest.cmake
T
Arha Gatram 79e421b053 ALIAS: Add support for target_* commands
Now that set_property and set_target_properties support ALIAS targets,
we need to extend support to all the target_* type commands that modify
target properties.

Relaxes target_compile_definitions, target_compile_features,
target_compile_options, target_include_directories,
target_link_directories, target_link_libraries, target_link_options,
target_precompile_headers, and target_sources to now accept ALIAS
targets. These commands set properties on the target which the alias
references.
2026-07-08 11:51:50 -04:00

34 lines
968 B
CMake

include(RunCMake)
run_cmake(no-targets)
run_cmake(multiple-targets)
run_cmake(duplicate-target-CMP0107-OLD)
run_cmake(duplicate-target-CMP0107-NEW)
run_cmake(exclude-from-all)
run_cmake(imported)
run_cmake(invalid-name)
run_cmake(invalid-target)
run_cmake(imported-global-target)
run_cmake(imported-target)
run_cmake(alias-target)
run_cmake(set_property)
run_cmake(set_property-ALIAS_GLOBAL)
run_cmake(get_property)
run_cmake(set_target_properties)
run_cmake(set_target_properties-ALIAS_GLOBAL)
run_cmake(target_link_libraries)
run_cmake(target_compile_definitions)
run_cmake(target_compile_features)
run_cmake(target_compile_options)
run_cmake(target_include_directories)
run_cmake(target_link_directories)
run_cmake(target_link_options)
run_cmake(target_precompile_headers)
run_cmake(target_sources)
run_cmake(export)
run_cmake(install-export)
run_cmake(name-conflict)
run_cmake(add_dependencies)
run_cmake(add_executable-library)
run_cmake(add_library-executable)