[CMake] Which targets are affected by CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE?
Sebastian
sebastianspublicaddress at googlemail.com
Fri Dec 1 15:44:38 EST 2017
Hi,
The documentation https://cmake.org/cmake/help/v3.10/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE.html
states "CMake automatically adds for each ... target".
I assume the variable has directory scope. So it affects all targets in that directory? Or only targets which are created (by add_library, for example) AFTER setting the variable?
In other words: Which commands evaluates the variable? add_library? target_include_directories?
The documentation could be a bit more clear on this...
Thanks,
Sebastian
More information about the CMake
mailing list