-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
34 lines (28 loc) · 876 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
cmake_minimum_required(VERSION 3.7)
project(BestPos)
set(CMAKE_CXX_STANDARD 11)
#------------------------------------------------------------------------------
# Create a library
#------------------------------------------------------------------------------
add_library(BestPos SHARED
src/PosComputator.cpp
src/PosFilter.cpp
src/PosNLLS.cpp
src/PosUKF.cpp
)
include_directories(/usr/local/openjdk-8/include /usr/local/openjdk-8/include/linux)
target_include_directories(BestPos
PUBLIC
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/external_lib
)
#------------------------------------------------------------------------------
# Create an executable
#------------------------------------------------------------------------------
add_executable(demo
src/main.cpp
)
target_link_libraries(demo
PRIVATE
BestPos
)