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't set this flag with CMake.
On Mon, Jul 11, 2011 at 10:19 AM, Amir Mohammadkhani-Aminabadi < [email protected]> wrote: > 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<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<http://www.cmake.org/Wiki/CMake_FAQ> > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >
_______________________________________________ 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
