equal
deleted
inserted
replaced
134 campaign.h |
134 campaign.h |
135 ) |
135 ) |
136 |
136 |
137 set(hwfr_rez hedgewars.qrc) |
137 set(hwfr_rez hedgewars.qrc) |
138 |
138 |
|
139 if(BUILD_ENGINE_LIBRARY) |
|
140 add_definitions(-DHWLIBRARY) |
|
141 set(HW_LINK_LIBS hwengine ${HW_LINK_LIBS}) |
|
142 link_directories(${EXECUTABLE_OUTPUT_PATH}) |
|
143 endif() |
|
144 |
139 qt4_add_resources(hwfr_rez_src ${hwfr_rez}) |
145 qt4_add_resources(hwfr_rez_src ${hwfr_rez}) |
140 |
146 |
141 qt4_wrap_cpp(hwfr_moc_srcs ${hwfr_moc_hdrs}) |
147 qt4_wrap_cpp(hwfr_moc_srcs ${hwfr_moc_hdrs}) |
142 |
148 |
143 |
149 |
158 set(HW_LINK_LIBS ${SPARKLE_LIBRARY} ${HW_LINK_LIBS}) |
164 set(HW_LINK_LIBS ${SPARKLE_LIBRARY} ${HW_LINK_LIBS}) |
159 endif() |
165 endif() |
160 endif() |
166 endif() |
161 endif() |
167 endif() |
162 |
168 |
163 if(BUILD_ENGINE_LIBRARY) |
|
164 add_definitions(-DHWLIBRARY) |
|
165 set(HW_LINK_LIBS hwengine ${HW_LINK_LIBS}) |
|
166 link_directories(${EXECUTABLE_OUTPUT_PATH}) |
|
167 endif() |
|
168 |
|
169 #when debugging, always prompt a console to see fronted messages |
169 #when debugging, always prompt a console to see fronted messages |
170 #TODO: check it doesn't interfere on UNIX |
170 #TODO: check it doesn't interfere on UNIX |
171 if(CMAKE_BUILD_TYPE MATCHES "RELEASE") |
171 if(CMAKE_BUILD_TYPE MATCHES "RELEASE") |
172 set(console_access "WIN32") |
172 set(console_access "WIN32") |
173 endif(CMAKE_BUILD_TYPE MATCHES "RELEASE") |
173 endif(CMAKE_BUILD_TYPE MATCHES "RELEASE") |