For a couple days now, I've been looking high and low at documentation about single-config CMAKE_BUILD_TYPE (e.g. Makefile) and multi-config CMAKE_CONFIGURATION_TYPES but I still have some questions.

It seems that those variables are mutually exclusive, (depending on whether you're using single- or multi-config generator). This wasn't clear from the documentation. I had to find it in this useful mailing list thread: http://www.cmake.org/pipermail/cmake/2011-June/044836.html Am I missing some document someplace? I've read the html help, the wiki

In the case of single-config generators, does CMAKE_BUILD_TYPE the variable which fills in '<CONFIG>' in the various property names? This is confusing, given 'CMAKE_BUILD_TYPE' and 'CMAKE_CONFIGURATION_TYPES' are mutually exclusive.

Can you recommend a stellar example of a cross platform project that utilizes different built types (or multi configurations)?

-Carl

--

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