File tree Expand file tree Collapse file tree 4 files changed +5
-34
lines changed
Expand file tree Collapse file tree 4 files changed +5
-34
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash -ex
22#
3- # Copyright (C) 2020 HERE Europe B.V.
3+ # Copyright (C) 2020-2021 HERE Europe B.V.
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@ mkdir -p build && cd build
3434echo " "
3535echo " "
3636echo " *************** $VARIANT Build SDK for C++ ********** Start ***************"
37- CMAKE_COMMAND=" cmake .. -DCMAKE_TOOLCHAIN_FILE=$NDK_ROOT /build/cmake/android.toolchain.cmake \
37+ CMAKE_COMMAND=" cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo - DCMAKE_TOOLCHAIN_FILE=$NDK_ROOT /build/cmake/android.toolchain.cmake \
3838-DANDROID_PLATFORM=android-$ANDROID_API -DANDROID_STL=c++_static -DANDROID_ABI=$ANDROID_ABI "
3939BUILD_COMMAND=" cmake --build . -- -j4"
4040
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ ls -la $ANDROID_NDK_HOME/platforms
3636
3737mkdir -p build && cd build
3838cmake .. -DCMAKE_TOOLCHAIN_FILE=" $ANDROID_HOME /ndk/21.3.6528147/build/cmake/android.toolchain.cmake" \
39+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
3940 -DANDROID_PLATFORM=android-28 \
4041 -DANDROID_ABI=arm64-v8a \
4142 -DANDROID_NDK=" $ANDROID_HOME /ndk/21.3.6528147" \
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22#
3- # Copyright (C) 2019 HERE Europe B.V.
3+ # Copyright (C) 2019-2021 HERE Europe B.V.
44#
55# Licensed under the Apache License, Version 2.0 (the "License");
66# you may not use this file except in compliance with the License.
2121mkdir -p build && cd build
2222cmake ../ -GXcode \
2323 -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/iOS.cmake \
24+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
2425 -DPLATFORM=iphoneos \
2526 -DOLP_SDK_ENABLE_TESTING=NO \
2627 -DSIMULATOR=YES \
2728 -DOLP_SDK_BUILD_EXAMPLES=ON
2829
2930xcodebuild
30- cd ..
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments