mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-13 18:49:38 -06:00
The purpose of this new `IMPORTED_GLOBAL` target-property is to prolong the lifetime and scope of `IMPORTED` targets in such a way as if they had been created with the keyword `GLOBAL` in the first place. * It can only be set to `TRUE`. That means, a local `IMPORTED` target can be promoted to global scope but a global `IMPORTED` target cannot be degraded to local scope! * Setting it to `TRUE` only succeeds if done from within the same directory in which the `IMPORTED` target was created in the first place. Fixes #17256.
12 lines
245 B
CMake
12 lines
245 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(COMPILE_DEFINITIONS)
|
|
run_cmake(COMPILE_FEATURES)
|
|
run_cmake(COMPILE_OPTIONS)
|
|
run_cmake(IMPORTED_GLOBAL)
|
|
run_cmake(INCLUDE_DIRECTORIES)
|
|
run_cmake(LINK_LIBRARIES)
|
|
run_cmake(SOURCES)
|
|
run_cmake(TYPE)
|
|
run_cmake(USER_PROP)
|