[ITK] Changing between Debug/Release Builds

Wood, Tobias tobias.wood at kcl.ac.uk
Thu Jan 26 04:44:34 EST 2017


Hi Francois,

> What is your development environment? Are you using Windows/Visual Studio? Are you working on Linux or Mac?

I work on Mac / Linux. I’m building from the command-line (cmake / make) on Mac, I’m not using XCode.

> The email thread you are referencing is about Visual Studio. The configuration that is described in it is having on build folder. The build type is set directly in Visual Studio. You can then have both a Debug and a Release version in the same build directory.

Ahah! Thank you, that’s what I wasn’t understanding about that e-mail thread.

> If you work with a different environment, you most likely will have to have two build folders as, as you saw, the build type is selected at configuration time with CMAKE_BUILD_TYPE.

So is there a way on Mac/Linux to select between Release/Debug ITK just by specifying the CMAKE_BUILD_TYPE in my own project? 

Toby



More information about the Community mailing list