Ben Larson wrote:
Is the correct way to tell MSVC6 to build a release version of my project to use the command SET (CMAKE_BUILD_TYPE Release) in the CMakeLists.txt file?

No. CMAKE_BUILD_TYPE is used to select the configuration for single-configuration generators such as Makefiles. The VS6 generator is a multi-configuration generator, so CMAKE_BUILD_TYPE is ignored and both Debug and Release configurations are generated. When you load the project in the IDE go to the "Build" menu and select "Set Active Configuration". In the resulting dialog set the configuration to

  ALL_BUILD - Win32 Release

and then build the project.

-Brad
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to