Bump version to 0.2.1b

This commit is contained in:
King_DuckZ 2015-10-01 15:32:30 +02:00
parent 5d0a895978
commit 41b0f59039
3 changed files with 8 additions and 3 deletions

View file

@ -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)

View file

@ -31,7 +31,10 @@ 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"
#endif

View file

@ -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