2014-09-30 22:07:25 +08:00
|
|
|
|
|
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/opengl)
|
|
|
|
|
|
|
|
# all source files
|
|
|
|
set(SRC ${SRCROOT}/OpenGL.cpp)
|
|
|
|
|
|
|
|
# define the opengl target
|
|
|
|
sfml_add_example(opengl GUI_APP
|
|
|
|
SOURCES ${SRC}
|
2018-03-21 02:46:57 +08:00
|
|
|
DEPENDS sfml-graphics OpenGL
|
2018-01-13 07:19:56 +08:00
|
|
|
RESOURCES_DIR resources)
|