Dear Guillaume,
Thank you for the suggestion. Unfortunately, it seems this option does
not fill the linker property of the linking project.
Otherwise, it seems that STATIC_LIBRARY_FLAGS is adding the link
properties to the 'librarian':
set_target_properties(lib_project PROPERTIES STATIC_LIB
Hi,
You can use the LINK_FLAGS or LINK_FLAGS_ for this:
https://cmake.org/cmake/help/v3.6/prop_tgt/LINK_FLAGS.html
Have you tried that?
Guillaume
On Wed, Aug 3, 2016 at 7:02 AM, Louis-Paul CORDIER wrote:
> ase not t
--
Guillaume Dumont
=
dumont.guilla...@gmail.c
On the target_link_libraries() command documentation page, it is written
that it is possible to pass flags to this function, if they start with a
'-' character.
This functionnality seems to be broken with Visual Studio. Indeed flags
in the Visual Studio linker are using slashes instead of dash.