File tree Expand file tree Collapse file tree 5 files changed +14
-24
lines changed
Expand file tree Collapse file tree 5 files changed +14
-24
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file.
33The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55
6+
7+ ## [0.8.3] - 2024-12-22
8+
9+ ### Changed
10+
11+ - Fixed bug in CMakelists.txt which would always force build to Release
12+
613## [0.8.2] - 2024-12-22
714
815### Changed
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.18)
55#
66project (
77 etl
8- VERSION 0.8.2
8+ VERSION 0.8.3
99 DESCRIPTION "C++ Extra Template Library"
1010 HOMEPAGE_URL "https://github.com/thebashpotato/extra-template-library"
1111 LANGUAGES CXX)
@@ -98,10 +98,6 @@ if(ETL_DEV_MODE)
9898 message (WARNING "gtest was not configured properly" )
9999 endif ()
100100 enable_testing ()
101- else ()
102- set (CMAKE_BUILD_TYPE
103- Release
104- CACHE STRING "Forcing build type to release" FORCE)
105101endif ()
106102
107103#
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ make uninstall
205205### Find Package (assuming it has been installed globally on your system)
206206
207207``` cmake
208- find_package(etl 0.8.0 REQUIRED)
208+ find_package(etl 0.8.3 REQUIRED)
209209
210210# Your Application linking cmake code
211211target_link_libraries(
@@ -218,20 +218,7 @@ target_link_libraries(
218218Please check out how to use [ CPM] ( https://github.com/cpm-cmake/CPM.cmake ) it is dead simple.
219219
220220``` cmake
221- cpmaddpackage(
222- NAME
223- etl
224- GITHUB_REPOSITORY
225- thebashpotato/etl
226- VERSION
227- 0.8.0)
228-
229- if(etl_ADDED)
230- message(STATUS "Extra Template Library added")
231- add_library(etl::etl INTERFACE IMPORTED)
232- target_include_directories(etl::etl INTERFACE ${etl_SOURCE_DIR}/etl/include)
233- endif()
234-
221+ cpmaddpackage("gh:thebashpotato/etl#v0.8.3")
235222
236223# Your Application linking cmake code
237224target_link_libraries(
Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ namespace etl
4242
4343constexpr auto VERSION_MAJOR = 0 ;
4444constexpr auto VERSION_MINOR = 8 ;
45- constexpr auto VERSION_PATCH = 2 ;
45+ constexpr auto VERSION_PATCH = 3 ;
4646constexpr auto VERSION = (VERSION_MAJOR * 10000 ) + (VERSION_MINOR * 100 ) + VERSION_PATCH;
47- constexpr std::string_view VERSION_STRING = " 0.8.2 " ;
47+ constexpr std::string_view VERSION_STRING = " 0.8.3 " ;
4848
4949// / @brief Ditch those old C style for loops and iterate over your enums safely with ranged for loops.
5050// /
Original file line number Diff line number Diff line change 33
44TEST (EtlVersionTests, EnsureVersionStringIsCorrect)
55{
6- ASSERT_EQ (etl::VERSION_STRING, " 0.8.2 " );
6+ ASSERT_EQ (etl::VERSION_STRING, " 0.8.3 " );
77}
88
99TEST (EtlVersionTests, EnsureVersionIntIsCorrect)
1010{
1111 ASSERT_EQ (etl::VERSION_MAJOR, 0 );
1212 ASSERT_EQ (etl::VERSION_MINOR, 8 );
13- ASSERT_EQ (etl::VERSION_PATCH, 2 );
13+ ASSERT_EQ (etl::VERSION_PATCH, 3 );
1414}
You can’t perform that action at this time.
0 commit comments