summarylogtreecommitdiffstats
path: root/CMakeLists.txt.patch
blob: 9b6dc640f8b48d36f4c84477a89c6a25c626edd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- /opt/cocos2d-x/templates/cpp-template-default/CMakeLists.txt	2017-04-12 15:00:32.000000000 -0400
+++ CMakeLists.txt	2017-04-21 06:56:01.553541916 -0400
@@ -138,7 +138,22 @@
 )
 
 
-# Configure libcocos2d
+# Configure libcocos2d:
+# Uncomment to disable/enable compilation and linking of the following features:
+#set(USE_CHIPMUNK OFF CACHE BOOL "Use chipmunk for physics library")
+#set(USE_BOX2D ON CACHE BOOL "Use box2d for physics library")
+#set(USE_BULLET OFF CACHE BOOL "Use bullet for physics3d library")
+#set(USE_RECAST OFF CACHE BOOL "Use Recast for navigation mesh")
+#set(USE_WEBP OFF CACHE BOOL "Use WebP codec")
+#set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared libraries")
+#set(DEBUG_MODE OFF CACHE BOOL "Debug or release?")
+#set(BUILD_EXTENSIONS OFF CACHE BOOL "Build extension library")
+#set(BUILD_EDITOR_SPINE OFF CACHE BOOL "Build editor support for spine")
+#set(BUILD_EDITOR_COCOSTUDIO OFF CACHE BOOL "Build editor support for cocostudio")
+#set(BUILD_EDITOR_COCOSBUILDER OFF CACHE BOOL "Build editor support for cocosbuilder")
+#set(BUILD_BOX2D OFF CACHE BOOL "Build box2d external without using it for physics library")
+#set(USE_PREBUILT_LIBS OFF CACHE BOOL "Use prebuilt libraries in external directory") # Note: there's no support for this in Linux
+#set(USE_SOURCES_EXTERNAL OFF CACHE BOOL "Use sources in external directory (automatically ON when USE_PREBUILT_LIBS is)") # Note: there's no support for this in Linux
 set(BUILD_CPP_EMPTY_TEST OFF CACHE BOOL "turn off build cpp-empty-test")
 set(BUILD_CPP_TESTS OFF CACHE BOOL "turn off build cpp-tests")
 set(BUILD_LUA_LIBS OFF CACHE BOOL "turn off build lua related targets")