mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-12 22:53:27 +00:00
558 lines
16 KiB
JSON
558 lines
16 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-base-vcpkg-x86",
|
|
"hidden": true,
|
|
"inherits": "windows-base",
|
|
"architecture": {
|
|
"value": "x86",
|
|
"strategy": "external"
|
|
},
|
|
"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": "x86-windows",
|
|
"VCPKG_HOST_TRIPLET": "x64-windows",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui;avx2;examples"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-debug-vcpkg-x86",
|
|
"displayName": "Windows Debug Vcpkg (x86)",
|
|
"inherits": "windows-base-vcpkg-x86",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-release-vcpkg-x86",
|
|
"displayName": "Windows Release Vcpkg (x86)",
|
|
"inherits": "windows-base-vcpkg-x86",
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"name": "wasm-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_MAKE_PROGRAM": "ninja"
|
|
}
|
|
},
|
|
{
|
|
"name": "wasm-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "wasm-base",
|
|
"cacheVariables": {
|
|
"OMATH_BUILD_VIA_VCPKG": "ON",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake",
|
|
"VCPKG_CHAINLOAD_TOOLCHAIN_FILE": "$env{EMSDK}/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake",
|
|
"VCPKG_INSTALLED_DIR": "${sourceDir}/cmake-build/vcpkg_installed",
|
|
"VCPKG_TARGET_TRIPLET": "wasm32-emscripten"
|
|
}
|
|
},
|
|
{
|
|
"name": "wasm-debug-vcpkg",
|
|
"displayName": "WASM Debug Vcpkg",
|
|
"inherits": "wasm-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "wasm-release-vcpkg",
|
|
"displayName": "WASM Release Vcpkg",
|
|
"inherits": "wasm-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "g++",
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
"CMAKE_MAKE_PROGRAM": "ninja"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-ucrt-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "mingw-base",
|
|
"environment": {
|
|
"VCPKG_DEFAULT_HOST_TRIPLET": "x64-mingw-dynamic"
|
|
},
|
|
"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": "x64-mingw-dynamic",
|
|
"VCPKG_HOST_TRIPLET": "x64-mingw-dynamic",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-ucrt-release-vcpkg",
|
|
"displayName": "MinGW UCRT64 Release Vcpkg",
|
|
"inherits": "mingw-ucrt-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "mingw-base",
|
|
"environment": {
|
|
"VCPKG_DEFAULT_HOST_TRIPLET": "x64-mingw-dynamic"
|
|
},
|
|
"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": "x64-mingw-dynamic",
|
|
"VCPKG_HOST_TRIPLET": "x64-mingw-dynamic",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-debug",
|
|
"displayName": "MinGW Debug",
|
|
"inherits": "mingw-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-debug-vcpkg",
|
|
"displayName": "MinGW Debug Vcpkg",
|
|
"inherits": "mingw-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-release",
|
|
"displayName": "MinGW Release",
|
|
"inherits": "mingw-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw-release-vcpkg",
|
|
"displayName": "MinGW Release Vcpkg",
|
|
"inherits": "mingw-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw32-base",
|
|
"hidden": true,
|
|
"generator": "Ninja",
|
|
"binaryDir": "${sourceDir}/cmake-build/build/${presetName}",
|
|
"installDir": "${sourceDir}/cmake-build/install/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_COMPILER": "g++",
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
"CMAKE_MAKE_PROGRAM": "ninja"
|
|
},
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw32-base-vcpkg",
|
|
"hidden": true,
|
|
"inherits": "mingw32-base",
|
|
"environment": {
|
|
"VCPKG_DEFAULT_HOST_TRIPLET": "x86-mingw-dynamic"
|
|
},
|
|
"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": "x86-mingw-dynamic",
|
|
"VCPKG_HOST_TRIPLET": "x86-mingw-dynamic",
|
|
"VCPKG_MANIFEST_FEATURES": "tests;imgui"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw32-debug",
|
|
"displayName": "MinGW32 Debug",
|
|
"inherits": "mingw32-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw32-debug-vcpkg",
|
|
"displayName": "MinGW32 Debug Vcpkg",
|
|
"inherits": "mingw32-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw32-release",
|
|
"displayName": "MinGW32 Release",
|
|
"inherits": "mingw32-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "mingw32-release-vcpkg",
|
|
"displayName": "MinGW32 Release Vcpkg",
|
|
"inherits": "mingw32-base-vcpkg",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release"
|
|
}
|
|
}
|
|
]
|
|
} |