[CMake] Problem in ADD_CUSTOM_COMMAND

Malhotra, Anupam Anupam.Malhotra at Safenet-inc.com
Mon Feb 11 23:50:47 EST 2008


Hi

I am using 

GET_TARGET_PROPERTY(vpcl_path vpcl LOCATION)

This command returns the vpcl_path as
C:/NIGHTLY_BUILD_IMPROVED_TESTING/Visual Studio 
6Debug/output/$(IntDir)/vpcl.lib

The $(IntDir) variable must be some CMake specific variable. Instead of
the path returned from GET_TARGET_PROPERTY, I hardcoded the exact path.
But still it's giving no error and the actual copy is still not
happeneing.

Thanks and Regards
Anupam Malhotra

-----Original Message-----
From: Sylvain Benner [mailto:benner at virtools.com] 
Sent: Monday, February 11, 2008 5:29 PM
To: Malhotra, Anupam
Cc: cmake at cmake.org
Subject: Re: [CMake] Problem in ADD_CUSTOM_COMMAND

What's the value of $(IntDir) ?

Have you already tried this :
$(IntDir)/vpcl.lib
instead of
C:/NIGHTLY_BUILD_IMPROVED_TESTING/Visual Studio 
6Debug/output/$(IntDir)/vpcl.lib?
?

And in your path the directory "Visual Studio 6Debug" is right ?

--Sylvain


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