CMake/Tests/RunCMake/get_property
Alexandru Croitor 3d4b70ea64 set_source_files_properties: Allow specification of directory scope
Both set_source_files_properties() and set_property(SOURCE) now accept
two new optional arguments: DIRECTORY and TARGET_DIRECTORY.

The DIRECTORY option takes a list of relative or absolute paths
pointing to processed source directories (add_subdirectory was
already called on them).

These paths specify directory scopes where the source file properties
will be set. Previously the scope was always the currently processed
source directory.

Similarly TARGET_DIRECTORY takes a list of targets, whose source
directories will be used as the list of scopes where to set the
source file properties.

get_property() and get_source_file_property() also get the same
new arguments, except only one value can be specified instead
of a list.

Fixes: #20128
2020-05-14 16:31:22 +02:00
..
directory_properties
BadArgument-result.txt
BadArgument-stderr.txt
BadArgument.cmake
BadDirectory-result.txt
BadDirectory-stderr.txt
BadDirectory.cmake
BadScope-result.txt
BadScope-stderr.txt
BadScope.cmake
BadTarget-result.txt
BadTarget-stderr.txt
BadTarget.cmake
BadTest-result.txt
BadTest-stderr.txt
BadTest.cmake
cache_properties-stderr.txt
cache_properties.cmake
CMakeLists.txt
DebugConfigurations-stderr.txt
DebugConfigurations.cmake
directory_properties-stderr.txt
directory_properties.cmake
global_properties-stderr.txt
global_properties.cmake
GlobalName-result.txt
GlobalName-stderr.txt
GlobalName.cmake
install_properties-stderr.txt
install_properties.cmake
IsMultiConfig-stdout.txt
IsMultiConfig.cmake
MissingArgument-result.txt
MissingArgument-stderr.txt
MissingArgument.cmake
NoCache-result.txt
NoCache-stderr.txt
NoCache.cmake
NoProperty-result.txt
NoProperty-stderr.txt
NoProperty.cmake
NoSource-result.txt
NoSource-stderr.txt
NoSource.cmake
NoTarget-result.txt
NoTarget-stderr.txt
NoTarget.cmake
NoTest-result.txt
NoTest-stderr.txt
NoTest.cmake
NotMultiConfig-stdout.txt
NotMultiConfig.cmake
RunCMakeTest.cmake
source_properties_failures-result.txt
source_properties_failures-stderr.txt
source_properties_failures.cmake
source_properties-stderr.txt
source_properties.cmake
target_properties-stderr.txt
target_properties.cmake
test_properties-stderr.txt
test_properties.cmake
VariableName-result.txt
VariableName-stderr.txt
VariableName.cmake