forked from OxfordTechnicalSolutions/NCOMdecoder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
45 lines (38 loc) · 969 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
39
40
41
42
43
44
45
#
# Copyright © 2023 Glydways, Inc.
# https://glydways.com/
#
#
# The NComRx an SDK header and source from the Oxford Technical Solutions
# to interface with their INS devices, and intended to be directly included
# by drivers using it.
#
# Source for the library:
# https://github.com/OxfordTechnicalSolutions/NCOMdecoder/tree/master/nav
#
# Original OxTS ROS driver:
# https://github.com/OxfordTechnicalSolutions/oxts_ros2_driver
#
# The library files as written contain many readability errors, so
# we're going to turn off warnings for this library.
set(NCOM_COMPILE_OPTIONS "-w")
file(GLOB NCOM_HEADERS
"nav/*.h"
)
file(GLOB NCOM_SOURCES
"nav/*.c"
)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
glyd_add_library(
oxts_ncom_sdk
ALIAS
third_party::oxts_ncom_sdk
HEADERS
${NCOM_HEADERS}
SOURCES
${NCOM_SOURCES}
INCLUDES
${CMAKE_CURRENT_SOURCE_DIR}
COMPILE_OPTIONS
${NCOM_COMPILE_OPTIONS}
)