1
0
mirror of https://github.com/armink/EasyLogger.git synced 2025-01-31 21:42:53 +08:00
EasyLogger/demo/os/windows/CMakeLists.txt
Kai cd93d9c768
add marco for control function file and line fmt output (#156)
* add marco for control `function` `file` and `line` fmt output

* typo
2024-03-25 22:58:25 +08:00

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})