Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ rejected signatures, floating-point edge cases, and tuple structure.
Keep these public-interface tests external. Private tests, if added, belong in
their owning `.cpp` under `#if CPP_LIBRARY_TESTING()` after including
`<cpp-library/testing.hpp>`; guard doctest and test-only helpers there too.
Use the toolkit's thread, static-test-support, generated-runner, and 120-second
Use the toolkit's thread, generated-runner, and 120-second
timeout defaults. Standalone tests must not receive the private `src` include root.

`examples/example.cpp` is compiled and run by CTest and included directly
Expand Down
14 changes: 2 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.24)

include(cmake/CPM.cmake)
CPMAddPackage("gh:stlab/cpp-library@6.2.0")
CPMAddPackage("gh:stlab/cpp-library@7.0.0")
include("${cpp-library_SOURCE_DIR}/cpp-library.cmake")
cpp_library_enable_dependency_tracking()

Expand All @@ -23,15 +23,5 @@ cpp_library_setup(
DOCS_OPTIONS
"USE_MDFILE_AS_MAINPAGE = ${CMAKE_CURRENT_SOURCE_DIR}/README.md"
)
CPMAddPackage("gh:stlab/cel-parser@1.1.2")
CPMAddPackage("gh:stlab/cel-parser@1.1.3")
target_link_libraries(std PUBLIC cel::parser)

# Standalone tests use public headers, not the toolkit's private source include root.
get_property(directory_targets DIRECTORY PROPERTY BUILDSYSTEM_TARGETS)
foreach(directory_target IN LISTS directory_targets)
get_target_property(include_directories "${directory_target}" INCLUDE_DIRECTORIES)
if(include_directories)
list(REMOVE_ITEM include_directories "${CMAKE_CURRENT_SOURCE_DIR}/src")
set_property(TARGET "${directory_target}" PROPERTY INCLUDE_DIRECTORIES "${include_directories}")
endif()
endforeach()
2 changes: 1 addition & 1 deletion docs/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ fails.

## Consume an installed package

Install `cel-runtime` 1.1.3 and `cel-parser` 1.1.2 separately before installing
Install `cel-runtime` 1.1.4 and `cel-parser` 1.1.3 separately before installing
`cel-std`. From the `cel-std` source directory, run:

```sh
Expand Down
Loading