> I've managed to get an NSIS project up and running in VIsual Studio with
> CPack, but I can't figure out how to determine which configuration type is
> being built.  Is it possible to write up a CMakeLists that will run through
> different conditionals based off of the Build Configuration Type selected in
> Visual Studio?  If a user selects a Debug build I'd like to be able to tell
> the installer to be built with the Debug libraries instead of the Release.
>

That is what it does. When debug is selected in Visual Studio and you
build the PACKAGE project it will build this using debug libs.

John
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to