From 2df8fa5ee4a0762dd41e04d7a6ecf1f29c008935 Mon Sep 17 00:00:00 2001 From: flaviojs Date: Mon, 23 Apr 2012 03:52:52 +0000 Subject: Add ENABLE_EXTRA_BUILDBOT_CODE to CMakeLists.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15940 54d463be-8e91-2dee-dedb-b68131a5f0ec --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b60a5de20..fdbfb1d7f 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 # -- cgit v1.2.3-60-g2f50