QTfrontend/CMakeLists.txt
changeset 10783 8e742c9ffdf8
parent 10489 bde3e43d7b27
child 11362 ed5a6478e710
equal deleted inserted replaced
10782:6feaf9a863dd 10783:8e742c9ffdf8
   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}