These flags used by CMake internally to properly handle dependencies (as I can tell from source code). LinkLibraryDependencies is turned on when your target depends on target added wihth include_external_msproject. As for UseLibraryDependencyInputs - you can&#39;t set this flag with CMake.<br>
<br><div class="gmail_quote">On Mon, Jul 11, 2011 at 10:19 AM, Amir Mohammadkhani-Aminabadi <span dir="ltr">&lt;<a href="mailto:amir@mohammadkhani.eu">amir@mohammadkhani.eu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I&#39;d like to add the ability to set a specific MSVC10 Linker flag to cmake and<br>
wonder how to go about it. The problem as I see it is that the flag does<br>
not contain any command line equivalent to use.<br>
<br>
Could someone point me to an similar flag that I can look at and implement<br>
my code in a similiar fashion.<br>
<br>
The linker flags (actually its two while I&#39;m at it):<br>
LinkLibraryDependencies<br>
UseLibraryDependencyInputs<br>
<br>
And they end up modifying the .vcxproj file<br>
&lt;ProjectReference&gt;<br>
&lt;LinkLibraryDependencies&gt;true&lt;<u></u>/LinkLibraryDependencies&gt;<br>
&lt;UseLibraryDependencyInputs&gt;<u></u>true&lt;/<u></u>UseLibraryDependencyInputs&gt;<br>
&lt;/ProjectReference&gt;<br>
<br>
How would this be managed inside the CMakeLists.txt configuration file?<br>
What is the best way to manage such a highly tool-chain depended flag?<br>
<br>
Yes, I do want to set these flags and yes I know why and no I do not want to change<br>
the code to not have to use them. We&#39;ve found solutions that do not require<br>
this flag but I really, really would like to make this solution work too.<br>
<br>
cheers<br>
amir<br>
<br>
______________________________<u></u>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote></div><br>