From 24ad4ac69808f20bc69413ddfc83346488697032 Mon Sep 17 00:00:00 2001 From: Saikari Date: Sat, 21 Dec 2024 01:18:25 +0300 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 4fca58d..9b3d91b 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,20 @@ Oranges's Math Library (omath) is a comprehensive, open-source library aimed at - CMake (for building the project) ### Installation +### vcpkg +**Note**: Support vcpkg for package management +1. Install vcpkg (https://github.com/microsoft/vcpkg) +2. Run the following command to install the orange-math package: +``` +vcpkg install orange-math +``` +CMakeLists.txt +```cmake +find_package(omath CONFIG REQUIRED) +target_link_libraries(main PRIVATE omath::omath) +``` +For detailed commands on installing different versions and more information, please refer to Microsoft's official instructions (https://learn.microsoft.com/en-us/vcpkg/get_started/overview) +### Build from source 1. Clone the repository: ``` git clone https://github.com/orange-cpp/omath.git