summaryrefslogtreecommitdiff
path: root/meshmc/CMakePresets.json
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 18:45:07 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 18:45:07 +0300
commit31b9a8949ed0a288143e23bf739f2eb64fdc63be (patch)
tree8a984fa143c38fccad461a77792d6864f3e82cd3 /meshmc/CMakePresets.json
parent934382c8a1ce738589dee9ee0f14e1cec812770e (diff)
parentfad6a1066616b69d7f5fef01178efdf014c59537 (diff)
downloadProject-Tick-31b9a8949ed0a288143e23bf739f2eb64fdc63be.tar.gz
Project-Tick-31b9a8949ed0a288143e23bf739f2eb64fdc63be.zip
Add 'meshmc/' from commit 'fad6a1066616b69d7f5fef01178efdf014c59537'
git-subtree-dir: meshmc git-subtree-mainline: 934382c8a1ce738589dee9ee0f14e1cec812770e git-subtree-split: fad6a1066616b69d7f5fef01178efdf014c59537
Diffstat (limited to 'meshmc/CMakePresets.json')
-rw-r--r--meshmc/CMakePresets.json223
1 files changed, 223 insertions, 0 deletions
diff --git a/meshmc/CMakePresets.json b/meshmc/CMakePresets.json
new file mode 100644
index 0000000000..8fb208dcf4
--- /dev/null
+++ b/meshmc/CMakePresets.json
@@ -0,0 +1,223 @@
+{
+ "$schema": "https://cmake.org/cmake/help/latest/_downloads/3e2d73bff478d88a7de0de736ba5e361/schema.json",
+ "version": 8,
+ "cmakeMinimumRequired": {
+ "major": 3,
+ "minor": 28
+ },
+ "configurePresets": [
+ {
+ "name": "base",
+ "hidden": true,
+ "binaryDir": "build",
+ "installDir": "install",
+ "generator": "Ninja Multi-Config",
+ "cacheVariables": {
+ "MeshMC_BUILD_ARTIFACT": "$penv{ARTIFACT_NAME}",
+ "MeshMC_BUILD_PLATFORM": "$penv{BUILD_PLATFORM}",
+ "MeshMC_DISABLE_JAVA_DOWNLOADER": "OFF",
+ "ENABLE_LTO": "ON"
+ }
+ },
+ {
+ "name": "linux",
+ "displayName": "Linux",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Linux"
+ }
+ },
+ {
+ "name": "macos",
+ "displayName": "macOS",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Darwin"
+ },
+ "cacheVariables": {
+ "CMAKE_TOOLCHAIN_FILE": "$penv{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
+ }
+ },
+ {
+ "name": "macos_universal",
+ "displayName": "macOS (Universal Binary)",
+ "inherits": [
+ "macos"
+ ],
+ "cacheVariables": {
+ "CMAKE_TOOLCHAIN_FILE": "$penv{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
+ "CMAKE_OSX_ARCHITECTURES": "x86_64;arm64",
+ "VCPKG_TARGET_TRIPLET": "universal-osx"
+ }
+ },
+ {
+ "name": "windows_mingw",
+ "displayName": "Windows (MinGW)",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ }
+ },
+ {
+ "name": "windows_msvc",
+ "displayName": "Windows (MSVC)",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ },
+ "cacheVariables": {
+ "CMAKE_TOOLCHAIN_FILE": "$penv{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
+ "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "Embedded"
+ }
+ }
+ ],
+ "buildPresets": [
+ {
+ "name": "linux",
+ "displayName": "Linux",
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Linux"
+ },
+ "configurePreset": "linux"
+ },
+ {
+ "name": "macos",
+ "displayName": "macOS",
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Darwin"
+ },
+ "configurePreset": "macos"
+ },
+ {
+ "name": "macos_universal",
+ "displayName": "macOS (Universal Binary)",
+ "inherits": [
+ "macos"
+ ],
+ "configurePreset": "macos_universal"
+ },
+ {
+ "name": "windows_mingw",
+ "displayName": "Windows (MinGW)",
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ },
+ "configurePreset": "windows_mingw"
+ },
+ {
+ "name": "windows_msvc",
+ "displayName": "Windows (MSVC)",
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ },
+ "configurePreset": "windows_msvc"
+ }
+ ],
+ "testPresets": [
+ {
+ "name": "base",
+ "hidden": true,
+ "output": {
+ "outputOnFailure": true,
+ "verbosity": "extra"
+ },
+ "execution": {
+ "noTestsAction": "error"
+ },
+ "filter": {
+ "exclude": {
+ "name": "^example64|example$"
+ }
+ }
+ },
+ {
+ "name": "linux",
+ "displayName": "Linux",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Linux"
+ },
+ "configurePreset": "linux"
+ },
+ {
+ "name": "macos",
+ "displayName": "macOS",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Darwin"
+ },
+ "configurePreset": "macos"
+ },
+ {
+ "name": "macos_universal",
+ "displayName": "macOS (Universal Binary)",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Darwin"
+ },
+ "configurePreset": "macos_universal"
+ },
+ {
+ "name": "windows_mingw",
+ "displayName": "Windows (MinGW)",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ },
+ "configurePreset": "windows_mingw"
+ },
+ {
+ "name": "windows_msvc",
+ "displayName": "Windows (MSVC)",
+ "inherits": [
+ "base"
+ ],
+ "condition": {
+ "type": "equals",
+ "lhs": "${hostSystemName}",
+ "rhs": "Windows"
+ },
+ "configurePreset": "windows_msvc"
+ }
+ ]
+}