Unverified Commit f64cad89 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update INSTALL

parent 935b3de2
...@@ -3,16 +3,16 @@ Header only version: ...@@ -3,16 +3,16 @@ Header only version:
Just copy the files to your build tree and use a C++11 compiler. Just copy the files to your build tree and use a C++11 compiler.
Or use CMake: Or use CMake:
" "
add_executable(example_header_only example.cpp) add_executable(example_header_only example.cpp)
target_link_libraries(example_header_only spdlog::spdlog_header_only) target_link_libraries(example_header_only spdlog::spdlog_header_only)
" "
Compiled library version: Compiled library version:
================================================================== ==================================================================
CMake: CMake:
" "
add_executable(example example.cpp) add_executable(example example.cpp)
target_link_libraries(example spdlog::spdlog) target_link_libraries(example spdlog::spdlog)
" "
Or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler. Or copy src/spdlog.cpp to your build tree and pass the -DSPDLOG_COMPILED_LIB to the compiler.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment