mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Add DemoRunner project
This commit is contained in:
parent
5507801dfd
commit
1644ee4ace
242 changed files with 46972 additions and 0 deletions
94
examples/DemoRunner/Builds/Android/app/build.gradle
Normal file
94
examples/DemoRunner/Builds/Android/app/build.gradle
Normal file
|
|
@ -0,0 +1,94 @@
|
|||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 23
|
||||
buildToolsVersion "27.0.0"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path "CMakeLists.txt"
|
||||
}
|
||||
}
|
||||
signingConfigs {
|
||||
juceSigning {
|
||||
storeFile file("${System.properties['user.home']}${File.separator}.android${File.separator}debug.keystore")
|
||||
storePassword "android"
|
||||
keyAlias "androiddebugkey"
|
||||
keyPassword "android"
|
||||
storeType "jks"
|
||||
}
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "com.roli.juce.demorunner"
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 23
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments "-DANDROID_TOOLCHAIN=clang", "-DANDROID_PLATFORM=android-23", "-DANDROID_STL=c++_static", "-DANDROID_CPP_FEATURES=exceptions rtti", "-DANDROID_ARM_MODE=arm", "-DANDROID_ARM_NEON=TRUE"
|
||||
cFlags "-fsigned-char"
|
||||
cppFlags "-fsigned-char", "-std=c++14"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
initWith debug
|
||||
debuggable true
|
||||
jniDebuggable true
|
||||
signingConfig signingConfigs.juceSigning
|
||||
}
|
||||
release {
|
||||
initWith release
|
||||
debuggable false
|
||||
jniDebuggable false
|
||||
signingConfig signingConfigs.juceSigning
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions "default"
|
||||
productFlavors {
|
||||
debug_ {
|
||||
ndk {
|
||||
abiFilters "armeabi", "x86"
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments "-DJUCE_BUILD_CONFIGURATION=DEBUG", "-DCMAKE_CXX_FLAGS_DEBUG=-O0", "-DCMAKE_C_FLAGS_DEBUG=-O0"
|
||||
}
|
||||
}
|
||||
|
||||
dimension "default"
|
||||
}
|
||||
release_ {
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments "-DJUCE_BUILD_CONFIGURATION=RELEASE", "-DCMAKE_CXX_FLAGS_RELEASE=-O3", "-DCMAKE_C_FLAGS_RELEASE=-O3"
|
||||
}
|
||||
}
|
||||
|
||||
dimension "default"
|
||||
}
|
||||
}
|
||||
|
||||
variantFilter { variant ->
|
||||
def names = variant.flavors*.name
|
||||
if (names.contains ("debug_")
|
||||
&& variant.buildType.name != "debug") {
|
||||
setIgnore(true)
|
||||
}
|
||||
if (names.contains ("release_")
|
||||
&& variant.buildType.name != "release") {
|
||||
setIgnore(true)
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue