Skip to content

Commit 866983c

Browse files
authored
Merge pull request #20 from 7bitcoder/dev
Add version 3.0.0
2 parents 6b57a52 + 275da40 commit 866983c

File tree

201 files changed

+7947
-2137
lines changed

Some content is hidden

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

201 files changed

+7947
-2137
lines changed

.github/workflows/DevCI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
run: cmake -E make_directory ${{runner.workspace}}/build
2828

2929
- name: Configure
30-
run: cmake -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_TESTS=ON -D_7BIT_DI_BUILD_EXAMPLES=ON
30+
run: cmake -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON -D_7BIT_DI_BUILD_EXAMPLES=ON
3131

3232
- name: Build
3333
run: cmake --build ${{runner.workspace}}/build --config ${{matrix.build_type}} -j
3434

3535
- name: Test
36-
working-directory: ${{runner.workspace}}/build/Tests
36+
working-directory: ${{runner.workspace}}/build
3737
run: ctest -C ${{matrix.build_type}}
3838
env:
3939
CTEST_OUTPUT_ON_FAILURE: True

.github/workflows/Linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ jobs:
7373
env:
7474
CXX: ${{matrix.cxx}}-${{matrix.compiler.ver}}
7575
CC: ${{matrix.cc}}-${{matrix.compiler.ver}}
76-
run: cmake -B ${{runner.workspace}}/build -G "${{matrix.generator}}" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_TESTS=ON
76+
run: cmake -B ${{runner.workspace}}/build -G "${{matrix.generator}}" -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON
7777

7878
- name: Build
7979
run: cmake --build ${{runner.workspace}}/build --config ${{matrix.build_type}} -j
8080

8181
- name: Test
82-
working-directory: ${{runner.workspace}}/build/Tests
82+
working-directory: ${{runner.workspace}}/build
8383
run: ctest -C ${{matrix.build_type}}
8484
env:
8585
CTEST_OUTPUT_ON_FAILURE: True

.github/workflows/MacOs.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@ jobs:
1515
matrix:
1616
compiler: [
1717
{ tool: apple-clang },
18-
{ tool: gcc, ver: 9 },
1918
{ tool: gcc, ver: 10 },
2019
{ tool: gcc, ver: 11 },
2120
{ tool: gcc, ver: 12 },
2221
{ tool: gcc, ver: 13 } ]
2322
build_type: [ Release ]
24-
os: [ macos-12, macos-13 ]
23+
os: [ macos-12 ]
2524
std: [ 17 ]
2625
library_type: [ Static ]
2726
include:
@@ -31,8 +30,6 @@ jobs:
3130
- compiler: { tool: apple-clang }
3231
cxx: ''
3332
cc: ''
34-
exclude:
35-
- { os: macos-12, compiler: { tool: gcc, ver: 9 } }
3633

3734
runs-on: ${{matrix.os}}
3835
steps:
@@ -48,13 +45,13 @@ jobs:
4845
echo "CC=${{matrix.cc}}-${{matrix.compiler.ver}}" >> $GITHUB_ENV
4946
5047
- name: Configure
51-
run: cmake -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_TESTS=ON
48+
run: cmake -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON
5249

5350
- name: Build
5451
run: cmake --build ${{runner.workspace}}/build --config ${{matrix.build_type}} -j
5552

5653
- name: Test
57-
working-directory: ${{runner.workspace}}/build/Tests
54+
working-directory: ${{runner.workspace}}/build
5855
run: ctest -C ${{matrix.build_type}}
5956
env:
6057
CTEST_OUTPUT_ON_FAILURE: True

