Add example program

This commit is contained in:
Chris Thrasher committed 2023-12-20 15:33:35 -06:00
1 parent 843deb2f6b
commit bf29112d56
7 files changed
+101 -1

No files matched your search

+6
View File
@@ -87,3 +87,9 @@ install(DIRECTORY include
PATTERN ".svn" EXCLUDE)
install(FILES license.md DESTINATION ${INSTALL_MISC_DIR})
install(FILES readme.md DESTINATION ${INSTALL_MISC_DIR})
# add an option for building the examples
csfml_set_option(CSFML_BUILD_EXAMPLES FALSE BOOL "TRUE to build the CSFML examples, FALSE to ignore them")
if(CSFML_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()