aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakePresets.json
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-01-22 18:28:24 +0100
committerAndre Weissflog <floooh@gmail.com>2023-01-22 18:28:24 +0100
commit4f30474183d3f191a5029f1fd08a1c6ddcf12817 (patch)
treec8885cd1412ad4e64cff968174f7fa04e1654d4a /tests/CMakePresets.json
parenta682efd1741f691618edecd209d33b3532889611 (diff)
extend the android compile tests for sokol_audio.h aaudio vs sles
Diffstat (limited to 'tests/CMakePresets.json')
-rw-r--r--tests/CMakePresets.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/CMakePresets.json b/tests/CMakePresets.json
index e0f04513..fba9a2af 100644
--- a/tests/CMakePresets.json
+++ b/tests/CMakePresets.json
@@ -435,6 +435,38 @@
}
},
{
+ "name": "android_sles_debug",
+ "generator": "Ninja",
+ "binaryDir": "build/android_sles_debug",
+ "toolchainFile": "build/android_sdk/ndk-bundle/build/cmake/android.toolchain.cmake",
+ "cacheVariables": {
+ "SOKOL_BACKEND": "SOKOL_GLES3",
+ "ANDROID_ABI": "armeabi-v7a",
+ "ANDROID_PLATFORM": "android-28",
+ "CMAKE_BUILD_TYPE": "Debug",
+ "SOKOL_FORCE_SLES": {
+ "type": "BOOL",
+ "value": "ON"
+ }
+ }
+ },
+ {
+ "name": "android_sles_release",
+ "generator": "Ninja",
+ "binaryDir": "build/android_sles_release",
+ "toolchainFile": "build/android_sdk/ndk-bundle/build/cmake/android.toolchain.cmake",
+ "cacheVariables": {
+ "SOKOL_BACKEND": "SOKOL_GLES3",
+ "ANDROID_ABI": "armeabi-v7a",
+ "ANDROID_PLATFORM": "android-28",
+ "CMAKE_BUILD_TYPE": "Release",
+ "SOKOL_FORCE_SLES": {
+ "type": "BOOL",
+ "value": "ON"
+ }
+ }
+ },
+ {
"name": "win_gl",
"binaryDir": "build/win_gl",
"cacheVariables": {
@@ -658,6 +690,14 @@
"configurePreset": "android_release"
},
{
+ "name": "android_sles_debug",
+ "configurePreset": "android_sles_debug"
+ },
+ {
+ "name": "android_sles_release",
+ "configurePreset": "android_sles_release"
+ },
+ {
"name": "win_gl_debug",
"configurePreset": "win_gl",
"configuration": "Debug"