Skip to content

Commit

Permalink
use relwithdebinfo everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed May 26, 2024
1 parent 4ca7e4a commit b129b95
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ task conanProfile {
task conanInstall {
["armv7", "armv8", "x86", "x86_64"].each { String arch ->
exec {
commandLine "conan", "install", ".", "--profile:host=build/conanprofile.txt",
"-s", "build_type=RelWithDebInfo", "-s", "arch=" + arch, "--build=missing",
commandLine "conan", "install", ".",
"--build=missing",
"--profile:host=build/conanprofile.txt",
"-s", "build_type=RelWithDebInfo",
"-s", "arch=" + arch,
"-c", "tools.cmake.cmake_layout:build_folder_vars=['settings.arch']"
}
}
Expand All @@ -47,7 +50,10 @@ android {
externalNativeBuild {
cmake {
targets "odr-core"
arguments "-DCMAKE_TOOLCHAIN_FILE=conan_android_toolchain.cmake"
arguments(
"-DCMAKE_TOOLCHAIN_FILE=conan_android_toolchain.cmake",
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
)
}
}
}
Expand Down

0 comments on commit b129b95

Please sign in to comment.