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