CMake/Tests/RunCMake/set_property/IMPORTED_GLOBAL-stdout.txt
Deniz Bahadir 6a3922bebe Add new target-property IMPORTED_GLOBAL.
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.
2017-11-07 15:08:41 +01:00

18 lines
984 B
Plaintext

-- ImportedGlobalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedGlobalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedGlobalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedGlobalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedGlobalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedLocalTarget: Target IMPORTED_GLOBAL is 'FALSE'
-- ImportedLocalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedLocalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedLocalTarget: Target IMPORTED_GLOBAL is 'TRUE'
-- NonImportedTarget: Target IMPORTED_GLOBAL is 'FALSE'
-- NonImportedTarget: Target IMPORTED_GLOBAL is 'FALSE'
-- ImportedLocalTarget2: Target IMPORTED_GLOBAL is 'FALSE'
-- ImportedLocalTarget2: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedSubdirTarget1: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedSubdirTarget2: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedSubdirTarget1: Target IMPORTED_GLOBAL is 'TRUE'
-- ImportedSubdirTarget2: Target IMPORTED_GLOBAL is 'TRUE'