QTfrontend/CMakeLists.txt
changeset 15451 3102d95a870e
parent 15449 6e09555b25b4
child 15555 107170c05bac
equal deleted inserted replaced
15450:47cf2cf736e7 15451:3102d95a870e
   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}