mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 09:56:03 +00:00
Compare commits
2 Commits
4441b676d2
...
40ca3a379b
Author | SHA1 | Date | |
---|---|---|---|
|
40ca3a379b | ||
|
e9d3125807 |
@ -3,10 +3,13 @@ project(clay)
|
|||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
|
option(CLAY_INCLUDE_EXAMPLES "Build examples" OFF)
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
enable_language(OBJC)
|
enable_language(OBJC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CLAY_INCLUDE_EXAMPLES)
|
||||||
add_subdirectory("examples/cpp-project-example")
|
add_subdirectory("examples/cpp-project-example")
|
||||||
add_subdirectory("examples/raylib-multi-context")
|
add_subdirectory("examples/raylib-multi-context")
|
||||||
add_subdirectory("examples/raylib-sidebar-scrolling-container")
|
add_subdirectory("examples/raylib-sidebar-scrolling-container")
|
||||||
@ -17,3 +20,4 @@ if(NOT MSVC)
|
|||||||
endif()
|
endif()
|
||||||
add_subdirectory("examples/introducing-clay-video-demo")
|
add_subdirectory("examples/introducing-clay-video-demo")
|
||||||
add_subdirectory("examples/SDL2-video-demo")
|
add_subdirectory("examples/SDL2-video-demo")
|
||||||
|
endif()
|
Loading…
Reference in New Issue
Block a user