From efb780fa67e890eff6055d4f8a8ca9fc5aa18cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 10 May 2024 16:46:23 +0800 Subject: [PATCH] chore: build arm64 --- CMakePresets.json | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/CMakePresets.json b/CMakePresets.json index 74a3488..6142e8b 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -11,6 +11,16 @@ "CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}" } }, + { + "name": "ninja-arm64", + "displayName": "Configure ninja-arm64", + "description": "Configure ninja-arm64", + "generator": "Ninja", + "binaryDir": "${sourceDir}/build/${presetName}", + "cacheVariables": { + "CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}" + } + }, { "name": "msvc-x64", "displayName": "Visual Studio Community 2022 Preview - amd64", @@ -27,6 +37,22 @@ } ], "buildPresets": [ + { + "name":"ninja-arm64-debug", + "description": "Build ninja-arm64 Debug", + "displayName": "Build ninja-arm64 Debug", + "configurePreset": "ninja-arm64", + "configuration": "Debug", + "targets": "all" + }, + { + "name": "ninja-arm64-release", + "description": "Build ninja-arm64 Release", + "displayName": "Build ninja-arm64 Release", + "configurePreset": "ninja-arm64", + "configuration": "Release", + "targets": "all" + } { "name": "ninja-x64-debug", "description": "Build ninja-x64 Debug", @@ -56,4 +82,4 @@ "configuration": "Release" } ] -} \ No newline at end of file +}