File tree Expand file tree Collapse file tree 3 files changed +18
-16
lines changed
Expand file tree Collapse file tree 3 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -25,28 +25,26 @@ option(
2525 ${PROJECT_IS_TOP_LEVEL}
2626)
2727
28-
2928add_library (beman.take_before INTERFACE )
3029target_sources (
31- beman.take_before
32- INTERFACE
33- FILE_SET HEADERS
34- BASE_DIRS include
35- FILES include /beman/take_before/take_before.hpp
36- )
30+ beman.take_before
31+ INTERFACE
32+ FILE_SET HEADERS
33+ BASE_DIRS include
34+ FILES include /beman/take_before/take_before.hpp
35+ )
3736
3837add_library (beman::take_before ALIAS beman.take_before)
3938set_target_properties (beman.take_before PROPERTIES VERIFY_INTERFACE_HEADER_SETS ON )
4039
41- set (CMAKE_PREFIX_PATH ${CMAKE_CURRENT_SOURCE_DIR} /infra/cmake)
42-
40+ # gersemi: on
4341
44- find_package ( beman-install -library REQUIRED )
42+ include (infra/cmake/ beman-install -library-config.cmake )
4543beman_install_library(beman.take_before)
4644
4745if (BEMAN_TAKE_BEFORE_BUILD_TESTS)
48- enable_testing ()
49- add_subdirectory (tests/beman/take_before)
46+ enable_testing ()
47+ add_subdirectory (tests/beman/take_before)
5048endif ()
5149
5250if (BEMAN_TAKE_BEFORE_BUILD_EXAMPLES)
Original file line number Diff line number Diff line change 120120 {
121121 "name" : " _root-build" ,
122122 "hidden" : true ,
123- "jobs" : 0
123+ "jobs" : 0 ,
124+ "targets" : [
125+ " all" ,
126+ " all_verify_interface_header_sets"
127+ ]
124128 },
125129 {
126130 "name" : " gcc-debug" ,
Original file line number Diff line number Diff line change 1- # beman::take_before
1+ # ` beman::take_before `
22
33<!--
44SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
@@ -105,7 +105,7 @@ Full runnable examples can be found in [`examples/`](examples/).
105105This project requires:
106106
107107* A C++ compiler that supports ** C++20** or greater
108- * CMake 3.25 or later
108+ * CMake 3.28 or later
109109* (Test Only) GoogleTest
110110
111111You can disable building tests by setting CMake option ` BEMAN_TAKE_BEFORE_BUILD_TESTS ` to ` OFF ` .
@@ -207,5 +207,5 @@ When the delimiter type satisfies `tidy_obj` and the underlying range is borrowe
207207
208208## References
209209
210- - [ P3220R2: views::take_before ] ( https://wg21.link/P3220R2 )
210+ - [ P3220R2: views::take before ] ( https://wg21.link/P3220R2 )
211211- [ P2760: Tier 1 Ranges Adaptors] ( https://wg21.link/P2760 )
You can’t perform that action at this time.
0 commit comments