[CMake] CPack: Packaging debug and release configurations in a single zip

Yngve Inntjore Levinsen yngve.levinsen at gmail.com
Fri Feb 8 03:50:49 EST 2013


On 7/2/13 7:54 PM, Patrick Johnmeyer wrote:
> On Thu, Feb 7, 2013 at 12:41 PM, Yngve Inntjore Levinsen 
> <yngve.levinsen at gmail.com <mailto:yngve.levinsen at gmail.com>> wrote:
>
>     I think you are fighting the tool in any case, because you are
>     asking to build multiple configurations in one build folder (?).
>     Normally you would create one build folder per configuration..
>     Which I guess is what you are doing today.
>
> No, the Visual Studio generator is not a "/single-configuration 
> generator"/. all configurations are bundled into the single generated 
> solution file. This is the standard behavior of CMake under "basic" usage.
>
> Your solution using ExternalProject looks promising, though, I will 
> try this out. Thanks!
Aha, I have mostly used the Makefile generator, and never VS, so I 
didn't know that. I agree, the externalproject trick proposed by Ansis 
sounds better. Good luck!

Cheers,
Yngve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130208/575178c4/attachment.htm>


More information about the CMake mailing list