[CMake] Setting "Link Library Dependencies" Flag in VS 2005
Malhotra, Anupam
Anupam.Malhotra at Safenet-inc.com
Mon May 5 05:07:02 EDT 2008
Hi Bill
I opened the .vcproj file being generated for my project in edit
mode.Below is the section where the link library dependencies flag is
being set:
<Tool
Name="VCLibrarianTool"
LinkLibraryDependencies="false"
OutputFile="E:\Nightly Build\Visual Studio 8
2005MT\core\client_library\output\MT\$(OutDir)\sntlsp_lsadmin.lib"
/>
Note that I want to set this " LinkLibraryDependencies " flag to true
using CMake. How can I achieve that?
Thanks and Regards
Anupam Malhotra
-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman at kitware.com]
Sent: Friday, May 02, 2008 6:13 PM
To: Malhotra, Anupam
Cc: cmake at cmake.org
Subject: Re: [CMake] Setting "Link Library Dependencies" Flag in VS 2005
Malhotra, Anupam wrote:
> Hi
>
>
>
> I have created a .sln (for VS 2005) using Cmake.In the sln, Project
> Properties->Configuration Properties->Librarian->Link Library
> Dependencies flag is by default set to NO. I want to set this flag
value
> to YES using Cmake. How can this be achieved? I require this flag to
be
> YES so that the library outputs from project dependencies are
> automatically linked in. Any help would be greatly appreciated. Thanks
> in Advance
>
>
Can you figure out what the command line flag is for this? Just turn it
on by hand and go to command line and see what changed. You should be
able to use that command line flag.
-Bill
The information contained in this electronic mail transmission
may be privileged and confidential, and therefore, protected
from disclosure. If you have received this communication in
error, please notify us immediately by replying to this
message and deleting it from your computer without copying
or disclosing it.
More information about the CMake
mailing list