add catch2
This commit is contained in:
parent
848e8cc183
commit
f2399787c9
4 changed files with 15 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) Lysann Tranvouez. All rights reserved.
|
||||
|
||||
cmake_minimum_required(VERSION 3.29)
|
||||
project(mach_detours C CXX)
|
||||
|
||||
|
|
@ -26,3 +28,11 @@ add_executable(mach_detours_sample
|
|||
target_link_libraries(mach_detours_sample
|
||||
PRIVATE mach_detours
|
||||
)
|
||||
|
||||
|
||||
add_subdirectory(lib/catch2)
|
||||
add_executable(mach_detours_tests
|
||||
tests/test.cpp)
|
||||
target_link_libraries(mach_detours_tests
|
||||
PRIVATE Catch2::Catch2WithMain mach_detours
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue