Commit cf4e44ec authored by oscar's avatar oscar

提交nsight的cmake修改

parent d248a61b
......@@ -3,6 +3,7 @@ project(jfx_tracking)
set(KF_CUDA ON)
set(QICHECHENG ON)
set(NSIGHT ON)
add_definitions(-D_DEBUG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0")
......@@ -43,6 +44,9 @@ include_directories(${YAML_CPP_INCLUDE_DIR})
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
if(NSIGHT)
add_definitions(-D_USING_NSIGHT_)
endif()
if(QICHECHENG)
add_definitions(-D_QICHECHENG_)
else()
......@@ -146,6 +150,9 @@ target_link_libraries(${PROJECT_NAME}_node
if(KF_CUDA)
target_link_libraries(${PROJECT_NAME}_node kf_cuda)
endif()
if(NSIGHT)
target_link_libraries(${PROJECT_NAME}_node nvToolsExt)
endif()
#add_executable(cv_test
# src/test.cpp
......
src @ e01a1828
Subproject commit ca0f37c22aea792bfa8310816bb215ba6853c931
Subproject commit e01a1828db516e5f19b1dbd0971cb9f9836f08fe
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