mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Expand includes and defines transitively in 'external' genexes.
This means that we can use expressions of the form $<TARGET_PROPERTY:foo,INTERFACE_INCLUDE_DIRECTORIES> to get a list of the interface include directories of foo, including those coming from dependencies. We can't have a test of a target which has a single include directory in its INCLUDE_DIRECTORIES because the shell on the MSYS platforms transforms a single include directory to include a prefix, which is not what the test expects. We test a target with two directories instead as a means to test a target with no link dependencies.
This commit is contained in:
2
Tests/GeneratorExpression/empty.cpp
Normal file
2
Tests/GeneratorExpression/empty.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
// empty
|
||||
Reference in New Issue
Block a user