feat: 添加conan包构建测试
This commit is contained in:
9
test_package/CMakeLists.txt
Normal file
9
test_package/CMakeLists.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.28...3.30)
|
||||
|
||||
project(LoggingTest)
|
||||
|
||||
find_package(logging CONFIG REQUIRED)
|
||||
|
||||
#测试简单基本应用
|
||||
add_executable(${PROJECT_NAME} src/testExmaple.c)
|
||||
target_link_libraries(${PROJECT_NAME} logging::logging)
|
||||
Reference in New Issue
Block a user