diff options
Diffstat (limited to 'examples/pong/CMakeLists.txt')
-rw-r--r-- | examples/pong/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/pong/CMakeLists.txt b/examples/pong/CMakeLists.txt new file mode 100644 index 0000000..2a76ecc --- /dev/null +++ b/examples/pong/CMakeLists.txt @@ -0,0 +1,10 @@ +
+set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/pong)
+
+# all source files
+set(SRC ${SRCROOT}/Pong.cpp)
+
+# define the pong target
+sfml_add_example(pong GUI_APP
+ SOURCES ${SRC}
+ DEPENDS sfml-audio sfml-graphics sfml-window sfml-system)
|