equal
deleted
inserted
replaced
282 list(APPEND haskell_flags "-w" # no warnings |
282 list(APPEND haskell_flags "-w" # no warnings |
283 ) |
283 ) |
284 endif() |
284 endif() |
285 |
285 |
286 |
286 |
287 |
|
288 #server discovery |
|
289 if(NOT NOSERVER) |
|
290 if(GHC) |
|
291 set(ghc_executable ${GHC}) |
|
292 else() |
|
293 find_program(ghc_executable ghc) |
|
294 endif() |
|
295 |
|
296 if(ghc_executable) |
|
297 add_subdirectory(gameServer) |
|
298 message(STATUS "Found GHC: ${ghc_executable}") |
|
299 else() |
|
300 message(${WARNING} "Could NOT find GHC, server will not be built") |
|
301 set(HAVE_NETSERVER false) |
|
302 endif() |
|
303 else() |
|
304 message(STATUS "Server will not be built per user request") |
|
305 set(HAVE_NETSERVER false) |
|
306 endif() |
|
307 |
|
308 |
|
309 #lua discovery |
287 #lua discovery |
310 find_package(Lua) |
288 find_package(Lua) |
311 if(LUA_FOUND) |
289 if(LUA_FOUND) |
312 message(STATUS "Found LUA: ${LUA_DEFAULT}") |
290 message(STATUS "Found LUA: ${LUA_DEFAULT}") |
313 else() |
291 else() |
360 endif() |
338 endif() |
361 else() |
339 else() |
362 set(FFMPEG_FOUND false) |
340 set(FFMPEG_FOUND false) |
363 endif() |
341 endif() |
364 |
342 |
365 # |
343 #physfs helper library |
366 add_subdirectory(misc/libphyslayer) |
344 add_subdirectory(misc/libphyslayer) |
|
345 |
|
346 #server |
|
347 if(NOT NOSERVER) |
|
348 add_subdirectory(gameServer) |
|
349 endif() |
367 |
350 |
368 #main engine |
351 #main engine |
369 add_subdirectory(hedgewars) |
352 add_subdirectory(hedgewars) |
370 |
353 |
371 #Android related build scripts |
354 #Android related build scripts |