On Friday 17 October 2008, Mathieu Malaterre wrote:
...
> Quick question, here is how one create executable in C#:
>
>   SET(CMAKE_CSharp_LINK_EXECUTABLE
>     "<CMAKE_CSharp_COMPILER> <FLAGS> <OBJECTS> -out:<TARGET>.exe
> <LINK_LIBRARIES>")
>
> The problem here is that i need to prepend each added libary using
> "/r" , I could not figure out which flag dictate that (for now
> <LINK_LIBRARIES> expand to 'foo.dll', while I need '/r:foo.dll').

Not sure, but did you set CMAKE_LINK_LIBRARY_FLAG ?

Alex


>
> thanks
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to