[M1] add util::Error, Result<T>, format()

This commit is contained in:
2026-05-08 00:00:21 +00:00
parent 6e922b7249
commit fba725e192
8 changed files with 183 additions and 2 deletions

10
tests/CMakeLists.txt Normal file
View File

@@ -0,0 +1,10 @@
find_package(Catch2 3 REQUIRED CONFIG)
include(Catch)
function(cargoxx_add_test name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} PRIVATE cargoxx Catch2::Catch2WithMain)
catch_discover_tests(${name})
endfunction()
cargoxx_add_test(util_error)