Update INSTALL

This commit is contained in:
Gabi Melman 2019-06-03 12:51:20 +03:00 committed by GitHub
parent f64cad89c4
commit e70b2dfbb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -2,18 +2,16 @@ 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.