CMakeLists.txt
branchhedgeroid
changeset 6025 cac1d5601d7c
parent 6023 a28be05b20bc
child 6224 42b256eca362
--- a/CMakeLists.txt	Sun Sep 25 18:24:01 2011 +0200
+++ b/CMakeLists.txt	Mon Sep 26 00:03:14 2011 +0200
@@ -192,8 +192,10 @@
 add_subdirectory(misc/liblua)
 add_subdirectory(hedgewars)
 
-#Xeli: Should if/endif this one too?
-add_subdirectory(project_files/Android-build)
+#run cmake -DBUILD_ANDROID_PORT=1 to enable this
+if(BUILD_ANDROID_PORT)
+	add_subdirectory(project_files/Android-build)
+endif()
 
 if(NOT BUILD_ENGINE_LIBRARY)
 	add_subdirectory(bin)
@@ -267,7 +269,7 @@
 	"CMakeCache\\\\.txt$"
 #	"^${CMAKE_CURRENT_SOURCE_DIR}/misc/libopenalbridge"
 #	"^${CMAKE_CURRENT_SOURCE_DIR}/misc/libfreetype"
-#	"^${CMAKE_CURRENT_SOURCE_DIR}/misc/liblua"
+	"^${CMAKE_CURRENT_SOURCE_DIR}/misc/liblua"
 #	"^${CMAKE_CURRENT_SOURCE_DIR}/misc/libtremor"
 	"^${CMAKE_CURRENT_SOURCE_DIR}/project_files/HedgewarsMobile/"
 	"^${CMAKE_CURRENT_SOURCE_DIR}/bin/[a-z]"