mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-09-17 18:44:47 +00:00
This is my port of SDL3 to HarmonyOS/OpenHarmony. It has been tested on real hardware from Huawei, and commercial games are being prepped to ship with it already. There is _heavy_ documentation in docs/README-harmonyos.md, including how to set up a development environment and project, build, and debug, for the completely uninitiated. This work was sponsored by Outfit7: https://outfit7.com/ Fixes #9837.
45 lines
875 B
Plaintext
45 lines
875 B
Plaintext
{
|
|
"apiType": "stageMode",
|
|
"buildOption": {
|
|
"resOptions": {
|
|
"copyCodeResource": {
|
|
"enable": false
|
|
}
|
|
},
|
|
"externalNativeOptions": {
|
|
"path": "./src/main/cpp/CMakeLists.txt",
|
|
"arguments": "-DCMAKE_PLATFORM_NO_VERSIONED_SONAME=1", // Otherwise, we load SDL3's data segment twice. :(
|
|
"cppFlags": "",
|
|
"abiFilters": [
|
|
"arm64-v8a",
|
|
"x86_64"
|
|
]
|
|
}
|
|
},
|
|
"buildOptionSet": [
|
|
{
|
|
"name": "release",
|
|
"arkOptions": {
|
|
"obfuscation": {
|
|
"ruleOptions": {
|
|
"enable": false,
|
|
"files": [
|
|
"./obfuscation-rules.txt"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"nativeLib": {
|
|
"debugSymbol": {
|
|
"strip": true,
|
|
"exclude": []
|
|
}
|
|
}
|
|
},
|
|
],
|
|
"targets": [
|
|
{
|
|
"name": "default"
|
|
},
|
|
]
|
|
} |