Squashed 'vendor/spdlog/' content from commit 47c17be
git-subtree-dir: vendor/spdlog git-subtree-split: 47c17be9a111ab20123e1bd8e6c6717aa2adfea2
This commit is contained in:
15
example/jni/Android.mk
Normal file
15
example/jni/Android.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
# Setup a project
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := example
|
||||
LOCAL_SRC_FILES := example.cpp
|
||||
LOCAL_CPPFLAGS += -Wall -Wshadow -Wextra -pedantic -std=c++11 -fPIE -pie
|
||||
LOCAL_LDFLAGS += -fPIE -pie
|
||||
|
||||
# Add exception support and set path for spdlog's headers
|
||||
LOCAL_CPPFLAGS += -fexceptions -I../include
|
||||
# Use android's log library
|
||||
LOCAL_LDFLAGS += -llog
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
2
example/jni/Application.mk
Normal file
2
example/jni/Application.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
# Exceptions are used in spdlog. Link to an exception-ready C++ runtime.
|
||||
APP_STL = gnustl_static
|
1
example/jni/example.cpp
Symbolic link
1
example/jni/example.cpp
Symbolic link
@@ -0,0 +1 @@
|
||||
../example.cpp
|
Reference in New Issue
Block a user