CMake/Tests/RunCMake/set_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
..
IMPORTED_GLOBAL
USER_PROP_INHERITED
CMakeLists.txt
Common.cmake
COMPILE_DEFINITIONS-stdout.txt
COMPILE_DEFINITIONS.cmake
COMPILE_FEATURES-stdout.txt
COMPILE_FEATURES.cmake
COMPILE_OPTIONS-stdout.txt
COMPILE_OPTIONS.cmake
IMPORTED_GLOBAL-result.txt
IMPORTED_GLOBAL-stderr.txt Testing: Update hard-coded line numbers to [0-9]+ in some tests 2018-10-10 10:06:27 -04:00
IMPORTED_GLOBAL-stdout.txt
IMPORTED_GLOBAL.cmake
INCLUDE_DIRECTORIES-stdout.txt
INCLUDE_DIRECTORIES.cmake
LINK_DIRECTORIES-stdout.txt
LINK_DIRECTORIES.cmake
LINK_LIBRARIES-stdout.txt
LINK_LIBRARIES.cmake
LINK_OPTIONS-stdout.txt
LINK_OPTIONS.cmake
RunCMakeTest.cmake set_source_files_properties: Allow specification of directory scope 2020-05-14 16:31:22 +02:00
SOURCE_FILE-result.txt set_source_files_properties: Allow specification of directory scope 2020-05-14 16:31:22 +02:00
SOURCE_FILE-stderr.txt set_source_files_properties: Allow specification of directory scope 2020-05-14 16:31:22 +02:00
SOURCE_FILE.cmake set_source_files_properties: Allow specification of directory scope 2020-05-14 16:31:22 +02:00
SOURCES-stdout.txt
SOURCES.cmake
test.cpp
TYPE-result.txt
TYPE-stderr.txt
TYPE.cmake
USER_PROP_INHERITED-stdout.txt
USER_PROP_INHERITED.cmake
USER_PROP-stdout.txt
USER_PROP.cmake