-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakeLists.txt
38 lines (31 loc) · 758 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
38
cmake_minimum_required(VERSION 3.16)
project(rtk-sender-example CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(MAVSDK REQUIRED)
add_executable(rtk-sender-example
rtk-sender-example.cpp
serial-comms.h
serial-comms.cpp
definitions.h
driver-interface.h
driver-interface.cpp
PX4-GPSDrivers/src/gps_helper.h
PX4-GPSDrivers/src/gps_helper.cpp
PX4-GPSDrivers/src/ubx.h
PX4-GPSDrivers/src/ubx.cpp
PX4-GPSDrivers/src/rtcm.h
PX4-GPSDrivers/src/rtcm.cpp
)
target_compile_options(rtk-sender-example
PRIVATE
-Wall
-Wextra
)
target_link_libraries(rtk-sender-example
MAVSDK::mavsdk
)
target_include_directories(rtk-sender-example
PRIVATE
PX4-GPSDrivers/src/
)