更改日志模块为spdlog
This commit is contained in:
@@ -5,13 +5,14 @@ set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(nlohmann_json REQUIRED)
|
||||
find_package(spdlog REQUIRED)
|
||||
find_package(fmt REQUIRED)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||
set(SOURCES
|
||||
src/main.cpp
|
||||
src/language/tsl_keywords.cpp
|
||||
src/lsp/dispacther.cpp
|
||||
src/lsp/server.cpp
|
||||
src/lsp/logger.cpp
|
||||
src/provider/base/provider_registry.cpp
|
||||
src/provider/initialize/initialize_provider.cpp
|
||||
src/provider/initialized/initialized_provider.cpp
|
||||
@@ -24,5 +25,7 @@ set(SOURCES
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
nlohmann_json::nlohmann_json
|
||||
spdlog::spdlog
|
||||
fmt::fmt
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user