mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
332 lines
8.9 KiB
JSON
332 lines
8.9 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "windows-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "cl.exe",
|
|
"CMAKE_MAKE_PROGRAM": "Ninja"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "windows-base",
|
|
"cacheVariables": {
|
|
"OMATH_BUILD_VIA_VCPKG": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_INSTALLED_DIR": "${sourceDir}/cmake-build/vcpkg_installed",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui;avx2;examples"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-debug",
|
|
"displayName": "Debug",
|
|
"inherits": "windows-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-debug-vcpkg",
|
|
"displayName": "Windows Debug Vcpkg",
|
|
"inherits": "windows-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-release-vcpkg",
|
|
"displayName": "Windows Release Vcpkg",
|
|
"inherits": "windows-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"OMATH_BUILD_VIA_VCPKG": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-release",
|
|
"displayName": "Release",
|
|
"inherits": "windows-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_MAKE_PROGRAM": "ninja"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Linux"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "linux-base",
|
|
"cacheVariables": {
|
|
"OMATH_BUILD_VIA_VCPKG": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_INSTALLED_DIR": "${sourceDir}/cmake-build/vcpkg_installed",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui;avx2"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"displayName": "Linux Debug",
|
|
"inherits": "linux-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-debug-vcpkg",
|
|
"displayName": "Linux Debug",
|
|
"inherits": "linux-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-release",
|
|
"displayName": "Linux Release",
|
|
"inherits": "linux-debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-release-vcpkg",
|
|
"displayName": "Linux Release",
|
|
"inherits": "linux-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "darwin-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_MAKE_PROGRAM": "ninja"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
}
|
|
},
|
|
{
|
|
"name": "darwin-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "darwin-base",
|
|
"cacheVariables": {
|
|
"OMATH_BUILD_VIA_VCPKG": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_INSTALLED_DIR": "${sourceDir}/cmake-build/vcpkg_installed",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui;avx2;examples"
|
|
}
|
|
},
|
|
{
|
|
"name": "darwin-debug",
|
|
"displayName": "Darwin Debug",
|
|
"inherits": "darwin-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "darwin-debug-vcpkg",
|
|
"displayName": "Darwin Debug Vcpkg",
|
|
"inherits": "darwin-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "darwin-release",
|
|
"displayName": "Darwin Release",
|
|
"inherits": "darwin-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "darwin-release-vcpkg",
|
|
"displayName": "Darwin Release Vcpkg",
|
|
"inherits": "darwin-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "ios-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_SYSTEM_NAME": "iOS",
|
|
"CMAKE_OSX_DEPLOYMENT_TARGET": "18.5",
|
|
"CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED": "NO",
|
|
"CMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED": "NO"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Darwin"
|
|
}
|
|
},
|
|
{
|
|
"name": "ios-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "ios-base",
|
|
"cacheVariables": {
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_TARGET_TRIPLET": "arm64-ios",
|
|
"VCPKG_HOST_TRIPLET": "arm64-osx"
|
|
}
|
|
},
|
|
{
|
|
"name": "ios-release-vcpkg",
|
|
"displayName": "iOS Release (vcpkg)",
|
|
"inherits": "ios-base-vcpkg"
|
|
},
|
|
{
|
|
"name": "freebsd-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_MAKE_PROGRAM": "ninja"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "FreeBSD"
|
|
}
|
|
},
|
|
{
|
|
"name": "freebsd-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "freebsd-base",
|
|
"cacheVariables": {
|
|
"OMATH_BUILD_VIA_VCPKG": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_INSTALLED_DIR": "${sourceDir}/cmake-build/vcpkg_installed",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui;avx2"
|
|
}
|
|
},
|
|
{
|
|
"name": "freebsd-debug",
|
|
"displayName": "FreeBSD Debug",
|
|
"inherits": "freebsd-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "freebsd-debug-vcpkg",
|
|
"displayName": "FreeBSD Debug Vcpkg",
|
|
"inherits": "freebsd-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "freebsd-release",
|
|
"displayName": "FreeBSD Release",
|
|
"inherits": "freebsd-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "freebsd-release-vcpkg",
|
|
"displayName": "FreeBSD Release Vcpkg",
|
|
"inherits": "freebsd-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_SYSTEM_NAME": "Android",
|
|
"CMAKE_SYSTEM_VERSION": "24",
|
|
"CMAKE_ANDROID_ARCH_ABI": "arm64-v8a",
|
|
"CMAKE_ANDROID_NDK": "$env{ANDROID_NDK_HOME}",
|
|
"CMAKE_MAKE_PROGRAM": "ninja"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "android-base",
|
|
"cacheVariables": {
|
|
"OMATH_BUILD_VIA_VCPKG": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_INSTALLED_DIR": "${sourceDir}/cmake-build/vcpkg_installed",
|
|
"VCPKG_TARGET_TRIPLET": "arm64-android",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-debug",
|
|
"displayName": "Android Debug",
|
|
"inherits": "android-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-debug-vcpkg",
|
|
"displayName": "Android Debug Vcpkg",
|
|
"inherits": "android-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-release",
|
|
"displayName": "Android Release",
|
|
"inherits": "android-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "android-release-vcpkg",
|
|
"displayName": "Android Release Vcpkg",
|
|
"inherits": "android-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
}
|
|
]
|
|
} |