On 05/10/2013 11:23 AM, Paul Smith wrote:
> Is there any way to work around this?  I've tried setting
> CMAKE_CONFIGURATION_TYPES before project()

Make sure you set it as a cache entry:

 set(CMAKE_CONFIGURATION_TYPES
   "Debug;Release;MinSizeRel;RelWithDebInfo"
   CACHE STRING "Supported configs")
 project(MyProject NONE)
 enable_language(C)
 enable_language(CXX)

-Brad
--

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