diff --git a/CMakeLists.txt b/CMakeLists.txt index 1f63175..854f456 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14) project( tomlplusplus - VERSION 2.4.0 + VERSION 2.5.0 DESCRIPTION "Header-only TOML config file parser and serializer for C++17 (and later!)" HOMEPAGE_URL "https://marzer.github.io/tomlplusplus/" LANGUAGES CXX diff --git a/README.md b/README.md index e88fc04..04225da 100644 --- a/README.md +++ b/README.md @@ -97,13 +97,13 @@ You'll find some more code examples in the `examples` directory, and plenty more 2. `#include ` ### Conan -Add `tomlplusplus/2.4.0` to your conanfile. +Add `tomlplusplus/2.5.0` to your conanfile. ### DDS Add `tomlpp` to your `package.json5`, e.g.: ``` depends: [ - 'tomlpp^2.4.0', + 'tomlpp^2.5.0', ] ``` > ℹ️ _[What is DDS?](https://dds.pizza/)_ @@ -114,23 +114,12 @@ vcpkg install tomlplusplus ``` ### CMake FetchContent -Using the tar archive -``` -include(FetchContent) -FetchContent_Declare( - tomlplusplus - URL https://github.com/marzer/tomlplusplus/archive/refs/tags/v2.4.0.tar.gz - URL_HASH MD5=546d163e5f37d9bbdc5e19702aaaac8f -) -FetchContent_MakeAvailable(tomlplusplus) -``` -Using the git tag ``` include(FetchContent) FetchContent_Declare( tomlplusplus GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git - GIT_TAG v2.4.0 + GIT_TAG v2.5.0 ) FetchContent_MakeAvailable(tomlplusplus) ``` diff --git a/docs/pages/main_page.dox b/docs/pages/main_page.dox index 368eb2b..da075a4 100644 --- a/docs/pages/main_page.dox +++ b/docs/pages/main_page.dox @@ -427,7 +427,7 @@ \subsection mainpage-adding-lib-conan Conan - Add `tomlplusplus/2.4.0` to your conanfile. + Add `tomlplusplus/2.5.0` to your conanfile. @@ -435,7 +435,7 @@ Add `tomlpp` to your `package.json5`, e.g.: \bash depends: [ - 'tomlpp^2.4.0', + 'tomlpp^2.5.0', ] \ebash @@ -457,24 +457,12 @@ \subsection mainpage-adding-lib-cmake-fetch-content CMake FetchContent - Using the tar archive - \code{.cmake} - include(FetchContent) - FetchContent_Declare( - tomlplusplus - URL https://github.com/marzer/tomlplusplus/archive/refs/tags/v2.4.0.tar.gz - URL_HASH MD5=546d163e5f37d9bbdc5e19702aaaac8f - ) - FetchContent_MakeAvailable(tomlplusplus) - \endcode - - Using the git tag \code{.cmake} include(FetchContent) FetchContent_Declare( tomlplusplus GIT_REPOSITORY https://github.com/marzer/tomlplusplus.git - GIT_TAG v2.4.0 + GIT_TAG v2.5.0 ) FetchContent_MakeAvailable(tomlplusplus) \endcode diff --git a/include/toml++/toml_version.h b/include/toml++/toml_version.h index 187f2a5..68dcac1 100644 --- a/include/toml++/toml_version.h +++ b/include/toml++/toml_version.h @@ -6,7 +6,7 @@ #pragma once #define TOML_LIB_MAJOR 2 -#define TOML_LIB_MINOR 4 +#define TOML_LIB_MINOR 5 #define TOML_LIB_PATCH 0 #define TOML_LANG_MAJOR 1 diff --git a/meson.build b/meson.build index 816a93e..3f03f6c 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'tomlplusplus', 'cpp', - version : '2.4.0', + version : '2.5.0', meson_version : '>=0.53.0', license : 'MIT', default_options : [ # https://mesonbuild.com/Builtin-options.html diff --git a/toml++.vcxproj b/toml++.vcxproj index 5a4507e..ab381ca 100644 --- a/toml++.vcxproj +++ b/toml++.vcxproj @@ -71,6 +71,7 @@ + diff --git a/toml++.vcxproj.filters b/toml++.vcxproj.filters index f1f2062..ee1f01f 100644 --- a/toml++.vcxproj.filters +++ b/toml++.vcxproj.filters @@ -131,6 +131,9 @@ cmake + + cmake + diff --git a/toml.hpp b/toml.hpp index 2fdee81..707d898 100644 --- a/toml.hpp +++ b/toml.hpp @@ -1,6 +1,6 @@ //---------------------------------------------------------------------------------------------------------------------- // -// toml++ v2.4.0 +// toml++ v2.5.0 // https://github.com/marzer/tomlplusplus // SPDX-License-Identifier: MIT // @@ -700,7 +700,7 @@ is no longer necessary. #endif #define TOML_LIB_MAJOR 2 -#define TOML_LIB_MINOR 4 +#define TOML_LIB_MINOR 5 #define TOML_LIB_PATCH 0 #define TOML_LANG_MAJOR 1