[Cmake] Re: What if I _don't_ want link libraries propagated to
SUBDIRS?
Brad King
brad.king at kitware.com
Thu, 15 Jan 2004 17:02:54 -0500 (EST)
On Thu, 15 Jan 2004, Terry Lorber wrote:
> Poking around in ${CMAKE_ROOT}\Modules\Platform\Windows-cl.cmake I found
> these lines:
>
> SET(CMAKE_CXX_LINK_EXECUTABLE
> "<CMAKE_CXX_COMPILER> /nologo ${CMAKE_START_TEMP_FILE} <FLAGS>
> <OBJECTS> /Fe<TARGET> -link <CMAKE_CXX_LINK_FLAGS> <LINK_FLAGS>
> <LINK_LIBRARIES>${CMAKE_END_TEMP_FILE}")
>
> Can I set any of the <...> stuff using SET_TARGET_PROPERTIES? Is
> LINK_FLAGS the only property that is valid for an executable target?
Yes, LINK_FLAGS is the only property for executables right now.
-Brad