Commit c978767c authored by oscar's avatar oscar

提交cmake

parent 7d4dab95
...@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.0.2) ...@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.0.2)
project(jfx_tracking) project(jfx_tracking)
set(KF_CUDA ON) set(KF_CUDA ON)
set(QICHECHENG ON)
add_definitions(-D_DEBUG) add_definitions(-D_DEBUG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0")
...@@ -43,6 +44,8 @@ add_definitions(-D_QICHECHENG_) ...@@ -43,6 +44,8 @@ add_definitions(-D_QICHECHENG_)
## Find catkin macros and libraries ## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages ## is used, also find other catkin packages
if(QICHECHENG)
else()
find_package(catkin REQUIRED COMPONENTS find_package(catkin REQUIRED COMPONENTS
#camera_info_manager #camera_info_manager
#cv_bridge #cv_bridge
...@@ -69,6 +72,8 @@ catkin_package( ...@@ -69,6 +72,8 @@ catkin_package(
DEPENDS DEPENDS
OpenCV OpenCV
) )
endif()
########### ###########
## Build ## ## Build ##
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment