Commit ace020cf authored by CRS-User's avatar CRS-User

s

parent fcc74691
......@@ -54,22 +54,6 @@ include_directories(
FIND_PACKAGE(Boost REQUIRED filesystem thread system graph)
include_directories(${Boost_INCLUDE_DIRS})
####################################### CGAL #######################################
find_package(CGAL REQUIRED COMPONENTS CORE )
include(${CGAL_USE_FILE})
####################################### PCL #######################################
find_package(PCL REQUIRED COMPONENTS common io)
include_directories({PCL_INCLUDE_DIRS})
####################################### OpenCV #######################################
find_package(OpenCV REQUIRED)
include_directories({OpenCV_INCLUDE_DIRS})
####################################### TBB #######################################
find_package(TBB REQUIRED)
include_directories(${TBB_INCLUDE_DIR})
####################################### SDL2 #######################################
# TODO: use a proper find cmake package file
......@@ -213,76 +197,5 @@ target_link_libraries(crs_er1_control_node crs_er1driver ${SDL2_LIBRARY} ${catki
if (0)
####################################### student_image_node #######################################
set(student_image_node_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/student_image_node/)
file(GLOB student_image_node_HEADERS ${student_image_node_INCLUDE_DIR}/*.h*)
set(student_image_node_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src/student_image_node/)
file(GLOB student_image_node_SOURCES ${student_image_node_SOURCE_DIR}/*.c*)
add_executable(student_image_node ${student_image_node_SOURCES} ${student_image_node_HEADERS})
add_dependencies(student_image_node crs_er1driver)
target_link_libraries(student_image_node
crs_comon
${Boost_LIBRARIES}
${PCL_COMMON_LIBRARIES}
${OpenCV_LIBS}
)
####################################### student_pointcloud_node #######################################
set(student_pointcloud_node_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/student_pointcloud_node/)
file(GLOB student_pointcloud_node_HEADERS ${student_pointcloud_node_INCLUDE_DIR}/*.h*)
set(student_pointcloud_node_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src/student_pointcloud_node/)
file(GLOB student_pointcloud_node_SOURCES ${student_pointcloud_node_SOURCE_DIR}/*.c*)
add_executable(student_pointcloud_node ${student_pointcloud_node_SOURCES} ${student_pointcloud_node_HEADERS})
target_link_libraries(student_pointcloud_node ${catkin_LIBRARIES}
crs_comon
${Boost_LIBRARIES}
${PCL_COMMON_LIBRARIES}
${OpenCV_LIBS}
)
####################################### student_fun_node_a #######################################
set(student_fun_node_a_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/student_fun_node_a/)
file(GLOB student_fun_node_a_HEADERS ${student_fun_node_a_INCLUDE_DIR}/*.h*)
set(student_fun_node_a_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src/student_fun_node_a/)
file(GLOB student_fun_node_a_SOURCES ${student_fun_node_a_SOURCE_DIR}/*.c*)
add_executable(student_fun_node_a ${student_fun_node_a_SOURCES} ${student_fun_node_a_HEADERS})
target_link_libraries(student_fun_node_a ${catkin_LIBRARIES}
crs_comon
${Boost_LIBRARIES}
${PCL_COMMON_LIBRARIES}
${OpenCV_LIBS}
)
####################################### student_fun_node_b #######################################
set(student_fun_node_b_INCLUDE_DIR ${CMAKE_CURRENT_LIST_DIR}/include/student_fun_node_b/)
file(GLOB student_fun_node_b_HEADERS ${student_fun_node_b_INCLUDE_DIR}/*.h*)
set(student_fun_node_b_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src/student_fun_node_b/)
file(GLOB student_fun_node_b_SOURCES ${student_fun_node_b_SOURCE_DIR}/*.c*)
add_executable(student_fun_node_b ${student_fun_node_b_SOURCES} ${student_fun_node_b_HEADERS})
add_dependencies(student_fun_node_b crs_er1driver)
target_link_libraries(student_fun_node_b ${catkin_LIBRARIES}
crs_comon
${Boost_LIBRARIES}
${PCL_COMMON_LIBRARIES}
${OpenCV_LIBS}
)
endif()
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