mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
refactor: 集成 MaaUtils (#14578)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -50,7 +50,7 @@ Mac can use the `tools/build_macos_universal.zsh` script for compilation. It's r
|
||||
git clone https://github.com/MaaAssistantArknights/MaaDeps
|
||||
cd MaaDeps
|
||||
# If the system is too old to use our prebuilt llvm 20, please consider using local build enviroment instead of cross compiling.
|
||||
# The toolchain config under MaaDeps/cmake needs to be modified.
|
||||
# The toolchain config under src/MaaUtils/MaaDeps/cmake needs to be modified.
|
||||
python linux-toolchain-download.py
|
||||
python build.py
|
||||
```
|
||||
@@ -61,7 +61,7 @@ Mac can use the `tools/build_macos_universal.zsh` script for compilation. It's r
|
||||
cmake -B build \
|
||||
-DINSTALL_RESOURCE=ON \
|
||||
-DINSTALL_PYTHON=ON \
|
||||
-DCMAKE_TOOLCHAIN_FILE=MaaDeps/cmake/maa-x64-linux-toolchain.cmake
|
||||
-DCMAKE_TOOLCHAIN_FILE=src/MaaUtils/MaaDeps/cmake/maa-x64-linux-toolchain.cmake
|
||||
cmake --build build
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user