11 lines
263 B
CMake
11 lines
263 B
CMake
|
|
||
|
set(SRCROOT ${CMAKE_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 sfml-window sfml-system)
|