Skip to content

Commit

Permalink
cmake: add android configs to presets
Browse files Browse the repository at this point in the history
  • Loading branch information
iboB committed Jul 1, 2024
1 parent 013ef61 commit b99a4bc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,29 @@
"name": "win-debug-32bit",
"inherits": "base-debug",
"architecture": { "value": "Win32", "strategy": "external" }
},

{
"name": "android",
"hidden": true,
"cacheVariables": {
"CMAKE_SYSTEM_NAME": "Android",
"CMAKE_SYSTEM_VERSION": "28",
"CMAKE_ANDROID_ARCH_ABI": "arm64-v8a",
"CMAKE_ANDROID_NDK": {
"value": "$env{ANDROID_NDK_ROOT}",
"type": "PATH"
},
"CMAKE_ANDROID_STL_TYPE": "c++_static"
}
},
{
"name": "debug-android",
"inherits": ["debug", "android"]
},
{
"name": "release-android",
"inherits": ["release", "android"]
}
]
}

0 comments on commit b99a4bc

Please sign in to comment.