Rename cli to "chun"
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user