mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 01:46:02 +00:00
8e7e30dda6
Some checks are pending
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Waiting to run
Co-authored-by: Nic Barker <contact+github@nicbarker.com>
20 lines
667 B
CMake
20 lines
667 B
CMake
cmake_minimum_required(VERSION 3.27)
|
|
project(clay)
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|
|
|
if(APPLE)
|
|
enable_language(OBJC)
|
|
endif()
|
|
|
|
add_subdirectory("examples/cpp-project-example")
|
|
add_subdirectory("examples/raylib-multi-context")
|
|
add_subdirectory("examples/raylib-sidebar-scrolling-container")
|
|
# add_subdirectory("examples/cairo-pdf-rendering") Some issue with github actions populating cairo, disable for now
|
|
if(NOT MSVC)
|
|
add_subdirectory("examples/clay-official-website")
|
|
add_subdirectory("examples/SDL3-simple-demo")
|
|
endif()
|
|
add_subdirectory("examples/introducing-clay-video-demo")
|
|
add_subdirectory("examples/SDL2-video-demo")
|