.github/workflows/Windows.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232
{ tool: LLVM, ver: 14.0.6 },
3333
{ tool: LLVM, ver: 15.0.7 },
3434
{ tool: LLVM, ver: 16.0.6 },
35-
{ tool: LLVM, ver: 17.0.6 } ]
35+
{ tool: LLVM, ver: 17.0.6 },
36+
{ tool: LLVM, ver: 18.1.2 } ]
3637
build_type: [ Release ]
3738
os: [ windows-2019 ]
3839
std: [ 17 ]
@@ -70,13 +71,13 @@ jobs:
7071
CXX: ${{matrix.cxx}}
7172
CC: ${{matrix.cc}}
7273
PARAMETERS: ${{ matrix.compiler.tool == 'msvc' && format('-A x64 -T v{0}', matrix.compiler.ver) || format('-G "{0}"', matrix.generator) }}
73-
run: cmake -B ${{runner.workspace}}/build ${{env.PARAMETERS}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_TESTS=ON
74+
run: cmake -B ${{runner.workspace}}/build ${{env.PARAMETERS}} -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON
7475

7576
- name: Build
7677
run: cmake --build ${{runner.workspace}}/build --config ${{matrix.build_type}} -j
7778

7879
- name: Test
79-
working-directory: ${{runner.workspace}}/build/Tests
80+
working-directory: ${{runner.workspace}}/build
8081
run: ctest -C ${{matrix.build_type}}
8182
env:
8283
CTEST_OUTPUT_ON_FAILURE: True

Benchmarks/CMakeLists.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
include(FetchContent)
22
FetchContent_Declare(
3-
benchmark
4-
GIT_REPOSITORY https://github.com/google/benchmark.git
5-
GIT_TAG 344117638c8ff7e239044fd0fa7085839fc03021 # release-1.14.0
3+
benchmark
4+
GIT_REPOSITORY https://github.com/google/benchmark.git
5+
GIT_TAG v1.8.3
66
)
7+
set(BENCHMARK_ENABLE_GTEST_TESTS OFF)
78
FetchContent_MakeAvailable(benchmark)
89

9-
enable_testing()
10-
1110
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS *.cpp)
1211

13-
foreach(SOURCE ${SOURCES})
12+
foreach (SOURCE ${SOURCES})
1413
get_filename_component(FILE_NAME ${SOURCE} NAME_WLE)
1514

1615
add_executable(${FILE_NAME}
17-
${SOURCE}
16+
${SOURCE}
1817
)
1918

2019
target_link_libraries(${FILE_NAME}
21-
7bitDI
22-
benchmark::benchmark
20+
7bitDI
21+
benchmark::benchmark
2322
)
24-
endforeach()
23+
endforeach ()

Benchmarks/ServiceProviderBenchmark.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ class ServiceProviderBenchmark : public benchmark::Fixture
88
public:
99
sb::di::ServiceProvider _provider = make();
1010

11-
void SetUp(const ::benchmark::State &state) {}
11+
void SetUp(const benchmark::State &state) override {}
1212

13-
void TearDown(const ::benchmark::State &state) {}
13+
void TearDown(const benchmark::State &state) override {}
1414

15-
sb::di::ServiceProvider make()
15+
static sb::di::ServiceProvider make()
1616
{
1717
return sb::di::ServiceCollection()
1818
.addSingleton<ITestComplexClass1, TestComplexClass1>()

CMakeLists.txt

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.15.0)
22

33
set(_7BIT_DI_LIBRARY 7bitDI)
44

5-
set(_7BIT_DI_VERSION_MAJOR 2)
6-
set(_7BIT_DI_VERSION_MINOR 1)
5+
set(_7BIT_DI_VERSION_MAJOR 3)
6+
set(_7BIT_DI_VERSION_MINOR 0)
77
set(_7BIT_DI_VERSION_PATCH 0)
88

99
set(_7BIT_DI_VERSION ${_7BIT_DI_VERSION_MAJOR}.${_7BIT_DI_VERSION_MINOR}.${_7BIT_DI_VERSION_PATCH})
@@ -12,9 +12,9 @@ project(${_7BIT_DI_LIBRARY} LANGUAGES CXX VERSION ${_7BIT_DI_VERSION})
1212

1313
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/Cmake")
1414

15-
if(NOT CMAKE_CXX_STANDARD)
15+
if (NOT CMAKE_CXX_STANDARD)
1616
set(CMAKE_CXX_STANDARD 17)
17-
endif()
17+
endif ()
1818

1919
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2020

@@ -26,27 +26,29 @@ include_directories(${_7BIT_DI_INCLUDE_DIR})
2626

2727
add_subdirectory(Source)
2828

29-
if(_7BIT_DI_BUILD_DOCS)
30-
add_subdirectory(Docs)
31-
endif()
29+
if (_7BIT_DI_BUILD_UNIT_TESTS OR _7BIT_DI_BUILD_INTEGRATION_TESTS OR _7BIT_DI_BUILD_E2E_TESTS)
30+
enable_testing()
3231

