mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 03:19:02 +08:00
Moved lite source to folders|
This commit is contained in:
14
spdlite/CMakeLists.txt
Normal file
14
spdlite/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
project(spdlite)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/include)
|
||||
file(GLOB SRC_FILES ${PROJECT_SOURCE_DIR}/src/*.cpp)
|
||||
file(GLOB HEADER_FILES ${PROJECT_SOURCE_DIR}/include/*.h)
|
||||
|
||||
add_library(spdlite ${SRC_FILES} ${HEADER_FILES})
|
||||
|
||||
target_link_libraries(spdlite spdlog::spdlog)
|
||||
|
||||
add_subdirectory(example)
|
||||
|
||||
|
Reference in New Issue
Block a user