equal
deleted
inserted
replaced
51 #set some default values |
51 #set some default values |
52 option(NOSERVER "Disable gameServer build [default: auto]" OFF) |
52 option(NOSERVER "Disable gameServer build [default: auto]" OFF) |
53 option(NOPNG "Disable screenshoot compression [default: auto]" OFF) |
53 option(NOPNG "Disable screenshoot compression [default: auto]" OFF) |
54 option(NOVIDEOREC "Disable video recording [default: auto]" OFF) |
54 option(NOVIDEOREC "Disable video recording [default: auto]" OFF) |
55 |
55 |
56 option(BUILD_ENGINE_LIBRARY "Enable hwengine library [default: off]" OFF) |
|
57 option(ANDROID "Enable Android build [default: off]" OFF) |
56 option(ANDROID "Enable Android build [default: off]" OFF) |
58 option(WEBGL "Enable WebGL build (implies NOPASCAL) [default: off]" OFF) |
57 option(WEBGL "Enable WebGL build (implies NOPASCAL) [default: off]" OFF) |
|
58 option(LIBENGINE "Enable hwengine library [default: off]" OFF) |
|
59 |
59 option(NOPASCAL "Compile hwengine as native C [default: off]" ${WEBGL}) |
60 option(NOPASCAL "Compile hwengine as native C [default: off]" ${WEBGL}) |
60 |
|
61 option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF) |
61 option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF) |
62 option(CROSSAPPLE "Enable OSX when not on OSX [default: off]" OFF) |
62 option(CROSSAPPLE "Enable OSX when not on OSX [default: off]" OFF) |
63 |
63 |
64 |
64 |
65 #bundle .app setup |
65 #bundle .app setup |
263 #Android related build scripts |
263 #Android related build scripts |
264 if(ANDROID) |
264 if(ANDROID) |
265 add_subdirectory(project_files/Android-build) |
265 add_subdirectory(project_files/Android-build) |
266 endif() |
266 endif() |
267 |
267 |
268 #TODO: when ANDROID, BUILD_ENGINE_LIBRARY should be set |
268 #TODO: when ANDROID, LIBENGINE should be set |
269 if(NOT (BUILD_ENGINE_LIBRARY OR ANDROID)) |
269 if(NOT (LIBENGINE OR ANDROID)) |
270 add_subdirectory(bin) |
270 add_subdirectory(bin) |
271 add_subdirectory(misc/quazip) |
271 add_subdirectory(misc/quazip) |
272 add_subdirectory(QTfrontend) |
272 add_subdirectory(QTfrontend) |
273 add_subdirectory(share) |
273 add_subdirectory(share) |
274 add_subdirectory(tools) |
274 add_subdirectory(tools) |