Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_tracking
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oscar
jfx_tracking
Commits
c55ce42c
Commit
c55ce42c
authored
Aug 16, 2022
by
haoshuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update CMakeLists.txt
parent
e1af8cd6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
CMakeLists.txt
CMakeLists.txt
+32
-1
src
src
+1
-1
No files found.
CMakeLists.txt
View file @
c55ce42c
...
...
@@ -27,6 +27,7 @@ include_directories(
${
PROJECT_SOURCE_DIR
}
/src/common
)
add_definitions
(
-D_SEND_ABUZHABI_
)
add_definitions
(
-D_ABUZHABI_
)
endif
()
#add_subdirectory(yolov5)
...
...
@@ -38,6 +39,36 @@ find_package(OpenCV REQUIRED)
find_package
(
yaml-cpp REQUIRED
)
include_directories
(
${
YAML_CPP_INCLUDE_DIR
}
)
# Begin for GeographicLib
set
(
GEOGRAPHICLIB_PRECISION 2 CACHE STRING
"Precision: 1 = float, 2 = double, 3 = extended, 4 = quadruple, 5 = variable"
)
set_property
(
CACHE GEOGRAPHICLIB_PRECISION PROPERTY STRINGS 1 2 3 4 5
)
set
(
GEOGRAPHICLIB_SHARED_LIB ON
)
set
(
GEOGRAPHICLIB_STATIC_LIB OFF
)
set
(
GEOGRAPHICLIB_LIB_TYPE_VAL 1
)
set
(
PROJECT_STATIC_LIBRARIES
)
set
(
PROJECT_STATIC_DEFINITIONS
)
set
(
PROJECT_SHARED_LIBRARIES GeographicLib_SHARED
)
set
(
PROJECT_LIBRARIES
${
PROJECT_SHARED_LIBRARIES
}
)
set
(
PROJECT_SHARED_DEFINITIONS -DGEOGRAPHICLIB_SHARED_LIB=1
)
set
(
PROJECT_DEFINITIONS
${
PROJECT_SHARED_DEFINITIONS
}
)
set
(
PROJECT_INTERFACE_LIBRARIES GeographicLib
)
set
(
PROJECT_ALL_LIBRARIES
${
PROJECT_STATIC_LIBRARIES
}
${
PROJECT_SHARED_LIBRARIES
}
${
PROJECT_INTERFACE_LIBRARIES
}
)
configure_file
(
${
JFX_COMMON_LIBS_PATH
}
/GeographicLib/include/GeographicLib/Config.h.in
${
JFX_COMMON_LIBS_PATH
}
/GeographicLib/include/GeographicLib/Config.h
@ONLY
)
file
(
GLOB_RECURSE GEOGRAPHICLIB_SRC
${
JFX_COMMON_LIBS_PATH
}
/GeographicLib/src/*.cpp
)
add_library
(
GeographicLib SHARED
${
GEOGRAPHICLIB_SRC
}
)
# End for GeographicLib
#find_package(CUDA REQUIRED)
#if (CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
...
...
@@ -140,7 +171,7 @@ link_directories(/usr/lib/aarch64-linux-gnu/tegra)
file
(
GLOB_RECURSE TRACKER_SRC_FILES
${
PROJECT_SOURCE_DIR
}
/src/tracker/kalman_filter.cpp
${
PROJECT_SOURCE_DIR
}
/src/tracker/munkres.cpp
${
PROJECT_SOURCE_DIR
}
/src/coordinate/*.cpp
${
JFX_COMMON_LIBS_PATH
}
/coordinate/*.cpp
)
add_executable
(
${
PROJECT_NAME
}
_node
...
...
src
@
6c390320
Subproject commit
80fb41ae593125c5ae772b53c86cb9337808296e
Subproject commit
6c3903203a0b7edfc9c0822cfd4308f767ce3a57
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment