From c5a777d78b5eb4a829bb7aec76d7ce629f810bb8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Jul 2017 00:59:36 +0300 Subject: Build at first unit tests files and after all other files. --- src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index bb3f702e5..cf25f70b6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2009,7 +2009,7 @@ if ENABLE_OPENGLERRORS manaplustests_CXXFLAGS += -DOPENGLERRORS endif -manaplustests_SOURCES = ${SRC} \ +manaplustests_SOURCES = \ unittests/unittests.h \ unittests/enums/render/mockdrawtype.h \ unittests/render/mockdrawitem.h \ @@ -2070,6 +2070,8 @@ manaplustests_SOURCES += \ unittests/resources/sdlimagehelper_unittest.cc \ unittests/gui/windowmanager_unittest.cc +manaplustests_SOURCES += ${SRC} + if ENABLE_UNITTESTS TESTS = manaplustests check_PROGRAMS = manaplustests -- cgit v1.2.3-60-g2f50