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
This commit is contained in:
flaviojs
2012-04-23 03:52:52 +00:00
parent 6a0e308280
commit d90ebcbd87

View File

@@ -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
#