添加安装细节

This commit is contained in:
2024-11-25 22:19:04 +08:00
parent 3f5153b110
commit b2eec437cd
2 changed files with 7 additions and 0 deletions

View File

@@ -24,3 +24,9 @@ if (TEST)
enable_testing()
add_subdirectory(tests)
endif()
install(FILES include/logging.h DESTINATION include)
install(FILES include/logging/logging-core.h DESTINATION include/logging)
install(FILES include/logging/logging-filter.h DESTINATION include/logging)
install(FILES include/logging/logging-handler.h DESTINATION include/logging)

View File

@@ -11,3 +11,4 @@ else()
add_library(${PROJECT_NAME} ${SRC})
endif()
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib)