mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
d24c8453db
subrepo: subdir: "libultraship" merged: "a484cda98" upstream: origin: "https://github.com/HarbourMasters/libultraship.git" branch: "main" commit: "a484cda98" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
25 lines
637 B
Plaintext
25 lines
637 B
Plaintext
Header only version:
|
|
==================================================================
|
|
Just copy the files to your build tree and use a C++11 compiler.
|
|
Or use CMake:
|
|
add_executable(example_header_only example.cpp)
|
|
target_link_libraries(example_header_only spdlog::spdlog_header_only)
|
|
|
|
|
|
Compiled library version:
|
|
==================================================================
|
|
CMake:
|
|
add_executable(example example.cpp)
|
|
target_link_libraries(example spdlog::spdlog)
|
|
|
|
Or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.
|
|
|
|
Tested on:
|
|
gcc 4.8.1 and above
|
|
clang 3.5
|
|
Visual Studio 2013
|
|
|
|
|
|
|
|
|