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.

Thanks.

-- 
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
--

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

Reply via email to