SFML/examples/shader/CMakeLists.txt

14 lines
306 B
CMake
Raw Normal View History

set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/shader)
# all source files
set(SRC
${SRCROOT}/Effect.hpp
${SRCROOT}/Shader.cpp)
# define the shader target
sfml_add_example(shader GUI_APP
SOURCES ${SRC}
2018-03-21 02:46:57 +08:00
DEPENDS sfml-graphics
RESOURCES_DIR resources)