Hi. I just want to know if this is normal/expected.  When I use CMake to generate a XCode project, i.e, &quot;cmake -G Xcode&quot;, the settings DO NOT match the makefiles that were generated by CMake. For example, in the CMakeFiles.txt I have this line:<br>
<br>add_definitions(-arch i386 -mmacosx-version-min=10.5<span style="background-color: rgb(255, 255, 51);"> -g3 -O0</span> -msse3 -fvisibility=hidden -funroll-loops -fasm-blocks -finline-functions -mfpmath=sse -march=pentium-m -falign-functions=16 -fno-gcse -fno-cse-follow-jumps -std=gnu99 -DBUILD_FOR_OSX -DUSE_INLINE_MEMORY_ACCESSORS -DLSB_FIRST -DHAVE_SYS_TIME_H -DHAVE_NANOSLEEP -DNDEBUG=0 -DDEBUGVM=1 -DCOGMTVM=1 -DUSE_GLOBAL_STRUCT=0 -DBASE_HEADER_SIZE=4 -DCOGVM)<br>
<br>Notice the &quot;-g3 -O0&quot;.  Now..if I open XCode, right click on the terget, &quot;get info&quot;, &quot;build&quot; tab, and look the &quot;Optimization Level&quot; it says -Os. ALWAYS. It doesn&#39;t matter what is in CMake, there it always says -Os. Moreever, changing that, doesn&#39;t have any impact. The optimization level is the want defined in CMake.   <br>
<br>Conclusion: the XCode project is compiling with the makefiles generated from CMake, but the settings of the projects are not correctly set ? Is this expected ? I am the only one noticing this ?<br><br>Thanks<br><br>-- <br>
Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>