summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-11 18:32:53 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-11 18:32:53 +0300
commit1e255ec19ececda196874f751a81682169cf64c3 (patch)
treea972041a56d46ec4beb04141946b73091fbbca95 /src/Makefile.am
parentc14086d6a08fb2ea644eec9fafa0374604c98991 (diff)
downloadmanaverse-1e255ec19ececda196874f751a81682169cf64c3.tar.gz
manaverse-1e255ec19ececda196874f751a81682169cf64c3.tar.bz2
manaverse-1e255ec19ececda196874f751a81682169cf64c3.tar.xz
manaverse-1e255ec19ececda196874f751a81682169cf64c3.zip
Add support for gtest framework.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 204c21bfc..62b762af6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,6 +21,10 @@ else
manaplus_SOURCES =
endif
+if ENABLE_UNITTESTS
+manaplus_CXXFLAGS += -DUNITTESTS
+endif
+
if USE_INTERNALGUICHAN
manaplus_CXXFLAGS += -DUSE_INTERNALGUICHAN
manaplus_SOURCES += guichan/include/guichan/actionevent.hpp \