1 Star 0 Fork 0

zhanghao/hdl_people_tracking

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CMakeLists.txt 1.86 KB
一键复制 编辑 原始数据 按行查看 历史
koide3 提交于 2019-04-19 11:57 . Merge pull request #9 from agn-7/master
cmake_minimum_required(VERSION 2.8.3)
project(hdl_people_tracking)
# -mavx causes a lot of errors!!
add_definitions(-std=c++11 -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2)
set(CMAKE_CXX_FLAGS "-std=c++11 -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/cmake")
# pcl 1.7 causes a segfault when it is built with debug mode
set(CMAKE_BUILD_TYPE "RELEASE")
find_package(OpenCV REQUIRED)
find_package(Qt5Gui)
find_package(Qt5Core)
find_package(Qt5Widgets)
find_package(Qt5Test)
find_package(Qt5Concurrent)
find_package(Qt5OpenGL)
find_package(catkin REQUIRED COMPONENTS
nodelet
pcl_ros
roscpp
sensor_msgs
message_generation
)
########################
## message generation ##
########################
add_message_files(FILES
Cluster.msg
ClusterArray.msg
Track.msg
TrackArray.msg
)
generate_messages(DEPENDENCIES std_msgs geometry_msgs)
###################################
## catkin specific configuration ##
###################################
catkin_package(
INCLUDE_DIRS include
LIBRARIES hdl_people_tracking
CATKIN_DEPENDS nodelet pcl_ros roscpp sensor_msgs message_runtime
# DEPENDS system_lib
)
###########
## Build ##
###########
include_directories(
include
${catkin_INCLUDE_DIRS}
)
add_library(hdl_people_detection_nodelet
apps/hdl_people_detection_nodelet.cpp
src/kidono_human_classifier.cpp
src/people_detector.cpp
)
target_link_libraries(hdl_people_detection_nodelet
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
${PCL_LIBRARIES}
)
add_dependencies(hdl_people_detection_nodelet hdl_people_tracking_gencpp)
add_library(hdl_people_tracking_nodelet apps/hdl_people_tracking_nodelet.cpp)
target_link_libraries(hdl_people_tracking_nodelet
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
${PCL_LIBRARIES}
)
add_dependencies(hdl_people_tracking_nodelet hdl_people_tracking_gencpp)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhanghao132/hdl_people_tracking.git
git@gitee.com:zhanghao132/hdl_people_tracking.git
zhanghao132
hdl_people_tracking
hdl_people_tracking
master

搜索帮助