From 57f08953e53ea9c8a7e2221117db74c157dff9f1 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Tue, 5 Dec 2023 11:34:00 +0800 Subject: [PATCH] feature add ulib_main_test --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 31b5d2a..6af5ea0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,9 +23,6 @@ add_library(${PROJECT_NAME} STATIC target_link_libraries(${PROJECT_NAME} PUBLIC fmt::fmt) target_compile_definitions(${PROJECT_NAME} PRIVATE ULIB_LIBRARY_IMPL) target_include_directories(${PROJECT_NAME} PUBLIC src) -#target_sources(${PROJECT_NAME} -# PRIVATE -#) -add_executable(main src/main.cpp) -target_link_libraries(main PRIVATE ${PROJECT_NAME}) +add_executable(ulib_main_test src/main.cpp) +target_link_libraries(ulib_main_test PRIVATE ${PROJECT_NAME})