I'm not sure why it's not working for you... sounds like a bug.<br><br>As a workaround, you could pass in the initial values with -D on the cmake or ccmake command line.<br><br>Are you using CMake 2.4.6 or 2.4.7 or something earlier...?
<br><br><div><span class="gmail_quote">On 6/13/07, <b class="gmail_sendername">Vitor Vasconcelos Araujo Silva</b> <<a href="mailto:vasconcv@loria.fr">vasconcv@loria.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> This line:<br>> SET (CMAKE_BUILD_TYPE "Release" CACHE TYPE STRING)<br>><br>> should be:<br>> SET (CMAKE_BUILD_TYPE "Release" CACHE STRING "documentation string here")<br>
><br>> You are trying to specify "TYPE" as the type of the varibale....<br><br> Thanks David,<br><br> Yes, I fell stupid to let pass a mistake like this, but it happens more<br>than should...
<br> But the main problem continues: the value of this variable is not set<br>in the first "ccmake" command. And it only happens in Linux. When I run<br>the same code in Cmake Windows (building Visual Studio or MingW) it works*.
<br><br> * Not completely: in Visual Studio the CMAKE_BUILD_TYPE is set, but I<br>can not set the CMAKE_CONFIGURATION_FILES only to Release...<br><br> Anyway, thanks for your answer with this correction.<br>
<br> Vitor<br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake
</a><br></blockquote></div><br>