Added joystick example.

This commit is contained in:
binary1248 2018-02-03 13:08:44 +01:00
parent a1065737db
commit fe1407b6b5
No known key found for this signature in database
GPG key ID: E5E52A5D6082224A
4 changed files with 250 additions and 0 deletions

View file

@ -0,0 +1,11 @@
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/joystick)
# all source files
set(SRC ${SRCROOT}/Joystick.cpp)
# define the joystick target
sfml_add_example(joystick GUI_APP
SOURCES ${SRC}
DEPENDS sfml-graphics sfml-window sfml-system
RESOURCES_DIR resources)