소스 검색

Android: Add a CMAKE_BUILD_TYPE default

Android NDK builds are always `debug` or `release`.  We may populate
flags for these configurations that are needed to produce compatible
binaries.  Ensure they are used by default.
Brad King 9 년 전
부모
커밋
b6a3102a9f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Modules/Platform/Android-Initialize.cmake

+ 2 - 0
Modules/Platform/Android-Initialize.cmake

@@ -47,3 +47,5 @@ else()
     "Android: No CMAKE_SYSROOT was selected."
     )
 endif()
+
+set(CMAKE_BUILD_TYPE_INIT Debug)