From 1224dd6c9bd4577d686ac42334fc545997f5ece1 Mon Sep 17 00:00:00 2001 From: wqking Date: Sun, 8 Dec 2024 14:54:09 +0800 Subject: [PATCH] Added instructions for installing from Homebrew --- doc/install.md | 9 ++++++++- readme.md | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/install.md b/doc/install.md index a119b7c..d9badb7 100644 --- a/doc/install.md +++ b/doc/install.md @@ -6,9 +6,10 @@ - [Use Vcpkg package manager](#use-vcpkg-package-manager) - [Use Conan package manager](#use-conan-package-manager) - [Use Hunter package manager](#use-hunter-package-manager) + - [Use Homebrew on macOS (or Linux)](#use-homebrew-on-macos-or-linux) - [Install using CMake locally and use it in CMake](#install-using-cmake-locally-and-use-it-in-cmake) -`eventpp` package is available in C++ package managers Vcpkg, Conan, and Hunter. +`eventpp` package is available in C++ package managers Vcpkg, Conan, Hunter, and Homebrew. `eventpp` is header only and not requires building. There are various methods to use `eventpp`. Here lists all possible methods to use `eventpp`. @@ -93,6 +94,12 @@ target_link_libraries(main eventpp::eventpp) include_directories(${EVENTPP_INCLUDE_DIR}) ``` +## Use Homebrew on macOS (or Linux) + +``` +brew install eventpp +``` + ## Install using CMake locally and use it in CMake Note: this is only an alternative, you should use the FetchContent method instead of this. diff --git a/readme.md b/readme.md index 432b3f6..f1f6083 100644 --- a/readme.md +++ b/readme.md @@ -57,6 +57,7 @@ Apache License, Version 2.0 ## Version 0.1.3 +`eventpp` package is available in C++ package managers Vcpkg, Conan, Hunter, and Homebrew. The master branch is usable and stable. Don't worry about the large time span between commits and releases. The library is actively maintained. The master branch is currently fully back compatible with the first version. So your project won't get any back compatible issues.