diff options
author | Robin Krahl <me@robin-krahl.de> | 2018-02-15 22:20:25 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2018-02-15 22:25:52 +0100 |
commit | 9c658f9a1107b1879b87aa53dbb1dab60668e2b5 (patch) | |
tree | d50e1e6191358f60e85978e78e6275f32b8253e9 /Makefile | |
parent | a46be28d077b4f19f4e8537982487e33e20e4f0c (diff) | |
download | sqlitepp-9c658f9a1107b1879b87aa53dbb1dab60668e2b5.tar.gz sqlitepp-9c658f9a1107b1879b87aa53dbb1dab60668e2b5.tar.bz2 |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |