[CMake] Building multiple releases for a visual studio project

John Drescher drescherjm at gmail.com
Tue Jun 8 15:55:24 EDT 2010


On Tue, Jun 8, 2010 at 2:52 PM, Torri, Stephen CIV NSWCDD, W15
<stephen.torri at navy.mil> wrote:
> I was wondering if it was possible to have a CMake project that builds a Microsoft Visual Studio Project produce an NSIS installer for each kind of build (e.g. debug, release, RelWithDebug). Right now I can build the project via Visual Studio for all the build types which is great. Now I would like to have one NSIS installer for each type. Is that possible?
>

Copy the package then switch the build type in visual studio and then
run package. The file overwrites the previous nsis package with the
same name but I am pretty sure it builds for the current
configuration.

John


More information about the CMake mailing list