2020-06-15 20:03:08 +02:00
|
|
|
cmake_minimum_required(VERSION 3.8)
|
|
|
|
|
|
|
|
project("SDLFramework")
|
|
|
|
|
2020-06-18 17:03:29 +02:00
|
|
|
set(ENABLE_EXAMPLE_PROJECT OFF CACHE BOOL "Build a simple example application")
|
2020-06-15 20:03:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
add_subdirectory("src/sdlf")
|
|
|
|
|
|
|
|
if(ENABLE_EXAMPLE_PROJECT)
|
|
|
|
add_subdirectory("src/example")
|
|
|
|
endif()
|