Added example demonstrating sf::VertexBuffer, sf::Shader and sf::Thread usage.
This commit is contained in:
parent
fe1407b6b5
commit
d032050ccf
7 changed files with 937 additions and 0 deletions
11
examples/island/CMakeLists.txt
Normal file
11
examples/island/CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/island)
|
||||
|
||||
# all source files
|
||||
set(SRC ${SRCROOT}/Island.cpp)
|
||||
|
||||
# define the island target
|
||||
sfml_add_example(island 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