2

Here is an example script from CMake documentation:

target_link_libraries(myExe lib1 lib2 lib3)
target_include_directories(myExe
  PRIVATE $<TARGET_PROPERTY:lib3,INTERFACE_INCLUDE_DIRECTORIES>)

What is the meaning of $<> here? Can it be substituted with ${} ?

Fedorov7890
  • 1,173
  • 13
  • 28
  • See also [cmake-generator-expressions](https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html). And no, you can't replace them with normal variable expansion. – Florian May 11 '18 at 10:30
  • @Florian Thanks, that partially answers my question. – Fedorov7890 May 11 '18 at 10:40

0 Answers0