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:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 5:29 PM To: Malhotra, Anupam Cc: [email protected] 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. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
