aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2020-01-05 14:40:20 +0100
committerFelix Morgner <felix.morgner@gmail.com>2020-01-05 14:40:20 +0100
commit397b62bb21e8f732c8c05a99590dec7acfe53fbc (patch)
treec2080a4a8f1b75d7f005b76ae445c7e81c7df62a
parente2fb4684c45ec8c8b254baa105c2d6d803882425 (diff)
parentda53a8c42f7092f58586480080738a540eed64ca (diff)
downloadnewtype-397b62bb21e8f732c8c05a99590dec7acfe53fbc.tar.xz
newtype-397b62bb21e8f732c8c05a99590dec7acfe53fbc.zip
newtype: release version 1.0.1v1.0.1
-rw-r--r--CMakeLists.txt2
-rw-r--r--conanfile.py7
-rw-r--r--include/newtype/version.hpp2
3 files changed, 8 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 275877a..93f154e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION "3.9.0")
project("newtype"
- VERSION "1.0.0"
+ VERSION "1.0.1"
LANGUAGES CXX
DESCRIPTION "A library of types and functions to create strong type aliases"
)
diff --git a/conanfile.py b/conanfile.py
index 6fcbf48..51a159a 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -20,12 +20,13 @@ class NewtypeConan(ConanFile):
"url": "https://github.com/fmorgner/newtype.git",
"revision": "auto",
}
+ settings = ("compiler",)
version = get_version()
license = "BSD-3-Clause"
url = "https://github.com/fmorgner/newtype"
description = "A library of types and functions to create strong type aliases"
generators = "cmake"
- requires = (
+ build_requires = (
"CUTE/2.2.6@fmorgner/stable",
"lyra/1.2.0"
)
@@ -44,3 +45,7 @@ class NewtypeConan(ConanFile):
def package(self):
cmake = self._configure_cmake()
cmake.install()
+
+ def package_info(self):
+ if self.settings.compiler in ["gcc", "clang"]:
+ self.cpp_info.cxxflags = "-std=c++20" \ No newline at end of file
diff --git a/include/newtype/version.hpp b/include/newtype/version.hpp
index c7c3314..be6e26e 100644
--- a/include/newtype/version.hpp
+++ b/include/newtype/version.hpp
@@ -14,7 +14,7 @@ namespace nt
} version{
.major = 1,
.minor = 0,
- .patch = 0,
+ .patch = 1,
.name = "Francesca",
};