Mercurial > projects > qtd
comparison CMakeLists.txt @ 88:201684eb20ee
-O is back
author | maxter |
---|---|
date | Tue, 26 May 2009 11:26:50 +0000 |
parents | bee1446909c5 |
children | 8a4e85876ea8 |
comparison
equal
deleted
inserted
replaced
87:f46133029d8b | 88:201684eb20ee |
---|---|
112 message(STATUS "Only debug and release configuration are now supproted. Configuration changed to 'Release'") | 112 message(STATUS "Only debug and release configuration are now supproted. Configuration changed to 'Release'") |
113 set(CMAKE_BUILD_TYPE Release) | 113 set(CMAKE_BUILD_TYPE Release) |
114 endif (${CMAKE_BUILD_TYPE} MATCHES [dD][eE][bB][uU][gG]) | 114 endif (${CMAKE_BUILD_TYPE} MATCHES [dD][eE][bB][uU][gG]) |
115 if (${CMAKE_BUILD_TYPE} MATCHES [rR][eE][lL][eE][aA][sS]) | 115 if (${CMAKE_BUILD_TYPE} MATCHES [rR][eE][lL][eE][aA][sS]) |
116 #add_definitions(-UNO_DEBUG) | 116 #add_definitions(-UNO_DEBUG) |
117 set(D_FLAGS ${D_FLAGS} -release -inline) | 117 set(D_FLAGS ${D_FLAGS} -O -release) |
118 if(D_IS_MARS) | 118 if(D_IS_MARS) |
119 set(D_FLAGS ${D_FLAGS} -inline) | 119 set(D_FLAGS ${D_FLAGS} -inline) |
120 elseif(D_IS_LLVM) | 120 elseif(D_IS_LLVM) |
121 set(D_FLAGS ${D_FLAGS} -enable-inlining) | 121 set(D_FLAGS ${D_FLAGS} -enable-inlining) |
122 endif(D_IS_MARS) | 122 endif(D_IS_MARS) |