Files
CMake/Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command.cmake
T
Marc Chevrier 42965799b4 Genex: Add $<LINK_LIBRARY:...>
This generator expression offers the capability, for the link step, to
decorate libraries with prefix/suffix flags and/or adding any specific flag for each
library.

Fixes: #22812, #18751, #20078, #22703
2022-02-08 00:02:32 +01:00

5 lines
127 B
CMake

add_custom_target(drive)
add_custom_command(TARGET drive PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E echo "$<LINK_LIBRARY:feat>"
)