mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-08-26 17:33:02 -04:00
Add memory buffer to Logger, so last 500 log messages can be included in crash report. Generate and include stripped pdb files so stack trace can include function names.
36 lines
515 B
CMake
36 lines
515 B
CMake
project(logging)
|
|
|
|
set(logging_SOURCES
|
|
bufferlogger.cpp
|
|
dualfilelogger.cpp
|
|
loggerwithfile.cpp
|
|
filelogger.cpp
|
|
logger.cpp
|
|
logmessage.cpp
|
|
)
|
|
|
|
set(logging_HEADERS
|
|
bufferlogger.h
|
|
dualfilelogger.h
|
|
loggerwithfile.h
|
|
filelogger.h
|
|
logger.h
|
|
logmessage.h
|
|
logglobal.h
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
)
|
|
|
|
add_library(logging
|
|
${logging_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(logging
|
|
Qt::Core
|
|
Qt::Network
|
|
)
|
|
|
|
install(TARGETS logging DESTINATION ${INSTALL_LIB_DIR})
|