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 #