12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- cmake_minimum_required(VERSION 2.8.3)
- project(op_planner)
- find_package(autoware_build_flags REQUIRED)
- find_package(catkin REQUIRED COMPONENTS
- cmake_modules
- op_utility
- )
- find_package(TinyXML REQUIRED)
- catkin_package(
- INCLUDE_DIRS include
- LIBRARIES op_planner
- CATKIN_DEPENDS op_utility
- DEPENDS TinyXML
- )
- ###########
- ## Build ##
- ###########
- include_directories(
- include
- ${catkin_INCLUDE_DIRS}
- ${TinyXML_INCLUDE_DIRS}
- )
- set(PLANNERH_SRC
- src/BehaviorPrediction.cpp
- src/BehaviorPrediction.cpp
- src/BehaviorPrediction.cpp
- src/BehaviorPrediction.cpp
- src/BehaviorPrediction.cpp
- src/BehaviorStateMachine.cpp
- src/DecisionMaker.cpp
- src/LocalPlannerH.cpp
- src/MappingHelpers.cpp
- src/MatrixOperations.cpp
- src/PassiveDecisionMaker.cpp
- src/PlannerH.cpp
- src/PlannerH.cpp
- src/PlannerH.cpp
- src/PlannerH.cpp
- src/PlannerH.cpp
- src/PlanningHelpers.cpp
- src/PlanningHelpers.cpp
- src/PlanningHelpers.cpp
- src/PlanningHelpers.cpp
- src/PlanningHelpers.cpp
- src/SimuDecisionMaker.cpp
- src/TrajectoryCosts.cpp
- src/TrajectoryDynamicCosts.cpp
- )
- ## Declare a cpp library
- add_library(${PROJECT_NAME}
- ${PLANNERH_SRC}
- )
- target_link_libraries(${PROJECT_NAME}
- ${catkin_LIBRARIES}
- ${TinyXML_LIBRARIES}
- )
- install(DIRECTORY include/${PROJECT_NAME}/
- DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
- FILES_MATCHING PATTERN "*.h"
- )
- install(TARGETS op_planner
- ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
- LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
- RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
- )
|