Skip to content

Commit

Permalink
Release 1.2.1 (Conan, thanks to @jgsogo)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Apr 26, 2019
1 parent d407405 commit fd33ea5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cmake_minimum_required( VERSION 3.5 FATAL_ERROR )

project(
variant_lite
VERSION 1.2.0
VERSION 1.2.1
# DESCRIPTION "A C++17-like variant, a type-safe union for C++98, C++11 and later in a single-file header-only library"
# HOMEPAGE_URL "https://github.com/martinmoene/variant-lite"
LANGUAGES CXX )
Expand Down
6 changes: 3 additions & 3 deletions conanfile.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from conans import ConanFile, CMake

class VariantLiteConan(ConanFile):
version = "1.2.0"
version = "1.2.1"
name = "variant-lite"
description = "A single-file header-only version of a C++17-like variant, a type-safe union for C++98, C++11 and later"
license = "Boost Software License - Version 1.0. http://www.boost.org/LICENSE_1_0.txt"
Expand All @@ -17,8 +17,8 @@ def build(self):
def package(self):
"""Run CMake install"""
cmake = CMake(self)
cmake.definitions["VARIANT_LITE__OPT_BUILD_TESTS"] = "OFF"
cmake.definitions["VARIANT_LITE__OPT_BUILD_EXAMPLES"] = "OFF"
cmake.definitions["VARIANT_LITE_OPT_BUILD_TESTS"] = "OFF"
cmake.definitions["VARIANT_LITE_OPT_BUILD_EXAMPLES"] = "OFF"
cmake.configure()
cmake.install()

Expand Down
2 changes: 1 addition & 1 deletion include/nonstd/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#define variant_lite_MAJOR 1
#define variant_lite_MINOR 2
#define variant_lite_PATCH 0
#define variant_lite_PATCH 1

#define variant_lite_VERSION variant_STRINGIFY(variant_lite_MAJOR) "." variant_STRINGIFY(variant_lite_MINOR) "." variant_STRINGIFY(variant_lite_PATCH)

Expand Down
2 changes: 1 addition & 1 deletion template/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#define variant_lite_MAJOR 1
#define variant_lite_MINOR 2
#define variant_lite_PATCH 0
#define variant_lite_PATCH 1

#define variant_lite_VERSION variant_STRINGIFY(variant_lite_MAJOR) "." variant_STRINGIFY(variant_lite_MINOR) "." variant_STRINGIFY(variant_lite_PATCH)

Expand Down

0 comments on commit fd33ea5

Please sign in to comment.