mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
16 lines
313 B
CMake
16 lines
313 B
CMake
cmake_minimum_required(VERSION 3.11)
|
|
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
|
|
|
project(raygui C)
|
|
|
|
# Config options
|
|
option(BUILD_EXAMPLES "Build the examples." ON)
|
|
|
|
add_subdirectory(src)
|
|
|
|
if (${BUILD_EXAMPLES})
|
|
add_subdirectory(examples)
|
|
endif()
|
|
|
|
# TODO: Add automated testing.
|
|
# enable_testing() |