33-
if(_7BIT_DI_BUILD_TESTS)
3432
add_subdirectory(Tests)
35-
endif()
33+
endif ()
34+
35+
if (_7BIT_DI_BUILD_DOCS)
36+
add_subdirectory(Docs)
37+
endif ()
3638

37-
if(_7BIT_DI_BUILD_EXAMPLES)
39+
if (_7BIT_DI_BUILD_EXAMPLES)
3840
add_subdirectory(Examples)
39-
endif()
41+
endif ()
4042

41-
if(_7BIT_DI_BUILD_BENCHMARKS)
43+
if (_7BIT_DI_BUILD_BENCHMARKS)
4244
add_subdirectory(Benchmarks)
43-
endif()
45+
endif ()
4446

45-
if(_7BIT_DI_BUILD_SINGLE_HEADER)
47+
if (_7BIT_DI_BUILD_SINGLE_HEADER)
4648
add_subdirectory(SingleHeader)
47-
endif()
49+
endif ()
4850

49-
if(_7BIT_DI_INSTALL)
51+
if (_7BIT_DI_INSTALL)
5052
set(PROJECT_CONFIG_IN ${CMAKE_CURRENT_SOURCE_DIR}/Cmake/7bitDIConfig.cmake.in)
5153
set(PROJECT_CONFIG_OUT ${CMAKE_CURRENT_BINARY_DIR}/7bitDIConfig.cmake)
5254
set(CONFIG_TARGETS_FILE 7bitDIConfigTargets.cmake)
@@ -56,29 +58,29 @@ if(_7BIT_DI_INSTALL)
5658
install(DIRECTORY ${_7BIT_DI_INCLUDE_DIR}/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
5759

5860
install(
59-
TARGETS 7bitDI
60-
EXPORT 7bitDI
61-
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
62-
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
63-
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
61+
TARGETS 7bitDI
62+
EXPORT 7bitDI
63+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
64+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
65+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
6466

6567
export(
66-
TARGETS 7bitDI
67-
NAMESPACE 7bitDI::
68-
FILE ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_TARGETS_FILE})
68+
TARGETS 7bitDI
69+
NAMESPACE 7bitDI::
70+
FILE ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_TARGETS_FILE})
6971

7072
install(
71-
EXPORT 7bitDI
72-
EXPORT 7bitDI
73-
DESTINATION ${EXPORT_DEST_DIR}
74-
NAMESPACE 7bitDI::
75-
NAMESPACE 7bitDI::
76-
FILE ${CONFIG_TARGETS_FILE})
73+
EXPORT 7bitDI
74+
EXPORT 7bitDI
75+
DESTINATION ${EXPORT_DEST_DIR}
76+
NAMESPACE 7bitDI::
77+
NAMESPACE 7bitDI::
78+
FILE ${CONFIG_TARGETS_FILE})
7779

7880
include(CMakePackageConfigHelpers)
7981

8082
configure_package_config_file(${PROJECT_CONFIG_IN} ${PROJECT_CONFIG_OUT}
81-
INSTALL_DESTINATION ${EXPORT_DEST_DIR})
83+
INSTALL_DESTINATION ${EXPORT_DEST_DIR})
8284

8385
write_basic_package_version_file(${VERSIONS_CONFIG_FILE} COMPATIBILITY SameMajorVersion)
8486

@@ -87,4 +89,4 @@ if(_7BIT_DI_INSTALL)
8789
export(PACKAGE 7bitDI)
8890

8991
include(CPack)
90-
endif()
92+
endif ()

Cmake/Setup.cmake

Lines changed: 49 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
include(Functions)
22

3-
if(NOT CMAKE_BUILD_TYPE)
3+
if (NOT CMAKE_BUILD_TYPE)
44
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose Release or Debug" FORCE)
5-
endif()
5+
endif ()
66

