Hi,

I'd like to add the ability to set a specific MSVC10 Linker flag to cmake and
wonder how to go about it. The problem as I see it is that the flag does
not contain any command line equivalent to use.

Could someone point me to an similar flag that I can look at and implement
my code in a similiar fashion.

The linker flags (actually its two while I'm at it):
LinkLibraryDependencies
UseLibraryDependencyInputs

And they end up modifying the .vcxproj file
<ProjectReference>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
<UseLibraryDependencyInputs>true</UseLibraryDependencyInputs>
</ProjectReference>

How would this be managed inside the CMakeLists.txt configuration file?
What is the best way to manage such a highly tool-chain depended flag?

Yes, I do want to set these flags and yes I know why and no I do not want to change
the code to not have to use them. We've found solutions that do not require
this flag but I really, really would like to make this solution work too.

cheers
amir

_______________________________________________
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