-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
32 lines (25 loc) · 857 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
cmake_minimum_required(VERSION 3.21)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
add_subdirectory(br2)
project(
mfi-custom-code
DESCRIPTION "Providing custom code to run on Ubiquiti's mFi Devices"
HOMEPAGE_URL "https://github.com/shmuelie/mfi-custom-code"
)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
include(AddProjectVersionData)
set(MGPP_TARGET_NAME mgpp)
set(MFI_API_TARGET_NAME mfi)
set(MFI_SERVER_TARGET_NAME mfi-rest-server)
set(MFI_MQTT_TARGET_NAME mfi-mqtt-client)
set(SHMUELIE_SHARED_TARGET_NAME shmuelie-shared)
set(MFI_CLI_TARGET_NAME mfi-cli)
add_subdirectory(mfi)
add_subdirectory(mgpp)
add_subdirectory(hass_mqtt_device)
add_subdirectory(shmuelie-shared)
add_subdirectory(mfi-cli)
add_subdirectory(mfi-rest-server)
add_subdirectory(mfi-mqtt-client)