Skip to content

Commit 9c09529

Browse files
author
fdelapena
authored
Merge pull request #457 from Ghabry/release/0.8
Release 0.8
2 parents 2637def + 0ee6ed1 commit 9c09529

274 files changed

Lines changed: 490 additions & 322 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if(${CMAKE_VERSION} VERSION_LESS 3.12)
44
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
55
endif()
66

7-
project(liblcf VERSION 0.7.0 LANGUAGES CXX)
7+
project(liblcf VERSION 0.8 LANGUAGES CXX)
88

99
# Compilation options
1010
option(BUILD_SHARED_LIBS "Build shared library, disable for building the static library (default: ON)" ON)

CMakePresets.json

Lines changed: 156 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

COPYING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014-2021 liblcf authors
1+
Copyright (c) 2014-2023 liblcf authors
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

Makefile.am

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
ACLOCAL_AMFLAGS = --install -I builds/autoconf/m4
22

33
EXTRA_DIST = AUTHORS.md README.md generator \
4-
CMakeLists.txt builds/cmake mime builds/Doxyfile
4+
CMakeLists.txt CMakePresets.json builds/cmake \
5+
mime builds/Doxyfile builds/release-helper.sh \
6+
builds/sources2buildsystem.pl
57

68
pkgconfigdir = $(libdir)/pkgconfig
79
pkgconfig_DATA = builds/liblcf.pc
@@ -320,12 +322,21 @@ lcfthirdpartyinclude_HEADERS = \
320322

321323
nodist_lcfinclude_HEADERS = src/lcf/config.h
322324

325+
# These are used by CMake
326+
EXTRA_DIST += \
327+
bench/readldb.cpp
328+
323329
check_PROGRAMS = test_runner
324330
test_runner_SOURCES = \
331+
tests/dbarray.cpp \
332+
tests/dbbitarray.cpp \
333+
tests/dbstring.cpp \
325334
tests/doctest.h \
326-
tests/time_stamp.cpp \
327335
tests/flag_set.cpp \
328-
tests/test_main.cpp
336+
tests/test_main.cpp \
337+
tests/time_stamp.cpp \
338+
tests/span.cpp \
339+
tests/string_view.cpp
329340
test_runner_CPPFLAGS = \
330341
-I$(srcdir)/src \
331342
-I$(srcdir)/src/generated

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Building requirements:
4141

4242
Step-by-step instructions:
4343

44-
tar xf liblcf-0.7.0.tar.xz # unpack the tarball
45-
cd liblcf-0.7.0 # enter in the package directory
44+
tar xf liblcf-0.8.tar.xz # unpack the tarball
45+
cd liblcf-0.8 # enter in the package directory
4646
./configure --prefix /usr # find libraries, set options
4747
make # compile the library
4848
sudo make install # install system-wide
@@ -71,8 +71,8 @@ Building requirements:
7171

7272
Step-by-step instructions:
7373

74-
tar xf liblcf-0.7.0.tar.xz # unpack the tarball
75-
cd liblcf-0.7.0 # enter in the package directory
74+
tar xf liblcf-0.8.tar.xz # unpack the tarball
75+
cd liblcf-0.8 # enter in the package directory
7676
cmake . -DCMAKE_BUILD_TYPE=Release # configure project
7777
cmake --build . # compile the library
7878
sudo cmake --build . --target install # install system-wide

builds/cmake/CMakePresets.json.template

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
{
2525
"name": "windows-x86",
2626
"displayName": "Windows (x86)",
27-
"hidden": true,
2827
"cacheVariables": {
2928
"VCPKG_TARGET_TRIPLET": "x86-windows-static"
3029
},
@@ -33,7 +32,6 @@
3332
{
3433
"name": "windows-x86-vs2022",
3534
"displayName": "Windows (x86) using Visual Studio 2022",
36-
"hidden": true,
3735
"generator": "Visual Studio 17 2022",
3836
"architecture": "Win32",
3937
"cacheVariables": {
@@ -44,7 +42,6 @@
4442
{
4543
"name": "windows-x64",
4644
"displayName": "Windows (x64)",
47-
"hidden": true,
4845
"architecture": "x64",
4946
"cacheVariables": {
5047
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
@@ -54,7 +51,6 @@
5451
{
5552
"name": "windows-x64-vs2022",
5653
"displayName": "Windows (x64) using Visual Studio 2022",
57-
"hidden": true,
5854
"generator": "Visual Studio 17 2022",
5955
"architecture": "x64",
6056
"cacheVariables": {

builds/cmake/CMakePresetsBase.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"name": "base",
66
"displayName": "base preset",
77
"hidden": true,
8+
"generator": "Ninja",
89
"binaryDir": "${sourceDir}/build/${presetName}",
910
"cacheVariables": {
1011
"BUILD_SHARED_LIBS": "OFF",

0 commit comments

Comments
 (0)