5412deded1
Extend the interface of the target_compile_features command with PUBLIC and INTERFACE keywords. Populate the INTERFACE_COMPILER_FEATURES target property if they are set. Consume the INTERFACE_COMPILER_FEATURES target property from linked dependent targets to determine the final required compiler features and the compile flag, if needed. Use the same pattern of origin-debugging which is used for other build properties.
12 lines
323 B
Plaintext
12 lines
323 B
Plaintext
CMake Debug Log at NotAFeature_OriginDebugTransitive.cmake:6 \(target_link_libraries\):
|
|
Used compile features for target somelib:
|
|
|
|
\* not_a_feature
|
|
|
|
Call Stack \(most recent call first\):
|
|
CMakeLists.txt:3 \(include\)
|
|
|
|
|
|
CMake Error in CMakeLists.txt:
|
|
Specified unknown feature "not_a_feature" for target "somelib".
|