Florian Schmaus
3d321c7d92
cmake: Explicitly search for Catch2 version 3
...
The current CMakeLists block
find_package(Catch2)
if(Catch2_FOUND)
target_link_libraries(test_suite Catch2::Catch2WithMain)
include(CTest)
include(Catch)
catch_discover_tests(test_suite)
endif()
would search for any Catch2 version, but later tries to link against
Catch2 version 3 (Catch2WithMain). This means the block would fail on
systems that have Catch2 version 2 installed, but not Catch2 version
3. Fix that by requesting Catch2 version 3 when invoking
find_package().
Link: https://bugs.gentoo.org/969522
2026-02-10 08:53:34 +01:00
Luca Matei Pintilie
b250237e01
install files using GNUInstallDirs
2026-01-11 13:53:19 +01:00
Luca Matei Pintilie
6ed185a8a5
add archive_expires_after option
2026-01-10 18:59:34 +01:00
Luca Matei Pintilie
fdcc9f9b84
fix fedora package
2026-01-10 18:55:53 +01:00
Luca Matei Pintilie
ee7ecebbdc
add ctest support and remove absolute path from etc directory
...
Some packagers use ctest by default to run tests. This is a small
easy-win to add to biboumi. In addition some distros don't use /etc as
their configuration path, and have to patch this out (see guix and nix),
so this is also an easy fix.
2026-01-10 18:55:10 +01:00
Luca Matei Pintilie
b96eaaddba
update some version strings
2025-12-08 20:38:29 +01:00
Luca Matei Pintilie
979ba96cb0
Update to ergo 2.15+
2025-10-12 18:01:47 +02:00
Luca Matei Pintilie
5cb2802fd2
Update Catch2 to v3
2025-10-12 17:45:58 +02:00
Luca Matei Pintilie
e4d32f9392
biboumi: Update botan to version 3
...
The botan dependency has introduced a number of breaking changes with
version 3, a couple of which impact biboumi as well
This patch makes biboumi compatible with botan 3 and drops support for
botan 2 at the same time
As a consequence of the botan dependency update, C++ version has to be
upgraded to C++ 20
https://botan.randombit.net/handbook/migration_guide.html
2025-07-29 15:53:20 +02:00
mathieui
1a659871e4
build: re-add a fork of Catch
...
For now anyway, but we need to move to catch2 or even catch3 because
those are maintained and available.
2025-04-19 22:57:10 +02:00
louiz’
5900c19c22
Start version 10.0
2020-09-23 23:18:12 +02:00
louiz’
6174ceb4e1
Release version 9.0
2020-09-22 22:50:04 +02:00
louiz’
2f0078ebfc
Fix the argument list for SETUP_TARGET_FOR_COVERAGE cmake function
2019-09-17 12:43:14 +02:00
louiz’
0508a44897
ci: Add a junit output to test_suite and give it to gitlab
2019-09-17 11:26:12 +02:00
louiz’
2ad098de92
Properly build and install the man page, also in the rpm
2019-09-15 21:45:06 +02:00
louiz’
a8cd241485
Disable systemd’s watchdog by default
2019-08-04 04:55:33 +02:00
louiz’
c70b97d761
Use sphinx instead of pandoc, and add a deploy job
2018-08-29 22:10:25 +02:00
louiz’
72c3324cf3
Correctly use target_sources instead of target_link_libraries
2018-06-08 20:03:55 +02:00
louiz’
e3730c5a40
Don’t add_library(database) with an empty string, that’s not portable
...
Instead, don’t create the library at all if not needed.
2018-06-08 19:13:00 +02:00
louiz’
edcd80cca1
Start version 9.0
2018-05-02 20:22:48 +02:00
louiz’
08fabd0a10
Release version 8.0
2018-05-02 19:49:31 +02:00
louiz’
ad7aa5b709
Use Catch2’s single_include/ directory
2018-03-18 02:12:25 +01:00
louiz’
86f275e111
Revert "C++17"
...
This reverts commit 3f088e7b3a .
2018-03-17 17:28:49 +01:00
louiz’
3f088e7b3a
C++17
2018-03-16 01:13:50 +01:00
louiz’
e0d1a0b44a
Add a check for GCC’s and Clang’s minimal versions
2018-02-05 12:27:52 +01:00
louiz’
24b4a09d47
By the way, start version 8.0
2018-01-22 18:05:57 +01:00
louiz’
6e1af8b082
Release version 7.0
2018-01-17 21:14:44 +01:00
louiz’
5c75cd104f
By the way, we were on version 7.0~dev
2018-01-17 21:10:35 +01:00
louiz’
7e64a2e361
Add a DEBUG_SQL_QUERIES to log info about the executed SQL queries
...
fix #3324
2018-01-14 21:46:49 +01:00
louiz’
24dc05dd97
Run some of the ci tests against a postgresql docker container
2017-12-03 16:46:14 +01:00
louiz’
414bbca0bc
Handle postgresql and sqlite3 libs properly
...
Do not fail to compile when one of them is missing but the other one is not.
Raise an error when trying to open a database with the missing library.
see #3237
2017-12-02 20:08:50 +01:00
louiz’
0168b96b79
Add postgresql support
2017-12-02 20:08:47 +01:00
louiz’
aa65cfd106
Release version 6.1
2017-10-04 22:10:07 +02:00
louiz’
c1984733c4
Release version 6.0
2017-09-19 21:40:40 +02:00
Link Mauve
c20978fc47
CMakeLists: Set symbol visibility to hidden.
...
This reduces the size of the final binary by 12% by not including
symbols, and thus function bodies that have been inlined for example.
2017-09-10 03:09:19 +02:00
louiz’
6e5c1a1dc1
Don’t forget to bump to version 6.0~dev
2017-06-14 14:23:22 +02:00
louiz’
7ca95a0974
Find sqlite3 instead of litesql
...
Simplifies the CMakeLists.txt a little bit
2017-06-13 10:30:51 +02:00
louiz’
ca9db6f933
Move biboumi.h.cmake inside the src/ directory
2017-05-28 01:01:24 +02:00
louiz’
23a3372144
Release version 5.0
2017-05-24 13:44:32 +02:00
louiz’
2a637bee0a
Do not install biboumi.cfg in /etc/biboumi/
...
Because it would overwrite the user file when installing a new version. And
it’s basically useless anyway, because if the file doesn’t exist at all,
biboumi will write an helpful message on stderr, telling the user to create
the config file.
2017-05-21 12:02:23 +02:00
louiz’
9d1dc9138f
Make the default build type Release (instead of empty string)
2017-05-16 14:21:03 +02:00
louiz’
b98059ecdd
Fix the build when litesql is not used
2017-05-10 17:15:32 +02:00
louiz’
da55060840
Improve the handling of the biboudb.hpp dependencies
2017-05-10 16:50:11 +02:00
louiz’
2c4a47e42d
Add -Wconversion compile flag
2017-05-03 16:55:33 +02:00
louiz’
7b3e0e0cf3
Make botan’s policy configurable from a file
...
fix #3244
2017-04-30 15:14:54 +02:00
louiz’
4bae383c1d
Take into account the include path found by cmake when looking for litesql lib
2017-04-19 21:29:31 +02:00
louiz’
dc5ad49b40
Avoid building test_suite when we make install
2017-04-13 00:19:17 +02:00
louiz’
2d50fec964
cmake: Make some libraries depend on the generated files from database lib
2017-03-15 18:31:59 +01:00
louiz’
0ab40dc1ab
Refactoring louloulibs and cmake
...
Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
2017-03-14 21:45:23 +01:00
louiz’
7bf2402cad
cmake: Correctly use the iconv libraries instead of twice the expat one
2017-03-12 16:51:46 +01:00