Skip to content

Commit

Permalink
release v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marzer committed Aug 11, 2021
1 parent 4f21332 commit 037bfdd
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 34 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ You'll find some more code examples in the `examples` directory, and plenty more
2. `#include <toml++/toml.h>`
### 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',
]
```
> ℹ&#xFE0F; _[What is DDS?](https://dds.pizza/)_
Expand All @@ -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)
```
Expand Down
18 changes: 3 additions & 15 deletions docs/pages/main_page.dox
Original file line number Diff line number Diff line change
Expand Up @@ -427,15 +427,15 @@


\subsection mainpage-adding-lib-conan Conan
Add `tomlplusplus/2.4.0` to your conanfile.
Add `tomlplusplus/2.5.0` to your conanfile.



\subsection mainpage-adding-lib-dds DDS
Add `tomlpp` to your `package.json5`, e.g.:
\bash
depends: [
'tomlpp^2.4.0',
'tomlpp^2.5.0',
]
\ebash

Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/toml++/toml_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions toml++.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
<None Include=".runsettings" />
<None Include="cmake\install-rules.cmake" />
<None Include="cmake\project-is-top-level.cmake" />
<None Include="cmake\tomlplusplus.cmake.in" />
<None Include="cmake\tomlplusplusConfig.cmake" />
<None Include="cmake\variables.cmake" />
<None Include="CODE_OF_CONDUCT.md" />
Expand Down
3 changes: 3 additions & 0 deletions toml++.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@
<None Include="cmake\variables.cmake">
<Filter>cmake</Filter>
</None>
<None Include="cmake\tomlplusplus.cmake.in">
<Filter>cmake</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Filter Include=".circleci">
Expand Down
4 changes: 2 additions & 2 deletions toml.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//----------------------------------------------------------------------------------------------------------------------
//
// toml++ v2.4.0
// toml++ v2.5.0
// https://github.com/marzer/tomlplusplus
// SPDX-License-Identifier: MIT
//
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 037bfdd

Please sign in to comment.