From d90ebcbd876cf5fe778c8fc02d8684108b573141 Mon Sep 17 00:00:00 2001 From: flaviojs Date: Mon, 23 Apr 2012 03:52:52 +0000 Subject: [PATCH] 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 --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b60a5de20a..fdbfb1d7f7 100644 --- a/CMakeLists.txt +++ b/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 #