All mobile-compatible examples now successfully link
This commit is contained in:
parent
b516a3ae2b
commit
82c2f4c05e
7 changed files with 137 additions and 43 deletions
|
@ -1,10 +1,7 @@
|
|||
|
||||
# iOS Demo
|
||||
if(SFML_OS_IOS)
|
||||
add_subdirectory(iOS)
|
||||
else(SFML_OS_IOS)
|
||||
|
||||
# add the examples subdirectories
|
||||
# CLI based examples
|
||||
if (NOT SFML_OS_IOS)
|
||||
if(SFML_BUILD_NETWORK)
|
||||
add_subdirectory(ftp)
|
||||
add_subdirectory(sockets)
|
||||
|
@ -16,23 +13,33 @@ else(SFML_OS_IOS)
|
|||
add_subdirectory(sound)
|
||||
add_subdirectory(sound_capture)
|
||||
endif()
|
||||
if(SFML_BUILD_WINDOW)
|
||||
add_subdirectory(window)
|
||||
endif()
|
||||
if(SFML_BUILD_GRAPHICS)
|
||||
endif()
|
||||
|
||||
# GUI based examples
|
||||
if(SFML_BUILD_WINDOW)
|
||||
add_subdirectory(window)
|
||||
endif()
|
||||
|
||||
if(SFML_BUILD_GRAPHICS)
|
||||
add_subdirectory(opengl)
|
||||
if (NOT SFML_OS_IOS)
|
||||
add_subdirectory(joystick)
|
||||
add_subdirectory(opengl)
|
||||
add_subdirectory(shader)
|
||||
add_subdirectory(island)
|
||||
if(SFML_OS_WINDOWS)
|
||||
add_subdirectory(win32)
|
||||
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD)
|
||||
add_subdirectory(X11)
|
||||
elseif(SFML_OS_MACOSX)
|
||||
add_subdirectory(cocoa)
|
||||
endif()
|
||||
endif()
|
||||
if(SFML_BUILD_GRAPHICS AND SFML_BUILD_AUDIO)
|
||||
add_subdirectory(pong)
|
||||
add_subdirectory(island)
|
||||
if(SFML_OS_WINDOWS)
|
||||
add_subdirectory(win32)
|
||||
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD)
|
||||
add_subdirectory(X11)
|
||||
elseif(SFML_OS_MACOSX)
|
||||
add_subdirectory(cocoa)
|
||||
endif()
|
||||
endif(SFML_OS_IOS)
|
||||
endif()
|
||||
if(SFML_BUILD_GRAPHICS AND SFML_BUILD_AUDIO)
|
||||
add_subdirectory(pong)
|
||||
endif()
|
||||
|
||||
# Mobile specific examples
|
||||
if(SFML_OS_IOS)
|
||||
add_subdirectory(iOS)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue