[CMake] Using CMake 2.8.11 to generate Visual Studo C++ Makefile Project in addition to Win32 C++ Projects (.dll/.exe)

Jason Babicka JBabicka at trustwave.com
Mon Jan 13 12:18:26 EST 2014


>>  You can use add_custom_target() which in case of the visual studio generators will create a project that can execute commands of your choice.
>> Alternatively you can use add_custom_command() to  attach commands to existing targets (e.g. visual studio projects) or to produce an output that can be depended on by another target.
>>
>> Nils

Nils, thank you for that suggestion.  Using the add_custom_target() command in addition to the add_custom_command(), I was able to come up with a solution that will give me what I was looking for.

-Jason

________________________________

This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140113/1438dc73/attachment.html>


More information about the CMake mailing list