From f25597540de890f48a0b4df6feeb7e4c3246efb8 Mon Sep 17 00:00:00 2001 From: Tycho Date: Wed, 5 Feb 2014 10:10:45 -0800 Subject: Added support to start up MCServer and then immediatly sut it down in travis --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1fee887e7..57b200a2a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -124,6 +124,10 @@ endif() # The Expat library is linked in statically, make the source files aware of that: add_definitions(-DXML_STATIC) +# Self Test Mode enables extra checks at startup +if(${SELF_TEST}) + add_definitions(-DSELF_TEST) +endif() # Declare the flags used for profiling builds: if (MSVC) -- cgit v1.2.3