Skip to content

Releases: bernedom/bertrand

Optional installation

18 Oct 14:24
Compare
Choose a tag to compare
  • Add cmake option BERTRAND_INSTALL_LIBRARY to set if bertrand is installed. Default is ON unless bertrand is included using add_subfolder

Streamlining build process

06 Oct 12:13
78dd683
Compare
Choose a tag to compare
  • Moving to clang9 for CI, because clang 6.0 is no longer available
  • Removing steps to deploy to bintray, because it has been shut down
  • Streamlining CMakeLists.txt a tiny bit

Full Changelog: 0.0.15...0.0.16

Inline all the functions (and put them into namespaces)

01 Feb 10:58
7aa4980
Compare
Choose a tag to compare
  • Fix bug caused by non-inlining header-only function
  • refactored all bertrand-related functions into namespace bertrand

Stacktrace for failed contracts

22 Jan 15:48
1b4029f
Compare
Choose a tag to compare
  • bertrand prints stacktrace on a failed contract (for gcc and clang)
  • Rename branch master to main

Helper function to compare multiple values

22 Dec 20:56
2c20460
Compare
Choose a tag to compare
  • Add function to search for a value in a list of values that are known at compile time
  • Update Catch2 to version 2.13.1
  • Update documentation with hint about ConanCenter

Contract type "Require", "Ensure" or "Invariant" is included in message

06 Sep 19:47
ae5b118
Compare
Choose a tag to compare
  • Contract type "Require", "Ensure" or "Invariant" is included in message
  • conanfile.py pulls version out of CMakeLists
  • Linting conanfile.py, cmake object is only generated once

Building from within conan

10 Aug 11:02
c640a3f
Compare
Choose a tag to compare

If bertrand is built from within conan the conanbuildinfo provided by conan will be used instead of getting it from github

Conan based dependency management

09 Jun 13:27
db68937
Compare
Choose a tag to compare
  • Including bertrand as a subdirectory in cmake disables building the tests
  • Catch2 is retrieved with conan and no longer directly in the source tree

Contracts take variable number of arguments as message

20 May 09:45
a8a6abf
Compare
Choose a tag to compare

An example is better than a lengthy explanation:

Require(false, "Something is not right: ", someVariable, " and ", anotherVariable)

Lightweight usage as a sub-project

31 Mar 12:59
699d3d3
Compare
Choose a tag to compare
  • Add cmake option BERTRAND_BUILD_TESTING (default ON) to disable bertrand tests if used with add_subdirectory