浏览代码

Android: default to RelWithDebInfo

Haibo Huang 5 年之前
父节点
当前提交
3dae826e43
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Modules/Platform/Android-Initialize.cmake

+ 1 - 1
Modules/Platform/Android-Initialize.cmake

@@ -23,7 +23,7 @@ if(CMAKE_SYSTEM_VERSION EQUAL 1)
   return()
   return()
 endif()
 endif()
 
 
-set(CMAKE_BUILD_TYPE_INIT Debug)
+set(CMAKE_BUILD_TYPE_INIT "RelWithDebInfo")
 
 
 # Skip sysroot selection if the NDK has a unified toolchain.
 # Skip sysroot selection if the NDK has a unified toolchain.
 if(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED)
 if(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED)