From 9c658f9a1107b1879b87aa53dbb1dab60668e2b5 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 15 Feb 2018 22:20:25 +0100 Subject: Move version information to constants The previous approach of preprocessor definitions was not really sound as these are only present during the compilation of sqlitepp. Therefore the version information is now stored in constants within the sqlitepp namespace. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 14531ae..34bee3b 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ CPPFLAGS += -MMD -MP -I$(INCLUDE_DIR) CPPFLAGS += -DSQLITEPP_VERSION_MAJOR=$(VERSION_MAJOR) \ -DSQLITEPP_VERSION_MINOR=$(VERSION_MINOR) \ -DSQLITEPP_VERSION_PATCH=$(VERSION_PATCH) \ - -DSQLITEPP_VERSION=$(VERSION) + -DSQLITEPP_VERSION=\"$(VERSION)\" CXXFLAGS += -fPIC LDFLAGS += $(LDFLAGS_SQLITE3) LDFLAGS_LIB += -Wl,-soname,lib$(TARGET_NAME_LIB).so.$(VERSION_MAJOR) -- cgit v1.2.3