77
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
88
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/bin)
@@ -33,20 +33,20 @@ set(_7BIT_DI_DETAILS_DIR "${_7BIT_DI_DI_DIR}/Details")
3333
set(_7BIT_DI_MAIN_HEADER "${_7BIT_DI_INCLUDE_DIR}/SevenBit/DI.hpp")
3434
file(GLOB _7BIT_DI_TOP_HEADERS "${_7BIT_DI_DI_DIR}/*.hpp")
3535
file(GLOB _7BIT_DI_DETAILS_HEADERS
36-
"${_7BIT_DI_DETAILS_DIR}/Containers/*.hpp"
37-
"${_7BIT_DI_DETAILS_DIR}/Core/*.hpp"
38-
"${_7BIT_DI_DETAILS_DIR}/Factories/*.hpp"
39-
"${_7BIT_DI_DETAILS_DIR}/Helpers/*.hpp"
40-
"${_7BIT_DI_DETAILS_DIR}/Services/*.hpp"
41-
"${_7BIT_DI_DETAILS_DIR}/Utils/*.hpp"
36+
"${_7BIT_DI_DETAILS_DIR}/Containers/*.hpp"
37+
"${_7BIT_DI_DETAILS_DIR}/Core/*.hpp"
38+
"${_7BIT_DI_DETAILS_DIR}/Factories/*.hpp"
39+
"${_7BIT_DI_DETAILS_DIR}/Helpers/*.hpp"
40+
"${_7BIT_DI_DETAILS_DIR}/Services/*.hpp"
41+
"${_7BIT_DI_DETAILS_DIR}/Utils/*.hpp"
4242
)
4343
file(GLOB _7BIT_DI_IMPL_HEADERS
44-
"${_7BIT_DI_DI_DIR}/Impl/*.hpp"
45-
"${_7BIT_DI_DETAILS_DIR}/Containers/Impl/*.hpp"
46-
"${_7BIT_DI_DETAILS_DIR}/Core/Impl/*.hpp"
47-
"${_7BIT_DI_DETAILS_DIR}/Factories/Impl/*.hpp"
48-
"${_7BIT_DI_DETAILS_DIR}/Helpers/Impl/*.hpp"
49-
"${_7BIT_DI_DETAILS_DIR}/Utils/Impl/*.hpp"
44+
"${_7BIT_DI_DI_DIR}/Impl/*.hpp"
45+
"${_7BIT_DI_DETAILS_DIR}/Containers/Impl/*.hpp"
46+
"${_7BIT_DI_DETAILS_DIR}/Core/Impl/*.hpp"
47+
"${_7BIT_DI_DETAILS_DIR}/Factories/Impl/*.hpp"
48+
"${_7BIT_DI_DETAILS_DIR}/Helpers/Impl/*.hpp"
49+
"${_7BIT_DI_DETAILS_DIR}/Utils/Impl/*.hpp"
5050
)
5151
set(_7BIT_DI_ALL_HEADERS ${_7BIT_DI_MAIN_HEADER} ${_7BIT_DI_TOP_HEADERS} ${_7BIT_DI_DETAILS_HEADERS} ${_7BIT_DI_IMPL_HEADERS})
5252

