rename:更名。

This commit is contained in:
taynpg 2025-03-05 09:23:50 +08:00
parent abe5590ec9
commit a983149abc
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.16)
project(deepseek-use LANGUAGES CXX)
project(openai-api LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
@ -24,7 +24,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
include_directories(3rd)
find_package(CURL REQUIRED)
add_executable(deepseek-use main.cxx zapi.h zapi.cxx jsondata.h jsondata.cxx handle.h handle.cxx server.h server.cxx)
target_link_libraries(deepseek-use PRIVATE CURL::libcurl)
add_executable(openai-api main.cxx zapi.h zapi.cxx jsondata.h jsondata.cxx handle.h handle.cxx server.h server.cxx)
target_link_libraries(openai-api PRIVATE CURL::libcurl)
add_executable(deepseek-client-test client_test.cxx)
add_executable(openai-api-test client_test.cxx)

View File

@ -30,6 +30,7 @@ std::string show_api(const std::string& api)
int main(int argc, char* argv[])
{
std::cout << "Version: 0.9.0" << std::endl;
if (argc < 2) {
std::cout << "note: you can give port to start." << std::endl;
return 0;