aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 1aa898488717df0d232202e224bfcdc3d124a2c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
project (smelt)

cmake_minimum_required(VERSION 3.10)

option (BUILD_DUMB "Disable sound support" OFF)
option (BUILD_EXTENSIONS "Build extensions" ON)
option (USE_CXIMAGE "Use CxImage instead of DevIL" OFF)
option (BUILD_EXAMPLE "Build example" ON)

add_subdirectory(smelt/glfw)

if (BUILD_EXTENSIONS)
	add_subdirectory(extensions)
endif ()

if (BUILD_EXAMPLE)
	add_subdirectory(examples)
endif ()