|
@@ -18,6 +18,7 @@ SUPERTUX_LICENSE_FILES = LICENSE.txt data/AUTHORS
|
|
|
SUPERTUX_DEPENDENCIES = host-pkgconf boost freetype libcurl libgl libglew libglu \
|
|
|
libogg libpng libvorbis openal physfs sdl2 sdl2_image
|
|
|
|
|
|
+# CMAKE_BUILD_TYPE=Release: disable profiling code (-pg)
|
|
|
# ENABLE_BOOST_STATIC_LIBS=OFF: use boost shared libraries since supertux
|
|
|
# depends on !BR2_STATIC_LIBS and boost provide only shared libraries with
|
|
|
# BR2_SHARED_LIBS.
|
|
@@ -28,6 +29,7 @@ SUPERTUX_DEPENDENCIES = host-pkgconf boost freetype libcurl libgl libglew libglu
|
|
|
# in physfs.h (CHECK_SYMBOL_EXISTS) doesn't work.
|
|
|
# ENABLE_OPENGLES2=OFF: Disable opengles2 for now.
|
|
|
SUPERTUX_CONF_OPTS += \
|
|
|
+ -DCMAKE_BUILD_TYPE=Release \
|
|
|
-DENABLE_BOOST_STATIC_LIBS=OFF \
|
|
|
-DBUILD_DOCUMENTATION=OFF \
|
|
|
-DENABLE_OPENGL=ON \
|