equal
deleted
inserted
replaced
188 endif() |
188 endif() |
189 endif() |
189 endif() |
190 |
190 |
191 #when debugging, always prompt a console to see fronted messages |
191 #when debugging, always prompt a console to see fronted messages |
192 #TODO: check it doesn't interfere on UNIX |
192 #TODO: check it doesn't interfere on UNIX |
193 if(CMAKE_BUILD_TYPE MATCHES "RELEASE") |
193 if(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO") |
194 set(console_access "WIN32") |
194 set(console_access "WIN32") |
195 endif(CMAKE_BUILD_TYPE MATCHES "RELEASE") |
195 endif(CMAKE_BUILD_TYPE MATCHES "RELEASE" OR CMAKE_BUILD_TYPE MATCHES "RELWITHDEBINFO") |
196 |
196 |
197 add_executable(hedgewars ${console_access} |
197 add_executable(hedgewars ${console_access} |
198 ${hwfr_src} |
198 ${hwfr_src} |
199 ${hwfr_moc_srcs} |
199 ${hwfr_moc_srcs} |
200 ${hwfr_hdrs} |
200 ${hwfr_hdrs} |