[CMake] Setting "Force Symbol Reference" field in Visual Studio
Michael Wild
themiwi at gmail.com
Wed May 19 13:18:15 EDT 2010
On 19. May, 2010, at 18:52 , Felipe Sodré Silva wrote:
> Hello all,
>
> I need to write a CMakeLists for a project in Visual Studio, which needs to
> have the Force Symbol Reference field set to a given value. How can I
> specify this value in CMakeLists.txt ?
>
> Best regards,
>
> Felipe
If I read http://msdn.microsoft.com/en-us/library/2s3hwbhs.aspx correctly, something like this should do the trick:
set_target_properties(foo PROPERTIES LINK_FLAGS /INCLUDE:bar)
HTH
Michael
More information about the CMake
mailing list