diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 750fcb8..6d4168a 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -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 ``; 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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c37665..44beafd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() @@ -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() diff --git a/docs/tutorial.md b/docs/tutorial.md index 1ce0cc0..2d35bf8 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -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