-
Notifications
You must be signed in to change notification settings - Fork 6
/
CMakeLists.txt
36 lines (26 loc) · 887 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cmake_minimum_required(VERSION 3.10)
SET(ANDROID_NATIVE_API_LEVEL 33)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_C_STANDARD 17)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS OFF)
set(GIMBAL_VERSION_MAJOR 0)
set(GIMBAL_VERSION_MINOR 1)
set(GIMBAL_VERSION_PATCH 0)
set(GIMBAL_VERSION
${GIMBAL_VERSION_MAJOR}.${GIMBAL_VERSION_MINOR}.${GIMBAL_VERSION_PATCH})
include(util/gimbal_utils.cmake)
project(LibGimbal
VERSION ${GIMBAL_VERSION}
DESCRIPTION "Aggregate project for libGimbal subprojects"
HOMEPAGE_URL "libgimbal.elysianshadows.com"
LANGUAGES C CXX)
#kos_enable_sh4_math()
option(GBL_ENABLE_TESTS "Enable LibGimbal unit tests" OFF)
option(GBL_ENABLE_CPP "Enable C++ libGimbal API" OFF)
add_subdirectory(lib)
if(GBL_ENABLE_TESTS)
add_subdirectory(test)
endif(GBL_ENABLE_TESTS)