equal
deleted
inserted
replaced
28 endif() |
28 endif() |
29 |
29 |
30 option(BUILD_ENGINE_LIBRARY "Enable hwengine library (off)" OFF) |
30 option(BUILD_ENGINE_LIBRARY "Enable hwengine library (off)" OFF) |
31 option(ANDROID "Enable Android build (off)" OFF) |
31 option(ANDROID "Enable Android build (off)" OFF) |
32 |
32 |
33 if(UNIX AND NOT APPLE) |
33 option(MINIMAL_FLAGS "Respect system flags as much as possible (off)" OFF) |
34 option(MINIMAL_FLAGS "Respect system flags as much as possible (off)" OFF) |
34 option(NOAUTOUPDATE "Disable OS X Sparkle update checking (off)" OFF) |
35 else() |
|
36 option(NOAUTOUPDATE "Disable OS X Sparkle update checking" OFF) |
|
37 endif() |
|
38 |
35 |
39 option(WEBGL "Enable WebGL build (implies NOPASCAL) [default: off]" OFF) |
36 option(WEBGL "Enable WebGL build (implies NOPASCAL) [default: off]" OFF) |
40 option(NOPASCAL "Compile hwengine as native C [default: off]" ${WEBGL}) |
37 option(NOPASCAL "Compile hwengine as native C [default: off]" ${WEBGL}) |
41 option(GL2 "Enable OpenGL 2 rendering [default: off]" OFF) |
38 option(GL2 "Enable OpenGL 2 rendering [default: off]" OFF) |
42 |
39 |
92 set(CMAKE_C_FLAGS_RELEASE "") |
89 set(CMAKE_C_FLAGS_RELEASE "") |
93 set(CMAKE_C_FLAGS_DEBUG "-Wall") |
90 set(CMAKE_C_FLAGS_DEBUG "-Wall") |
94 set(CMAKE_CXX_FLAGS_RELEASE "") |
91 set(CMAKE_CXX_FLAGS_RELEASE "") |
95 set(CMAKE_CXX_FLAGS_DEBUG "-Wall") |
92 set(CMAKE_CXX_FLAGS_DEBUG "-Wall") |
96 endif() |
93 endif() |
|
94 |
97 |
95 |
98 #parse additional parameters |
96 #parse additional parameters |
99 if(FPFLAGS) |
97 if(FPFLAGS) |
100 add_flag_prepend(CMAKE_Pascal_FLAGS ${FPFLAGS}) |
98 add_flag_prepend(CMAKE_Pascal_FLAGS ${FPFLAGS}) |
101 endif() |
99 endif() |