From 851ec3735022c2a98a82b12504ac1c1023b36917 Mon Sep 17 00:00:00 2001 From: Saikari Date: Mon, 14 Jul 2025 18:53:41 +0300 Subject: [PATCH] Update INSTALL.md --- INSTALL.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 2725ae9b..6d2e000d 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -14,6 +14,20 @@ 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). +## Using xrepo +**Note**: Support xrepo for package management +1. Install [xmake](https://xmake.io/) +2. Run the following command to install the omath package: +``` +xrepo install omath +``` +xmake.lua +```xmake +add_requires("omath") +target("...") + add_packages("omath") +``` + ## Build from source using CMake 1. **Preparation**