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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to