equal
deleted
inserted
replaced
211 endif() |
211 endif() |
212 endif() |
212 endif() |
213 |
213 |
214 #when debugging, always prompt a console to see fronted messages |
214 #when debugging, always prompt a console to see fronted messages |
215 #TODO: check it doesn't interfere on UNIX |
215 #TODO: check it doesn't interfere on UNIX |
216 if(CMAKE_BUILD_TYPE MATCHES "Release" OR CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo") |
216 if(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") |
217 set(console_access "WIN32") |
217 set(console_access "WIN32") |
218 endif(CMAKE_BUILD_TYPE MATCHES "Release" OR CMAKE_BUILD_TYPE MATCHES "RelWithDebInfo") |
218 endif(CMAKE_BUILD_TYPE STREQUAL "Release" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") |
219 |
219 |
220 add_executable(hedgewars ${console_access} |
220 add_executable(hedgewars ${console_access} |
221 ${hwfr_src} |
221 ${hwfr_src} |
222 ${hwfr_moc_srcs} |
222 ${hwfr_moc_srcs} |
223 ${hwfr_hdrs} |
223 ${hwfr_hdrs} |