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
d4cf357f
Commit
d4cf357f
authored
Aug 23, 2023
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改CMake编译abs代码
parent
0509f78a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
21 deletions
+12
-21
CMakeLists.txt
CMakeLists.txt
+12
-21
No files found.
CMakeLists.txt
View file @
d4cf357f
cmake_minimum_required
(
VERSION 3.0.2
)
cmake_minimum_required
(
VERSION 3.0.2
)
project
(
jfx_tracking
)
project
(
jfx_tracking
)
set
(
KF_CUDA O
N
)
set
(
KF_CUDA O
FF
)
set
(
QICHECHENG OFF
)
set
(
QICHECHENG OFF
)
set
(
NSIGHT OFF
)
set
(
NSIGHT OFF
)
set
(
USING_UTM_POS ON
)
set
(
USING_UTM_POS ON
)
if
(
KF_CUDA
)
enable_language
(
CUDA
)
enable_language
(
CUDA
)
endif
()
#SET(CMAKE_BUILD_TYPE "Debug")
#SET(CMAKE_BUILD_TYPE "Debug")
SET
(
CMAKE_BUILD_TYPE
"Release"
)
SET
(
CMAKE_BUILD_TYPE
"Release"
)
...
@@ -15,18 +17,6 @@ SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
...
@@ -15,18 +17,6 @@ SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
set
(
JFX_COMMON_LIBS_PATH
${
PROJECT_SOURCE_DIR
}
/../jfx_common_libs
)
set
(
JFX_COMMON_LIBS_PATH
${
PROJECT_SOURCE_DIR
}
/../jfx_common_libs
)
find_package
(
Eigen3 REQUIRED
)
include_directories
(
${
EIGEN3_INCLUDE_DIRS
}
)
find_package
(
PCL 1.8 REQUIRED
)
if
(
NOT PCL_FOUND
)
message
(
STATUS
"JFX_XXXXXXXXXXXX:PCL_NOTFOUND"
)
else
()
message
(
STATUS
"JFX_XXXXXXXXXXXX:PCL_VERSION ==>
${
PCL_VERSION
}
"
)
message
(
STATUS
"JFX_XXXXXXXXXXXX:PCL_INCLUDE_DIRS ==>
${
PCL_INCLUDE_DIRS
}
"
)
message
(
STATUS
"JFX_XXXXXXXXXXXX:PCL_LIBRARY_DIRS ==>
${
PCL_LIBRARY_DIRS
}
"
)
endif
()
include_directories
(
include_directories
(
${
PROJECT_SOURCE_DIR
}
/src
${
PROJECT_SOURCE_DIR
}
/src
${
JFX_COMMON_LIBS_PATH
}
/utils
${
JFX_COMMON_LIBS_PATH
}
/utils
...
@@ -162,7 +152,6 @@ endif()
...
@@ -162,7 +152,6 @@ endif()
include_directories
(
include_directories
(
/usr/include/pcl-1.8
/usr/local/include
/usr/local/include
src
src
src/tracker
src/tracker
...
@@ -172,6 +161,7 @@ include_directories(
...
@@ -172,6 +161,7 @@ include_directories(
src/log
src/log
src/common
src/common
src/coordinate
src/coordinate
src/TrackEx
${
catkin_INCLUDE_DIRS
}
${
catkin_INCLUDE_DIRS
}
)
)
...
@@ -199,14 +189,18 @@ file(GLOB_RECURSE TRACKER_SRC_FILES
...
@@ -199,14 +189,18 @@ file(GLOB_RECURSE TRACKER_SRC_FILES
endif
()
endif
()
add_executable
(
${
PROJECT_NAME
}
_node
add_executable
(
${
PROJECT_NAME
}
_node
src/jfx_tracking.cpp
src/jfx_tracking
_abs
.cpp
src/TrackingRos.cpp
src/TrackingRos
Abs
.cpp
src/common/Component.cpp
src/common/Component.cpp
src/BaseTracker/Iou.cpp
src/BaseTracker/Iou.cpp
src/BaseTracker/BaseTrack.cpp
src/BaseTracker/BaseTrack.cpp
src/BaseTracker/Track3D.cpp
#
src/BaseTracker/Track3D.cpp
src/BaseTracker/Track2D.cpp
#
src/BaseTracker/Track2D.cpp
src/log/jfx_log.cpp
src/log/jfx_log.cpp
src/TrackEx/BaseTrack3D.cpp
src/TrackEx/TrackEx.cpp
src/TrackEx/TrackFunc.cpp
src/TrackEx/Rel2AbsLoc.cpp
#${COORDINATE_SRC_FILES}
#${COORDINATE_SRC_FILES}
${
TRACKER_SRC_FILES
}
${
TRACKER_SRC_FILES
}
${
COMMON_SRC_LIST
}
${
COMMON_SRC_LIST
}
...
@@ -222,9 +216,6 @@ target_link_libraries(${PROJECT_NAME}_node
...
@@ -222,9 +216,6 @@ target_link_libraries(${PROJECT_NAME}_node
yaml-cpp
yaml-cpp
)
)
target_link_libraries
(
${
PROJECT_NAME
}
_node yaml-cpp -lpcl_filters
)
target_link_libraries
(
${
PROJECT_NAME
}
_node
${
PCL_COMMON_LIBRARIES
}
${
PCL_IO_LIBRARIES
}
${
PCL_LIBRARIES
}
)
if
(
KF_CUDA
)
if
(
KF_CUDA
)
target_link_libraries
(
${
PROJECT_NAME
}
_node kf_cuda
)
target_link_libraries
(
${
PROJECT_NAME
}
_node kf_cuda
)
endif
()
endif
()
...
...
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