From feee9594dc62507e515cbd1760fa6d42f1848961 Mon Sep 17 00:00:00 2001 From: Carlos Gomes Martinho Date: Sat, 25 Apr 2020 01:28:04 +0200 Subject: [PATCH 1/2] docs: add cmake and conan usage instructions --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 21c907a..46b2dbd 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,17 @@ cmake -G "Visual Studio 12 2013" -DCMAKE_BUILD_TYPE=Release ..` 3. Open the generated file `replxx.sln` in the `build` subdirectory with Visual Studio. +## Usage with cmake + +### cmake find_package +```cmake +find_package(replxx REQUIRED) +add_executable(main main.cpp) +target_link_libraries(main replxx::replxx) +``` +### conan https://conan.io/center/replxx/0.0.2 +add `replxx/0.0.2` to `conanfile.txt` + ## Tested with... * Linux text only console ($TERM = linux) From f22d775b6d6ed9e854b35fd69e7722a7326193ec Mon Sep 17 00:00:00 2001 From: Carlos Gomes Martinho Date: Mon, 27 Apr 2020 09:54:52 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 46b2dbd..05e4db3 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ add_executable(main main.cpp) target_link_libraries(main replxx::replxx) ``` ### conan https://conan.io/center/replxx/0.0.2 -add `replxx/0.0.2` to `conanfile.txt` +add `replxx/[>=0.0.2]` to `conanfile.txt` ## Tested with...