forked from moritz-wundke/Boost-for-Android
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Experimental support for NDK r19, using shared libc++, as recommended…
… by NDK documentation
- Loading branch information
Showing
9 changed files
with
111 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<compileflags>-mthumb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
# -------------------------------------------------------------------- | ||
|
||
using clang : %ARCH% | ||
: | ||
$(AndroidCompiler_%ARCH%) | ||
: | ||
<archiver>$(AndroidBinariesPath)/llvm-ar | ||
<compileflags>-fPIC | ||
<compileflags>-ffunction-sections | ||
<compileflags>-fdata-sections | ||
<compileflags>-funwind-tables | ||
<compileflags>-fstack-protector-strong | ||
<compileflags>-no-canonical-prefixes | ||
<compileflags>-Wformat | ||
<compileflags>-Werror=format-security | ||
<compileflags>-frtti | ||
<compileflags>-fexceptions | ||
<compileflags>-DNDEBUG | ||
<compileflags>-g | ||
<compileflags>-Oz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Copyright 2003, 2005 Douglas Gregor | ||
# Copyright 2004 John Maddock | ||
# Copyright 2002, 2003, 2004, 2007 Vladimir Prus | ||
# Distributed under the Boost Software License, Version 1.0. | ||
# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
# This file is used to configure your Boost.Build installation. You can modify | ||
# this file in place, or you can place it in a permanent location so that it | ||
# does not get overwritten should you get a new version of Boost.Build. See: | ||
# | ||
# http://www.boost.org/boost-build2/doc/html/bbv2/overview/configuration.html | ||
# | ||
# for documentation about possible permanent locations. | ||
|
||
# This file specifies which toolsets (C++ compilers), libraries, and other | ||
# tools are available. Often, you should be able to just uncomment existing | ||
# example lines and adjust them to taste. The complete list of supported tools, | ||
# and configuration instructions can be found at: | ||
# | ||
# http://boost.org/boost-build2/doc/html/bbv2/reference/tools.html | ||
# | ||
|
||
# This file uses Jam language syntax to describe available tools. Mostly, | ||
# there are 'using' lines, that contain the name of the used tools, and | ||
# parameters to pass to those tools -- where paremeters are separated by | ||
# semicolons. Important syntax notes: | ||
# | ||
# - Both ':' and ';' must be separated from other tokens by whitespace | ||
# - The '\' symbol is a quote character, so when specifying Windows paths you | ||
# should use '/' or '\\' instead. | ||
# | ||
# More details about the syntax can be found at: | ||
# | ||
# http://boost.org/boost-build2/doc/html/bbv2/advanced.html#bbv2.advanced.jam_language | ||
# | ||
# ------------------ | ||
# Android configurations. | ||
# ------------------ | ||
|
||
import os ; | ||
local AndroidNDKRoot = [ os.environ AndroidNDKRoot ] ; | ||
local AndroidBinariesPath = [ os.environ AndroidBinariesPath ] ; | ||
|
||
local AndroidCompiler_arm64v8a = $(AndroidBinariesPath)/aarch64-linux-android21-clang++ ; | ||
local AndroidCompiler_armeabiv7a = $(AndroidBinariesPath)/armv7a-linux-androideabi16-clang++ ; | ||
local AndroidCompiler_x86 = $(AndroidBinariesPath)/i686-linux-android16-clang++ ; | ||
local AndroidCompiler_x8664 = $(AndroidBinariesPath)/x86_64-linux-android21-clang++ ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters