From 41b0f59039016e35abe9533ae7eddaea6272aff7 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Thu, 1 Oct 2015 15:32:30 +0200 Subject: [PATCH] Bump version to 0.2.1b --- CMakeLists.txt | 3 ++- src/commandline.cpp | 7 +++++-- src/duckscraperConfig.h.in | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0f9781..133b281 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.0 FATAL_ERROR) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") -project(duckscraper VERSION 0.2 LANGUAGES CXX) +project(duckscraper VERSION 0.2.1 LANGUAGES CXX) option(BUILD_SHARED_TIDY "Wheter you want to build tidy-html5 as a shared library" OFF) @@ -57,6 +57,7 @@ target_link_libraries(${PROJECT_NAME} #their cmake_minimum_required to 3.0+. unset(PROJECT_VERSION_MAJOR) unset(PROJECT_VERSION_MINOR) +unset(PROJECT_VERSION_PATCH) unset(PROJECT_VERSION) set(BUILD_SHARED_LIB ${BUILD_SHARED_TIDY}) #for tidy add_subdirectory(lib/tidy) diff --git a/src/commandline.cpp b/src/commandline.cpp index 94bb6df..451d42a 100644 --- a/src/commandline.cpp +++ b/src/commandline.cpp @@ -31,9 +31,12 @@ namespace po = boost::program_options; namespace duck { namespace { const char* const g_version_string = - PROGRAM_NAME " v" STRINGIZE(VERSION_MAJOR) "." STRINGIZE(VERSION_MINOR) + PROGRAM_NAME " v" + STRINGIZE(VERSION_MAJOR) "." + STRINGIZE(VERSION_MINOR) "." + STRINGIZE(VERSION_PATCH) #if VERSION_BETA - "b" + "b" #endif ; } //unnamed namespace diff --git a/src/duckscraperConfig.h.in b/src/duckscraperConfig.h.in index fb18d09..415c256 100644 --- a/src/duckscraperConfig.h.in +++ b/src/duckscraperConfig.h.in @@ -24,6 +24,7 @@ #define VERSION_MAJOR @PROJECT_VERSION_MAJOR@ #define VERSION_MINOR @PROJECT_VERSION_MINOR@ #define VERSION_BETA @PROJECT_VERSION_BETA@ +#define VERSION_PATCH @PROJECT_VERSION_PATCH@ #define VERSION_GIT "@PROJECT_VERSION_GIT@" #endif