Last active
June 4, 2026 05:58
-
-
Save gen2brain/dcf02ececc5890f8a7a8e9fc172a13d5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "version": 6, | |
| "configurePresets": [ | |
| { | |
| "name": "win32-cross", | |
| "displayName": "Win32 cross-compile (mingw-w64)", | |
| "inherits": "win32", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Windows", | |
| "CMAKE_C_COMPILER": "x86_64-w64-mingw32-gcc", | |
| "CMAKE_CXX_COMPILER": "x86_64-w64-mingw32-g++" | |
| } | |
| }, | |
| { | |
| "name": "win32-cross-full", | |
| "displayName": "Win32 cross-compile with all optional libraries", | |
| "inherits": "win32-full", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Windows", | |
| "CMAKE_C_COMPILER": "x86_64-w64-mingw32-gcc", | |
| "CMAKE_CXX_COMPILER": "x86_64-w64-mingw32-g++" | |
| } | |
| }, | |
| { | |
| "name": "winui-cross", | |
| "displayName": "WinUI cross-compile (llvm-mingw)", | |
| "inherits": "winui", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Windows", | |
| "CMAKE_C_COMPILER": "/opt/llvm-mingw/bin/x86_64-w64-mingw32-clang", | |
| "CMAKE_CXX_COMPILER": "/opt/llvm-mingw/bin/x86_64-w64-mingw32-clang++" | |
| } | |
| }, | |
| { | |
| "name": "winui-cross-full", | |
| "displayName": "WinUI cross-compile with all optional libraries", | |
| "inherits": "winui-full", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Windows", | |
| "CMAKE_C_COMPILER": "/opt/llvm-mingw/bin/x86_64-w64-mingw32-clang", | |
| "CMAKE_CXX_COMPILER": "/opt/llvm-mingw/bin/x86_64-w64-mingw32-clang++" | |
| } | |
| }, | |
| { | |
| "name": "cocoa-cross", | |
| "displayName": "Cocoa Cross-compile (OSXCross)", | |
| "inherits": "cocoa", | |
| "cmakeExecutable": "/opt/osxcross/target/bin/x86_64-apple-darwin25.1-cmake", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Darwin", | |
| "CMAKE_C_COMPILER": "/opt/osxcross/target/bin/x86_64-apple-darwin25.1-clang", | |
| "CMAKE_CXX_COMPILER": "/opt/osxcross/target/bin/x86_64-apple-darwin25.1-clang++" | |
| } | |
| }, | |
| { | |
| "name": "cocoa-cross-full", | |
| "displayName": "Cocoa cross-compile with all optional libraries", | |
| "inherits": "cocoa-full", | |
| "cmakeExecutable": "/opt/osxcross/target/bin/x86_64-apple-darwin25.1-cmake", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Darwin", | |
| "CMAKE_C_COMPILER": "/opt/osxcross/target/bin/x86_64-apple-darwin25.1-clang", | |
| "CMAKE_CXX_COMPILER": "/opt/osxcross/target/bin/x86_64-apple-darwin25.1-clang++" | |
| } | |
| }, | |
| { | |
| "name": "cocoatouch-cross", | |
| "displayName": "CocoaTouch / iOS Device cross-compile, arm64", | |
| "inherits": "cocoatouch", | |
| "cmakeExecutable": "/opt/osxcross/target/bin/arm64-apple-darwin25.1-cmake", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Darwin", | |
| "CMAKE_C_COMPILER": "/opt/osxcross/target/bin/arm64-apple-ios-clang", | |
| "CMAKE_CXX_COMPILER": "/opt/osxcross/target/bin/arm64-apple-ios-clang++", | |
| "CMAKE_OBJC_COMPILER": "/opt/osxcross/target/bin/arm64-apple-ios-clang", | |
| "CMAKE_TRY_COMPILE_TARGET_TYPE": "STATIC_LIBRARY" | |
| } | |
| }, | |
| { | |
| "name": "cocoatouch-cross-full", | |
| "displayName": "CocoaTouch / iOS Device, arm64, with all optional libraries", | |
| "inherits": "cocoatouch-cross", | |
| "cacheVariables": { | |
| "IUP_BUILD_GL": "ON", | |
| "IUP_BUILD_WEB": "ON", | |
| "IUP_BUILD_CTRL": "ON", | |
| "IUP_BUILD_PLOT": "ON" | |
| } | |
| }, | |
| { | |
| "name": "cocoatouch-cross-x86_64", | |
| "displayName": "CocoaTouch / iOS Simulator cross-compile, x86_64", | |
| "inherits": "cocoatouch", | |
| "cmakeExecutable": "/opt/osxcross/target/bin/x86_64-apple-darwin25.1-cmake", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Darwin", | |
| "CMAKE_C_COMPILER": "/opt/osxcross/target/bin/x86_64-apple-ios-simulator-clang", | |
| "CMAKE_CXX_COMPILER": "/opt/osxcross/target/bin/x86_64-apple-ios-simulator-clang++", | |
| "CMAKE_OBJC_COMPILER": "/opt/osxcross/target/bin/x86_64-apple-ios-simulator-clang", | |
| "CMAKE_TRY_COMPILE_TARGET_TYPE": "STATIC_LIBRARY" | |
| } | |
| }, | |
| { | |
| "name": "cocoatouch-cross-x86_64-full", | |
| "displayName": "CocoaTouch / iOS Simulator, x86_64, with all optional libraries", | |
| "inherits": "cocoatouch-cross-x86_64", | |
| "cacheVariables": { | |
| "IUP_BUILD_GL": "ON", | |
| "IUP_BUILD_WEB": "ON", | |
| "IUP_BUILD_CTRL": "ON", | |
| "IUP_BUILD_PLOT": "ON" | |
| } | |
| }, | |
| { | |
| "name": "android-local", | |
| "displayName": "Android backend (local NDK)", | |
| "inherits": "android", | |
| "environment": { | |
| "ANDROID_NDK_HOME": "/opt/android-ndk/latest" | |
| } | |
| }, | |
| { | |
| "name": "android-local-full", | |
| "displayName": "Android with GL and Web (local NDK)", | |
| "inherits": "android-full", | |
| "environment": { | |
| "ANDROID_NDK_HOME": "/opt/android-ndk/latest" | |
| } | |
| }, | |
| { | |
| "name": "haiku-cross", | |
| "displayName": "Haiku cross-compile (x86_64)", | |
| "inherits": "haiku", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Haiku", | |
| "CMAKE_C_COMPILER": "/opt/haiku/generated/cross-tools-x86_64/bin/haiku-x86_64-cc", | |
| "CMAKE_CXX_COMPILER": "/opt/haiku/generated/cross-tools-x86_64/bin/haiku-x86_64-cxx" | |
| } | |
| }, | |
| { | |
| "name": "haiku-cross-full", | |
| "displayName": "Haiku cross-compile with all optional libraries", | |
| "inherits": "haiku-full", | |
| "cacheVariables": { | |
| "CMAKE_SYSTEM_NAME": "Haiku", | |
| "CMAKE_C_COMPILER": "/opt/haiku/generated/cross-tools-x86_64/bin/haiku-x86_64-cc", | |
| "CMAKE_CXX_COMPILER": "/opt/haiku/generated/cross-tools-x86_64/bin/haiku-x86_64-cxx" | |
| } | |
| }, | |
| { | |
| "name": "wasm-cross", | |
| "displayName": "WebAssembly cross-compile (Emscripten, local emsdk)", | |
| "inherits": "wasm", | |
| "toolchainFile": "/opt/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" | |
| }, | |
| { | |
| "name": "wasm-cross-full", | |
| "displayName": "WebAssembly cross-compile with all optional libraries", | |
| "inherits": "wasm-full", | |
| "toolchainFile": "/opt/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment