Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(logging): Introduce spdlog to thirdparty #2084

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions thirdparty/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -473,3 +473,19 @@ ExternalProject_Add(http-parser
DOWNLOAD_NO_PROGRESS true
)

ExternalProject_Add(spdlog
URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz
URL_MD5 f2c3f15c20e67b261836ff7bfda302cf
PATCH_COMMAND ""
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${TP_OUTPUT}
-DSPDLOG_ENABLE_PCH=ON
-DSPDLOG_BUILD_PIC=ON
-DSPDLOG_FMT_EXTERNAL=ON
-DSPDLOG_NO_EXCEPTIONS=ON
-Dfmt_DIR=${TP_OUTPUT}/lib/cmake/fmt
BUILD_COMMAND make -j${PARALLEL}
INSTALL_COMMAND make install
DEPENDS fmt
DOWNLOAD_EXTRACT_TIMESTAMP true
DOWNLOAD_NO_PROGRESS true
)
Loading