summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2013-07-09 18:40:44 +0200
committerRALOVICH, Kristóf <tade60@freemail.hu>2013-07-09 18:40:44 +0200
commite8a97deb6401df9e0aed7ea853f6dca4d4f3a232 (patch)
tree4fb036ddf595052f0ea3d82681c002c7f6aca076 /src
parente09b21d6f46e55b6cf9e0c2b67a07749d42b375f (diff)
preparing for new release
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt10
-rw-r--r--src/VERSION1
2 files changed, 8 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 500ede5..c873a11 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -67,6 +67,10 @@ IF(MSVC)
#set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:libboost_date_time-vc90-mt-s-1_43.lib /NODEFAULTLIB:libboost_thread-vc90-mt-s-1_43.lib /NODEFAULTLIB:libboost_program_options-vc90-mt-s-1_43.lib /NODEFAULTLIB:libboost_filesystem-vc90-mt-s-1_43.lib /NODEFAULTLIB:libboost_system-vc90-mt-s-1_43.lib")
ENDIF()
+FILE(READ "${PROJECT_SOURCE_DIR}/VERSION" ANTPM_VERSION)
+MESSAGE("ANTPM_VERSION=\\\"${ANTPM_VERSION}\\\"")
+ADD_DEFINITIONS(-DANTPM_VERSION=${ANTPM_VERSION})
+
SET(SRCS
antdefs.hpp
SmartPtrFwd.hpp w_inttypes.h w_stdint.h stdintfwd.hpp
@@ -90,10 +94,10 @@ SET(SRCS
)
IF(NOT WIN32)
SET(SRCS
- ${SRCS}
+ ${SRCS}
SerialTty.hpp SerialTty.cpp
- )
-SET(Boost_THREAD_LIBRARY "${Boost_THREAD_LIBRARY};pthread")
+ )
+ SET(Boost_THREAD_LIBRARY "${Boost_THREAD_LIBRARY};pthread")
ENDIF()
diff --git a/src/VERSION b/src/VERSION
new file mode 100644
index 0000000..872765e
--- /dev/null
+++ b/src/VERSION
@@ -0,0 +1 @@
+1.9 \ No newline at end of file