Skip to content

Commit

Permalink
Added SUL_DYNAMIC_BITSET_VERSION_* defines
Browse files Browse the repository at this point in the history
  • Loading branch information
pinam45 committed Aug 10, 2020
1 parent d4602a2 commit 968b396
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.10) # For CXX_STANDARD 17 property on Visual St
# Project declaration
project(
dynamic_bitset
VERSION 1.0.0
VERSION 1.1.0
DESCRIPTION "Simple Useful Libraries: The C++17 header-only dynamic bitset"
HOMEPAGE_URL "https://github.com/pinam45/dynamic_bitset"
LANGUAGES CXX
Expand Down
21 changes: 18 additions & 3 deletions include/sul/dynamic_bitset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,23 @@
// See accompanying file LICENSE or copy at
// https://opensource.org/licenses/MIT
//
#ifndef DYNAMIC_BITSET_DYNAMIC_BITSET_HPP
#define DYNAMIC_BITSET_DYNAMIC_BITSET_HPP
#ifndef SUL_DYNAMIC_BITSET_HPP
#define SUL_DYNAMIC_BITSET_HPP

/**
* @brief @ref sul::dynamic_bitset version major.
*/
#define SUL_DYNAMIC_BITSET_VERSION_MAJOR 1

/**
* @brief @ref sul::dynamic_bitset version minor.
*/
#define SUL_DYNAMIC_BITSET_VERSION_MINOR 1

/**
* @brief @ref sul::dynamic_bitset version patch.
*/
#define SUL_DYNAMIC_BITSET_VERSION_PATCH 0

/** @file
* @brief @ref sul::dynamic_bitset declaration and implementation.
Expand Down Expand Up @@ -3259,4 +3274,4 @@ constexpr void swap(dynamic_bitset<Block, Allocator>& bitset1,
} // namespace sul
#endif

#endif //DYNAMIC_BITSET_DYNAMIC_BITSET_HPP
#endif //SUL_DYNAMIC_BITSET_HPP

0 comments on commit 968b396

Please sign in to comment.