Added joystick example.
This commit is contained in:
parent
a1065737db
commit
fe1407b6b5
4 changed files with 250 additions and 0 deletions
11
examples/joystick/CMakeLists.txt
Normal file
11
examples/joystick/CMakeLists.txt
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue