From f0f4499540484dec7febed0e3b599182e6012dae Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 5 Sep 2019 14:42:34 +0300 Subject: [PATCH 1/2] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 830016f8..24fd9f6b 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,7 @@ Very fast, header-only/compiled, C++ logging library. [![Build Status](https://t * Copy the source [folder](https://github.com/gabime/spdlog/tree/v1.x/include/spdlog) to your build tree and use a C++11 compiler. #### Static lib version (recommended - much faster compile times, v1.4.0) -* Copy [src/spdlog.cpp](https://github.com/gabime/spdlog/blob/v1.x/src/spdlog.cpp) to your build tree and pass the `-DSPDLOG_COMPILED_LIB` to the compiler. -* Or use **CMake** to build: +* **CMake** build: $ git clone https://github.com/gabime/spdlog.git $ cd spdlog && mkdir build && cd build @@ -18,7 +17,6 @@ Very fast, header-only/compiled, C++ logging library. [![Build Status](https://t see example [CMakeLists.txt](https://github.com/gabime/spdlog/blob/v1.x/example/CMakeLists.txt) on how to use. - ## Platforms * Linux, FreeBSD, OpenBSD, Solaris, AIX * Windows (msvc 2013+, cygwin) From abc7bfe5c94aa7bdbee29eb3eb1de116422183f0 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 5 Sep 2019 14:46:07 +0300 Subject: [PATCH 2/2] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 24fd9f6b..e042d8f2 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,14 @@ Very fast, header-only/compiled, C++ logging library. [![Build Status](https://t ## Install #### Header only version -* Copy the source [folder](https://github.com/gabime/spdlog/tree/v1.x/include/spdlog) to your build tree and use a C++11 compiler. +Copy the source [folder](https://github.com/gabime/spdlog/tree/v1.x/include/spdlog) to your build tree and use a C++11 compiler. #### Static lib version (recommended - much faster compile times, v1.4.0) -* **CMake** build: - - $ git clone https://github.com/gabime/spdlog.git - $ cd spdlog && mkdir build && cd build - $ cmake .. && make -j +```console +$ git clone https://github.com/gabime/spdlog.git +$ cd spdlog && mkdir build && cd build +$ cmake .. && make -j +``` see example [CMakeLists.txt](https://github.com/gabime/spdlog/blob/v1.x/example/CMakeLists.txt) on how to use.