代码拉取完成,页面将自动刷新
set (qt5debugappender_sources
qt5debugappender.cxx)
find_package (Qt5Core REQUIRED)
#include (${QT_USE_FILE})
set (qt5debugappender log4cplusqt5debugappender${log4cplus_postfix})
add_library (${qt5debugappender} ${qt5debugappender_sources})
if (UNICODE)
target_compile_definitions (${qt5debugappender} PUBLIC UNICODE)
target_compile_definitions (${qt5debugappender} PUBLIC _UNICODE)
add_definitions (-UMBCS -U_MBCS)
endif (UNICODE)
if (${BUILD_SHARED_LIBS})
target_compile_definitions (${qt5debugappender} PRIVATE ${log4cplus}_EXPORTS)
endif ()
target_link_libraries (${qt5debugappender}
${log4cplus}
${Qt5Widgets_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT})
set_target_properties (${qt5debugappender} PROPERTIES
VERSION "${log4cplus_version_major}.${log4cplus_version_minor}.${log4cplus_version_patch}"
SOVERSION "${log4cplus_soversion}")
target_compile_definitions (${qt5debugappender} PRIVATE INSIDE_LOG4CPLUS_QT5DEBUGAPPENDER)
qt5_use_modules(${qt5debugappender} Core)
if (WIN32)
set_target_properties (${qt5debugappender} PROPERTIES
DEBUG_POSTFIX "D")
endif ()
install (TARGETS ${qt5debugappender}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
install (FILES ../include/log4cplus/qt5debugappender.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/log4cplus)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。