2010-08-19 23:59:24 +08:00
|
|
|
|
2011-08-07 21:33:42 +08:00
|
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/shader)
|
2010-08-19 23:59:24 +08:00
|
|
|
|
|
|
|
# all source files
|
2011-12-10 20:02:38 +08:00
|
|
|
set(SRC
|
|
|
|
${SRCROOT}/Effect.hpp
|
|
|
|
${SRCROOT}/Shader.cpp)
|
2010-08-19 23:59:24 +08:00
|
|
|
|
|
|
|
# define the shader target
|
|
|
|
sfml_add_example(shader GUI_APP
|
|
|
|
SOURCES ${SRC}
|
|
|
|
DEPENDS sfml-graphics sfml-window sfml-system)
|