Added the Android port
This commit is contained in:
parent
01b745185e
commit
63bbe2c91e
183 changed files with 40166 additions and 40 deletions
cmake
|
@ -37,6 +37,11 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|||
return()
|
||||
endif()
|
||||
endif()
|
||||
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Android")
|
||||
set(SFML_OS_ANDROID 1)
|
||||
|
||||
# use the OpenGL ES implementation on Android
|
||||
set(OPENGL_ES 1)
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported operating system")
|
||||
return()
|
||||
|
@ -80,8 +85,8 @@ else()
|
|||
return()
|
||||
endif()
|
||||
|
||||
# define the install directory for miscellaneous files
|
||||
if(SFML_OS_WINDOWS)
|
||||
# define the install directory for miscellaneous files
|
||||
if(SFML_OS_WINDOWS OR SFML_OS_ANDROID)
|
||||
set(INSTALL_MISC_DIR .)
|
||||
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_MACOSX)
|
||||
set(INSTALL_MISC_DIR share/SFML)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue