
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
67 lines
2.8 KiB
Plaintext
67 lines
2.8 KiB
Plaintext
^CMake Error at source_properties_failures.cmake:1 \(set_source_files_properties\):
|
|
set_source_files_properties called with incorrect number of arguments no
|
|
value provided to the DIRECTORY option
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:2 \(set_source_files_properties\):
|
|
set_source_files_properties given non-existent DIRECTORY non_existing_dir
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:3 \(set_source_files_properties\):
|
|
set_source_files_properties called with incorrect number of arguments no
|
|
value provided to the TARGET_DIRECTORY option
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:4 \(set_source_files_properties\):
|
|
set_source_files_properties given non-existent target for DIRECTORY_TARGET
|
|
non_existing_target
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:6 \(get_property\):
|
|
get_property called with incorrect number of arguments no value provided to
|
|
the DIRECTORY option
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:7 \(get_property\):
|
|
get_property given non-existent DIRECTORY non_existing_dir
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:8 \(get_property\):
|
|
get_property called with incorrect number of arguments no value provided to
|
|
the TARGET_DIRECTORY option
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:9 \(get_property\):
|
|
get_property given non-existent target for DIRECTORY_TARGET
|
|
non_existing_dir
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:11 \(get_source_file_property\):
|
|
get_source_file_property given non-existent DIRECTORY PROPERTY
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:12 \(get_source_file_property\):
|
|
get_source_file_property called with incorrect number of arguments
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:13 \(get_source_file_property\):
|
|
get_source_file_property given non-existent target for DIRECTORY_TARGET
|
|
PROPERTY
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)
|
|
+
|
|
CMake Error at source_properties_failures.cmake:14 \(get_source_file_property\):
|
|
get_source_file_property called with incorrect number of arguments
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists\.txt:[0-9]+ \(include\)$
|