forked from floooh/oryol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
23 lines (21 loc) · 817 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
#-------------------------------------------------------------------------------
# oryol cmake root file
#
# See BUILD.md for details how to build oryol.
#-------------------------------------------------------------------------------
cmake_minimum_required(VERSION 2.8)
get_filename_component(FIPS_ROOT_DIR "../fips" ABSOLUTE)
include("${FIPS_ROOT_DIR}/cmake/fips.cmake")
fips_setup(PROJECT oryol)
fips_include_directories(code)
fips_include_directories(code/Modules)
fips_ide_group(Modules)
fips_add_subdirectory(code/Modules)
if (ORYOL_SAMPLES)
fips_ide_group(Samples)
fips_include_directories(code/Samples)
# also find out-of-source generated headers
fips_include_directories(${CMAKE_BINARY_DIR}/code/Samples)
fips_add_subdirectory(code/Samples)
endif()
fips_finish()