[M1] add util::Error, Result<T>, format()
This commit is contained in:
10
tests/CMakeLists.txt
Normal file
10
tests/CMakeLists.txt
Normal 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)
|
||||
Reference in New Issue
Block a user