-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
37 lines (27 loc) · 868 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
37
cmake_minimum_required(VERSION 3.16)
option(Fw64_BUILD_TESTS "Builds the gtest based test applications" ON)
option(FW64_BUILD_EXAMPLES "Builds the example applications" ON)
option(FW64_BUILD_TOOLS "Builds the companion tools" ON)
option(FW64_BUILD_DATALINK_CLIENT_N64 "Builds the datalink client for n64" ON)
option(FW64_MEDIA_ENABLED "Enables fw64 media module" ON)
if (NOT DEFINED FW64_PLATFORM_CONFIGURED)
include(cmake/configure_platform.cmake REQUIRED)
endif()
if (NOT FW64_PLATFORM_DESKTOP)
project(framework64 C)
else()
project(framework64)
endif()
add_subdirectory(src/framework64)
add_subdirectory(components)
if (FW64_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()
if (FW64_BUILD_TOOLS)
add_subdirectory(tools)
endif()
if (FW64_PLATFORM_DESKTOP)
if (Fw64_BUILD_TESTS)
add_subdirectory(tests)
endif()
endif()