[CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake
Ravi Raman
ravi.raman at Xoriant.Com
Thu Jul 31 07:39:41 EDT 2014
Hi David,
Thanks for the reply. Understood.
Will use the cmake function add_custom_command() with POST_BUILD option in case of after build and PRE_BUILD option in case of before build.
Thanks & Regards
Ravi Raman
Xoriant Solutions Pvt. Ltd
4th Floor, Winchester, Hiranandani Business Park, Powai, Mumbai 400076, INDIA.
Tel: +91 22 30511000,9930100026 Extn: 2144 Voip No. 4088344495/96/97/98 Voip Extn:1178| Fax: +91 22 30511111
ravi.raman at xoriant.com| http://www.xoriant.com
-----Original Message-----
From: David Cole [mailto:dlrdave at aol.com]
Sent: Thursday, July 31, 2014 4:55 PM
To: Ravi Raman
Cc: cmake at cmake.org
Subject: Re: [CMake] Cmake issue regarding conversion of existing Visual Studio .targets files to cmake
So from the example you've sent, it seems like the stuff in your
targets file is just a bunch of custom commands that you'd need to run.
There are plenty of examples of projects using add_custom_command and
add_custom_target out there, and if you have specific questions about
how those commands work, do send more emails and ask those questions.
I don't think there's anything out there that will help you automate
this task.... but if there is, hopefully somebody who can point you to
them will show up here.
Otherwise, it's just "roll up your sleeves" time, and do the work
manually to convert targets files into CMakeLists that use
add_custom_command.
Cheers,
David C.
More information about the CMake
mailing list