- changed status to resolved
JsonUtility_unittests.cc should not be compiled when WITH_UNITTESTS=0
Issue #113
resolved
diff --git a/Makefile b/Makefile
index 6db65e2..08da9c9 100644
--- a/Makefile
+++ b/Makefile
@@ -499,7 +499,6 @@ SRCS += src/DealerInventory.cc
SRCS += src/DefaultContentManager.cc
SRCS += src/ItemModel.cc
SRCS += src/JsonUtility.cc
-SRCS += src/JsonUtility_unittests.cc
SRCS += src/MagazineModel.cc
SRCS += src/MercProfile.cc
SRCS += src/ModPackContentManager.cc
@@ -558,6 +557,8 @@ SRCS += sgp/FileMan_unittest.cc
SRCS += sgp/LoadSaveData_unittest.cc
SRCS += sgp/UTF8String_unittest.cc
SRCS += sgp/wchar_unittest.cc
+SRCS += src/JsonUtility_unittests.cc
endif
OBJS = $(filter %.o, $(SRCS:.c=.o) $(SRCS:.cc=.o) $(SRCS:.cpp=.o))
Comments (1)
-
repo owner - Log in to comment