equal
deleted
inserted
replaced
162 add_definitions(-DHWLIBRARY) |
162 add_definitions(-DHWLIBRARY) |
163 set(HW_LINK_LIBS hwengine ${HW_LINK_LIBS}) |
163 set(HW_LINK_LIBS hwengine ${HW_LINK_LIBS}) |
164 link_directories(${EXECUTABLE_OUTPUT_PATH}) |
164 link_directories(${EXECUTABLE_OUTPUT_PATH}) |
165 endif() |
165 endif() |
166 |
166 |
167 |
167 #when debugging, always prompt a console to see fronted messages |
168 add_executable(hedgewars WIN32 |
168 #TODO: check it doesn't interfere on UNIX |
|
169 if(CMAKE_BUILD_TYPE MATCHES "RELEASE") |
|
170 set(console_access "WIN32") |
|
171 endif(CMAKE_BUILD_TYPE MATCHES "RELEASE") |
|
172 |
|
173 add_executable(hedgewars ${console_access} |
169 ${hwfr_src} |
174 ${hwfr_src} |
170 ${hwfr_moc_srcs} |
175 ${hwfr_moc_srcs} |
171 ${hwfr_hdrs} |
176 ${hwfr_hdrs} |
172 ${hwfr_rez_src} |
177 ${hwfr_rez_src} |
173 ) |
178 ) |