On Jan 25, 2012, at 3:54 PM, Clinton Stimpson wrote: > > Being able to package both a debug and release build into one package using > cpack has come up on the mailing list a couple times. It seems the only > workable solution is to have two makefile builds with a single cpack config > that > points to both. > > However, I'm wondering, in the case of mutli-config generators, if it would > be > acceptable to modify cpack to take multiple configurations as > cpack -C Debug;Release . > > and modify the main loop in > cmCPackGenerator::InstallProjectViaInstallCMakeProjects to also loop over > build types. > > With that, the cpack config file can stay in the one build tree, which is the > typical use case. >
Umm.. never mind. I'd prefer going with a more portable solution and can probably add a flag to create the secondary build tree, and configure the main build tree's CPackConfig file to include the secondary one. Thanks anyway. Clint -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
