Hi everyone I'm trying to build a custom (C++) library using cmake 2.8.4, mingw32 and intel compiler (icl) on a win7-32 machine, but CMAKE_BUILD_TYPE is not being respected: it's using the debug flags when building with mingw. I've tried setting this variable to "Release" both with the cache editor and editing the CMakeLists.txt file, but flags remain as a debug build.
I have only changed the CMAKE_CXX_FLAGS_RELEASE and CMAKE_CXX_FLAGS_DEBUG, but not CMAKE_CXX_FLAGS. I double checked this with the cache editor. Any suggestions? Is it something to do with mingw or with icl? Do mind that everything works as a charm when building in a linux machine -- Felipe Lema Salas Ingeniero Civil en Computación Laboratorio ALGES Departamento de IngenierÃa en Minas Universidad de Chile
-- 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
