File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
tests/beman/inplace_vector Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 55
66cmake_minimum_required(VERSION 3.23)
77
8- option(BUILD_TESTING "Build tests" ON)
9-
108project(
119 beman.inplace_vector
1210 VERSION 1.0.0
@@ -15,9 +13,19 @@ project(
1513 LANGUAGES CXX
1614)
1715
16+ # [CMAKE.SKIP_TESTS]
17+ option(
18+ BEMAN_INPLACE_VECTOR_BUILD_TESTS
19+ "Enable building tests and test infrastructure. Default : ON. Values: { ON, OFF }."
20+ ${PROJECT_IS_TOP_LEVEL}
21+ )
22+
1823include (GNUInstallDirs)
1924
2025add_library(beman.inplace_vector INTERFACE)
26+ # [CMAKE.LIBRARY_ALIAS]
27+ add_library(beman ::inplace_vector ALIAS beman.inplace_vector)
28+
2129target_include_directories(
2230 beman.inplace_vector
2331 INTERFACE
@@ -42,7 +50,7 @@ install(
4250 "${CMAKE_CURRENT_SOURCE_DIR}/include/beman/inplace_vector/inplace_vector.hpp"
4351)
4452
45- if(BUILD_TESTING )
53+ if(BEMAN_INPLACE_VECTOR_BUILD_TESTS )
4654 include (CTest)
47- add_subdirectory(src /beman/inplace_vector/tests )
55+ add_subdirectory(tests /beman/inplace_vector)
4856endif()
Original file line number Diff line number Diff line change 22SPDX-License-Identifier: <SPDX License Expression>
33-->
44
5- # beman.inplace\_ vector
5+ # beman.inplace\_ vector: Dynamically-resizable vector with fixed capacity
66
77![ Continuous Integration Tests] ( https://github.com/bemanproject/inplace_vector/actions/workflows/ci_tests.yml/badge.svg )
88![ Code Format] ( https://github.com/bemanproject/inplace_vector/actions/workflows/pre-commit.yml/badge.svg )
99
10- A dynamically-resizable vector with fixed capacity and embedded storage
11-
1210## Implements
1311
1412- [ ` inplace_vector ` P0843R14] ( https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p0843r14.html )
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments