mirror of
https://github.com/nicbarker/clay.git
synced 2026-02-06 12:48:49 +00:00
[Renderers/Playdate] Playdate console example (#404)
This commit is contained in:
parent
eb1d85f2a6
commit
e2f94f17f6
9 changed files with 845 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ option(CLAY_INCLUDE_SDL2_EXAMPLES "Build SDL 2 examples" OFF)
|
|||
option(CLAY_INCLUDE_SDL3_EXAMPLES "Build SDL 3 examples" OFF)
|
||||
option(CLAY_INCLUDE_WIN32_GDI_EXAMPLES "Build Win32 GDI examples" OFF)
|
||||
option(CLAY_INCLUDE_SOKOL_EXAMPLES "Build Sokol examples" OFF)
|
||||
option(CLAY_INCLUDE_PLAYDATE_EXAMPLES "Build Playdate examples" OFF)
|
||||
|
||||
message(STATUS "CLAY_INCLUDE_DEMOS: ${CLAY_INCLUDE_DEMOS}")
|
||||
|
||||
|
|
@ -43,6 +44,11 @@ if(CLAY_INCLUDE_ALL_EXAMPLES OR CLAY_INCLUDE_SOKOL_EXAMPLES)
|
|||
add_subdirectory("examples/sokol-corner-radius")
|
||||
endif()
|
||||
|
||||
# Playdate example not included in ALL because users need to install the playdate SDK first which requires a license agreement
|
||||
if(CLAY_INCLUDE_PLAYDATE_EXAMPLES)
|
||||
add_subdirectory("examples/playdate-project-example")
|
||||
endif()
|
||||
|
||||
if(WIN32) # Build only for Win or Wine
|
||||
if(CLAY_INCLUDE_ALL_EXAMPLES OR CLAY_INCLUDE_WIN32_GDI_EXAMPLES)
|
||||
add_subdirectory("examples/win32_gdi")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue