From 85afe9c5c73a598ed79cda6fd6dc71a27c78fc8f Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Sun, 23 Feb 2014 21:42:16 -0800 Subject: [PATCH] setting version consistent with new guidelines. (not tagging...yet). --- CMakeLists.txt | 4 ++-- dox | 2 +- tinyxml2.h | 9 +++------ 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67716fd..973a063 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,8 +10,8 @@ include(GNUInstallDirs) ################################ # set lib version here -set(GENERIC_LIB_VERSION "1.1.0") -set(GENERIC_LIB_SOVERSION "1") +set(GENERIC_LIB_VERSION "2.0.0") +set(GENERIC_LIB_SOVERSION "2") ################################ diff --git a/dox b/dox index bfd90aa..b9eb25e 100755 --- a/dox +++ b/dox @@ -32,7 +32,7 @@ PROJECT_NAME = "TinyXML-2" # This could be handy for archiving the generated documentation or # if some version control system is used. -PROJECT_NUMBER = 1.1.0 +PROJECT_NUMBER = 2.0.0 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer diff --git a/tinyxml2.h b/tinyxml2.h index 615afa5..3df3e8d 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -117,13 +117,10 @@ inline int TIXML_SNPRINTF( char* buffer, size_t size, const char* format, ... ) #endif /* Versioning, past 1.0.14: - - A backwards-incompatible change or API change bumps the major version. - An API addition or a backwards-compatible change, bumps the minor version. - Simple bug fixes bump the build number. + http://semver.org/ */ -static const int TIXML2_MAJOR_VERSION = 1; -static const int TIXML2_MINOR_VERSION = 1; +static const int TIXML2_MAJOR_VERSION = 2; +static const int TIXML2_MINOR_VERSION = 0; static const int TIXML2_PATCH_VERSION = 0; namespace tinyxml2