<div>Hi everyone<br clear="all"></div><div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>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</div>
<br>-- <br><p>Felipe Lema Salas<br>Ingeniero Civil en Computación<br>Laboratorio ALGES<br>Departamento de Ingeniería en Minas<br>Universidad de Chile<br></p><br><br>