mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
12 lines
272 B
CMake
12 lines
272 B
CMake
|
|
set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/win32)
|
|
|
|
# all source files
|
|
set(SRC ${SRCROOT}/Win32.cpp)
|
|
|
|
# define the win32 target
|
|
sfml_add_example(win32 GUI_APP
|
|
SOURCES ${SRC}
|
|
DEPENDS sfml-graphics
|
|
RESOURCES_DIR resources)
|