Skip to content

Commit

Permalink
Use shared C++ stl
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Aug 8, 2024
1 parent a1d2d2c commit e0fe8fb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build_type=RelWithDebInfo
compiler=clang
compiler.version=17
compiler.cppstd=20
compiler.libcxx=c++_static
compiler.libcxx=c++_shared

[conf]
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build_type=RelWithDebInfo
compiler=clang
compiler.version=17
compiler.cppstd=20
compiler.libcxx=c++_static
compiler.libcxx=c++_shared

[conf]
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}}
Expand Down
2 changes: 1 addition & 1 deletion .github/config/ubuntu-22.04/conan/profiles/android-23-x86
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build_type=RelWithDebInfo
compiler=clang
compiler.version=17
compiler.cppstd=20
compiler.libcxx=c++_static
compiler.libcxx=c++_shared

[conf]
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build_type=RelWithDebInfo
compiler=clang
compiler.version=17
compiler.cppstd=20
compiler.libcxx=c++_static
compiler.libcxx=c++_shared

[conf]
tools.android:ndk_path={{android_home}}/ndk/{{ndk_version}}
Expand Down
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ android {
targets "odr-core", "envvar", "pdf2htmlEX-android"
arguments(
"-DCMAKE_TOOLCHAIN_FILE=conan_android_toolchain.cmake",
// We can migrate to static STL once all C++ deps are in conan and linked as one .so library
"-DANDROID_STL=c++_shared",
"-DCMAKE_BUILD_TYPE=RelWithDebInfo",
)
}
Expand Down

0 comments on commit e0fe8fb

Please sign in to comment.