mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
Tests/RunCMake/property_init: test 'with_artifact' properties
This commit is contained in:
@@ -11,3 +11,4 @@ run_cmake(NonImportedTarget)
|
|||||||
run_cmake(NormalTarget)
|
run_cmake(NormalTarget)
|
||||||
run_cmake(PICTargets)
|
run_cmake(PICTargets)
|
||||||
run_cmake(SharedLibrary)
|
run_cmake(SharedLibrary)
|
||||||
|
run_cmake(TargetsWithArtifact)
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
set(dir "${CMAKE_CURRENT_BINARY_DIR}")
|
||||||
|
|
||||||
|
per_config(properties
|
||||||
|
# property expected alias
|
||||||
|
# Compilation properties
|
||||||
|
"INTERPROCEDURAL_OPTIMIZATION_" "OFF" "<UNSET>"
|
||||||
|
|
||||||
|
# Output location properties
|
||||||
|
"ARCHIVE_OUTPUT_DIRECTORY_" "${dir}" "<UNSET>"
|
||||||
|
"COMPILE_PDB_OUTPUT_DIRECTORY_" "${dir}" "<UNSET>"
|
||||||
|
"LIBRARY_OUTPUT_DIRECTORY_" "${dir}" "<UNSET>"
|
||||||
|
"PDB_OUTPUT_DIRECTORY_" "${dir}" "<UNSET>"
|
||||||
|
"RUNTIME_OUTPUT_DIRECTORY_" "${dir}" "<UNSET>"
|
||||||
|
)
|
||||||
|
|
||||||
|
prepare_target_types(with_artifact
|
||||||
|
EXECUTABLE MODULE SHARED STATIC
|
||||||
|
IMPORTED_EXECUTABLE IMPORTED_MODULE IMPORTED_SHARED IMPORTED_STATIC)
|
||||||
|
run_property_tests(with_artifact properties)
|
||||||
Reference in New Issue
Block a user