Client: compiler
Patch: Jake Farrell
Converts compiler/cpp/src/windows/version.h to a template and automates uses of configure.ac version rather than a random #define version string.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1352767 13f79535-47bb-0310-9956-
ffa450edef68
$(WINDOWS_DIST)
clean-local:
- $(RM) thriftl.cc thrifty.cc thrifty.h version.h
+ $(RM) thriftl.cc thrifty.cc thrifty.h version.h windows/version.h
src/main.cc: version.h
#endif
#define PATH_MAX MAX_PATH
-#define THRIFT_VERSION "0.9.0-dev"
+#define THRIFT_VERSION "@PACKAGE_VERSION@"
#ifndef S_ISDIR
#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR)
Makefile
compiler/cpp/Makefile
compiler/cpp/version.h
+ compiler/cpp/src/windows/version.h
lib/Makefile
lib/cpp/Makefile
lib/cpp/test/Makefile