Re: [CMake] Adding a Visual Studio 10 specific flag

2011-07-15 Thread Yuri Timenkov
Hi Amir, Although It's better to hear answer from CMake authors I could try to give you some clues. If your project is completely managed by CMake, it's better to employ target property. So, you should add one to property definition map (in cmTarget.cxx), say "MS_USE_LIBRARY_DEPENDENCY_INPUTS".

Re: [CMake] Adding a Visual Studio 10 specific flag

2011-07-13 Thread Amir Mohammadkhani-Aminabadi
Hi Yuri, thanks for the feedback, 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

Re: [CMake] Adding a Visual Studio 10 specific flag

2011-07-12 Thread Yuri Timenkov
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

[CMake] Adding a Visual Studio 10 specific flag

2011-07-10 Thread Amir Mohammadkhani-Aminabadi
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 sim