> Ok but how do I make a release build with cmake? > CMake should already create a 3 different Release builds. However you have to compile it to use it. I usually use a Batch Build from the Visual Studio GUI and select only the INSTALL targets for RelWithDebInfo and Debug. John