@@ -58,48 +58,59 @@ set_property(CACHE _7BIT_DI_LIBRARY_TYPE PROPERTY STRINGS Shared Static HeaderOn
5858
option(_7BIT_DI_BUILD_PIC "Build position independent code (-fPIC)" OFF)
5959
option(_7BIT_DI_BUILD_EXAMPLES "Build example" OFF)
6060
option(_7BIT_DI_BUILD_BENCHMARKS "Build benchmarks" OFF)
61-
option(_7BIT_DI_BUILD_TESTS "Build tests" OFF)
61+
option(_7BIT_DI_BUILD_ALL_TESTS "Build all tests" OFF)
62+
option(_7BIT_DI_BUILD_UNIT_TESTS "Build unit tests" OFF)
63+
option(_7BIT_DI_BUILD_INTEGRATION_TESTS "Build integration tests" OFF)
64+
option(_7BIT_DI_BUILD_E2E_TESTS "Build e2e tests" OFF)
6265
option(_7BIT_DI_BUILD_DOCS "Turn on to build documentation (requires sphinx and doxygen installed)" OFF)
6366
option(_7BIT_DI_INSTALL "Installs 7bitDI" OFF)
6467
option(_7BIT_DI_BUILD_SINGLE_HEADER "Builds single header SevenBitDI.hpp" OFF)
6568

66-
if(_7BIT_DI_BUILD_PIC)
69+
if (_7BIT_DI_BUILD_ALL_TESTS)
70+
set(_7BIT_DI_BUILD_UNIT_TESTS ${_7BIT_DI_BUILD_ALL_TESTS})
71+
set(_7BIT_DI_BUILD_INTEGRATION_TESTS ${_7BIT_DI_BUILD_ALL_TESTS})
72+
set(_7BIT_DI_BUILD_E2E_TESTS ${_7BIT_DI_BUILD_ALL_TESTS})
73+
endif ()
74+
75+
if (_7BIT_DI_BUILD_PIC)
6776
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
68-
endif()
77+
endif ()
6978

70-
if(_7BIT_DI_LIBRARY_TYPE STREQUAL "Shared" OR BUILD_SHARED_LIBS)
79+
if (_7BIT_DI_LIBRARY_TYPE STREQUAL "Shared" OR BUILD_SHARED_LIBS)
7180
set(_7BIT_DI_BUILD_LIBRARY_TYPE "Shared")
7281
set(_7BIT_DI_SHARED_LIB ON)
73-
elseif(_7BIT_DI_LIBRARY_TYPE STREQUAL "HeaderOnly")
82+
elseif (_7BIT_DI_LIBRARY_TYPE STREQUAL "HeaderOnly")
7483
set(_7BIT_DI_BUILD_LIBRARY_TYPE "HeaderOnly")
7584
set(_7BIT_DI_HEADER_ONLY_LIB ON)
76-
else()
85+
else ()
7786
set(_7BIT_DI_BUILD_LIBRARY_TYPE "Static")
7887
set(_7BIT_DI_STATIC_LIB ON)
79-
endif()
88+
endif ()
8089

8190
configure_file(${_7BIT_DI_DI_DIR}/CmakeDef.hpp.input ${_7BIT_DI_DI_DIR}/CmakeDef.hpp)
8291

8392
set(BYTE_SIZE 8)
8493
math(EXPR MEMORY_SIZE "${CMAKE_SIZEOF_VOID_P} * ${BYTE_SIZE}")
8594

8695
set(INFOS
87-
"${_7BIT_DI_LIBRARY} ${_7BIT_DI_VERSION}"
88-
"Build type: ${CMAKE_BUILD_TYPE}"
89-
"Library type: ${_7BIT_DI_BUILD_LIBRARY_TYPE}"
90-
"=================================================="
91-
"Cmake version: ${CMAKE_VERSION}"
92-
"Os: ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}"
93-
"Architecture: ${CMAKE_SYSTEM_PROCESSOR} ${MEMORY_SIZE}bit"
94-
"CXX compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}"
95-
"CXX standard: ${CMAKE_CXX_STANDARD}"
96-
"Generator: ${CMAKE_GENERATOR}"
97-
"=================================================="
98-
"Build tests: ${_7BIT_DI_BUILD_TESTS}"
99-
"Build examples: ${_7BIT_DI_BUILD_EXAMPLES}"
100-
"Build benchmarks: ${_7BIT_DI_BUILD_BENCHMARKS}"
101-
"Build documentation: ${_7BIT_DI_BUILD_DOCS}"
102-
"Build single header: ${_7BIT_DI_BUILD_SINGLE_HEADER}"
103-
"Install project: ${_7BIT_DI_INSTALL}"
96+
"${_7BIT_DI_LIBRARY} ${_7BIT_DI_VERSION}"
97+
"Build type: ${CMAKE_BUILD_TYPE}"
98+
"Library type: ${_7BIT_DI_BUILD_LIBRARY_TYPE}"
99+
"=================================================="
100+
"Cmake version: ${CMAKE_VERSION}"
101+
"Os: ${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_VERSION}"
102+
"Architecture: ${CMAKE_SYSTEM_PROCESSOR} ${MEMORY_SIZE}bit"
103+
"CXX compiler: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}"
104+
"CXX standard: ${CMAKE_CXX_STANDARD}"
105+
"Generator: ${CMAKE_GENERATOR}"
106+
"=================================================="
107+
"Build unit tests: ${_7BIT_DI_BUILD_UNIT_TESTS}"
108+
"Build integration tests: ${_7BIT_DI_BUILD_INTEGRATION_TESTS}"
109+
"Build e2e tests: ${_7BIT_DI_BUILD_E2E_TESTS}"
110+
"Build examples: ${_7BIT_DI_BUILD_EXAMPLES}"
111+
"Build benchmarks: ${_7BIT_DI_BUILD_BENCHMARKS}"
112+
"Build documentation: ${_7BIT_DI_BUILD_DOCS}"
113+
"Build single header: ${_7BIT_DI_BUILD_SINGLE_HEADER}"
114+
"Install project: ${_7BIT_DI_INSTALL}"
104115
)
105116
printInfo("${INFOS}" = 50 7 0)

0 commit comments

Comments
 (0)