aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2023-12-28 14:40:41 +0100
committerArisotura <thetotalworm@gmail.com>2023-12-28 14:40:41 +0100
commit6d0de509c4f5f38198653be9b751c513a0a457a4 (patch)
treea650b6dca867b5b685f1c62f53a2290047fdd3fa
parent345b7439e41e57d159befc8fc2546f184dc10fc0 (diff)
parent54397425781072192192cfb4947102cc5bb2fe41 (diff)
Merge branch 'master' of github.com:melonDS-emu/melonDS
-rw-r--r--CMakePresets.json88
1 files changed, 88 insertions, 0 deletions
diff --git a/CMakePresets.json b/CMakePresets.json
new file mode 100644
index 0000000..e14eda2
--- /dev/null
+++ b/CMakePresets.json
@@ -0,0 +1,88 @@
+{
+ "version": 6,
+ "configurePresets": [
+ {
+ "name": "release",
+ "displayName": "Release",
+ "description": "Default release build configuration.",
+ "generator": "Ninja",
+ "binaryDir": "${sourceDir}/build/release"
+ },
+ {
+ "inherits": "release",
+ "name": "release-vcpkg",
+ "displayName": "Release (vcpkg)",
+ "description": "Release build with packages from vcpkg.",
+ "cacheVariables": {
+ "USE_VCPKG": {
+ "type": "BOOL",
+ "value": "ON"
+ }
+ }
+ },
+ {
+ "name": "release-mac-x86_64",
+ "inherits": "release-vcpkg",
+ "displayName": "macOS release (x86_64)",
+ "binaryDir": "${sourceDir}/build/release-mac-x86_64",
+ "cacheVariables": { "CMAKE_OSX_ARCHITECTURES": "x86_64" }
+ },
+ {
+ "name": "release-mac-arm64",
+ "inherits": "release-vcpkg",
+ "displayName": "macOS release (arm64)",
+ "binaryDir": "${sourceDir}/build/release-mac-arm64",
+ "cacheVariables": { "CMAKE_OSX_ARCHITECTURES": "arm64" }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "release",
+ "configurePreset": "release"
+ },
+ {
+ "name": "release-vcpkg",
+ "configurePreset": "release-vcpkg"
+ },
+ {
+ "name": "release-mac-x86_64",
+ "configurePreset": "release-mac-x86_64"
+ },
+ {
+ "name": "release-mac-arm64",
+ "configurePreset": "release-mac-arm64"
+ }
+ ],
+ "workflowPresets": [
+ {
+ "name": "release",
+ "displayName": "Release",
+ "steps": [
+ { "type": "configure", "name": "release" },
+ { "type": "build", "name": "release" }
+ ]
+ },
+ {
+ "name": "release-vcpkg",
+ "displayName": "Release (vcpkg)",
+ "steps": [
+ { "type": "configure", "name": "release-vcpkg" },
+ { "type": "build", "name": "release-vcpkg" }
+ ]
+ },
+ {
+ "name": "release-mac-x86_64",
+ "steps": [
+ { "type": "configure", "name": "release-mac-x86_64" },
+ { "type": "build", "name": "release-mac-x86_64" }
+ ]
+ },
+ {
+ "name": "release-mac-arm64",
+ "steps": [
+ { "type": "configure", "name": "release-mac-arm64" },
+ { "type": "build", "name": "release-mac-arm64" }
+ ]
+ }
+ ]
+} \ No newline at end of file