Android compilation added.

This commit is contained in:
Tulioh
2014-12-19 00:56:55 -02:00
parent 997daa2d49
commit b3b314f01b
27 changed files with 2075 additions and 76 deletions

View File

@@ -32,14 +32,14 @@ endif()
add_definitions(-D"VERSION=\\"${VERSION}\\"")
if(NOT __ANDROID__)
if(ANDROID)
set(executable_SOURCES
src/android.cpp
android/android.cpp
src/main.cpp
)
# add shared library for android
add_executable(${PROJECT_NAME} ${framework_SOURCES} ${client_SOURCES} ${executable_SOURCES})
add_library(${PROJECT_NAME} SHARED ${framework_SOURCES} ${client_SOURCES} ${executable_SOURCES})
else()
set(executable_SOURCES
src/main.cpp