From 1a66d452044ef17aeeebfaeb55cb57a2202aacf3 Mon Sep 17 00:00:00 2001 From: zekexiao Date: Mon, 19 Jan 2026 22:10:33 +0800 Subject: [PATCH] Rename cli to "chun" --- CMakeLists.txt | 14 +++++++------- cli/main.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b6e4d68..8efc8cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,21 +29,21 @@ set(LIB_HEADERS ) if(CAMELLYA_BUILD_STATIC) - add_library(libcamellya STATIC ${LIB_SOURCES} ${LIB_HEADERS}) + add_library(camellya STATIC ${LIB_SOURCES} ${LIB_HEADERS}) elseif() - add_library(libcamellya SHARED ${LIB_SOURCES} ${LIB_HEADERS}) + add_library(camellya SHARED ${LIB_SOURCES} ${LIB_HEADERS}) endif() -target_include_directories(libcamellya PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src) +target_include_directories(camellya PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src) if(CAMELLYA_BUILD_CLI) - add_executable(camellya + add_executable(chun cli/main.cpp ) - target_link_libraries(camellya + target_link_libraries(chun PRIVATE - libcamellya + camellya ) endif() @@ -72,7 +72,7 @@ if(CAMELLYA_BUILD_TESTS) target_link_libraries(camellya_tests PRIVATE - libcamellya + camellya Catch2::Catch2WithMain ) diff --git a/cli/main.cpp b/cli/main.cpp index 5e5895a..0ca8a2c 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -5,7 +5,7 @@ int main(int argc, char** argv) { if(argc < 2){ - std::cout << std::format("Usage: camellya