2018-04-11 21:45:36 +02:00
|
|
|
# CLI based examples
|
|
|
|
if (NOT SFML_OS_IOS)
|
2018-02-27 12:17:08 -08:00
|
|
|
if(SFML_BUILD_NETWORK)
|
|
|
|
add_subdirectory(ftp)
|
|
|
|
add_subdirectory(sockets)
|
|
|
|
endif()
|
|
|
|
if(SFML_BUILD_NETWORK AND SFML_BUILD_AUDIO)
|
|
|
|
add_subdirectory(voip)
|
|
|
|
endif()
|
|
|
|
if(SFML_BUILD_AUDIO)
|
|
|
|
add_subdirectory(sound)
|
|
|
|
add_subdirectory(sound_capture)
|
|
|
|
endif()
|
2018-04-11 21:45:36 +02:00
|
|
|
endif()
|
|
|
|
|
|
|
|
# GUI based examples
|
|
|
|
if(SFML_BUILD_WINDOW)
|
|
|
|
add_subdirectory(window)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(SFML_BUILD_GRAPHICS)
|
|
|
|
add_subdirectory(opengl)
|
2018-04-12 20:39:55 +02:00
|
|
|
|
2018-04-11 21:45:36 +02:00
|
|
|
if (NOT SFML_OS_IOS)
|
2018-02-03 13:08:44 +01:00
|
|
|
add_subdirectory(joystick)
|
2018-02-27 12:17:08 -08:00
|
|
|
add_subdirectory(shader)
|
2018-04-12 20:39:55 +02:00
|
|
|
add_subdirectory(island)
|
2018-09-15 11:49:16 +02:00
|
|
|
add_subdirectory(vulkan)
|
2018-02-27 12:17:08 -08:00
|
|
|
endif()
|
2018-04-12 20:39:55 +02:00
|
|
|
|
2018-04-11 21:45:36 +02:00
|
|
|
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)
|
2015-02-21 14:46:46 +01:00
|
|
|
endif()
|
2018-04-11 21:45:36 +02:00
|
|
|
endif()
|
|
|
|
if(SFML_BUILD_GRAPHICS AND SFML_BUILD_AUDIO)
|
|
|
|
add_subdirectory(pong)
|
|
|
|
endif()
|