mirror of
https://github.com/armink/EasyLogger.git
synced 2025-01-31 21:42:53 +08:00
cd93d9c768
* add marco for control `function` `file` and `line` fmt output * typo
20 lines
434 B
CMake
20 lines
434 B
CMake
cmake_minimum_required(VERSION 3.26)
|
|
project(easylogger_demo)
|
|
|
|
set(CMAKE_C_STANDARD 99)
|
|
|
|
include_directories(
|
|
${PROJECT_SOURCE_DIR}
|
|
easylogger/inc
|
|
../../../easylogger/inc
|
|
../../../easylogger/plugins/file
|
|
)
|
|
|
|
file(GLOB SOURCES
|
|
main.c
|
|
easylogger/port/*.c
|
|
../../../easylogger/src/*.c
|
|
../../../easylogger/plugins/file/elog_file.c
|
|
)
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES}) |