浏览代码

Add ENABLE_EXTRA_BUILDBOT_CODE to CMakeLists.txt

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15940 54d463be-8e91-2dee-dedb-b68131a5f0ec
flaviojs 13 年之前
父节点
当前提交
d90ebcbd87
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      CMakeLists.txt

+ 10 - 0
CMakeLists.txt

@@ -368,6 +368,16 @@ else()
 endif()
 
 
+#
+# Enable extra buildbot code (default=OFF)
+#
+option( ENABLE_EXTRA_BUILDBOT_CODE "enable extra buildbot code (default=OFF)" OFF )
+if( ENABLE_EXTRA_BUILDBOT_CODE )
+	set_property( CACHE GLOBAL_DEFINITIONS  PROPERTY VALUE "${GLOBAL_DEFINITIONS} -DBUILDBOT" )
+	message( STATUS "Enabled extra BUILDBOT code" )
+endif()
+
+
 #####################################################################
 # package stuff
 #