1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-25 23:30:49 +08:00

Added instructions for installing from Homebrew

This commit is contained in:
wqking 2024-12-08 14:54:09 +08:00
parent 8b074920ee
commit 1224dd6c9b
2 changed files with 9 additions and 1 deletions

View File

@ -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.

View File

@ -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.