Commit 14e321ee authored by Sergi Foix Salmerón's avatar Sergi Foix Salmerón
Browse files

CMakeLists.txt indentation format

parent c33ae1a9
......@@ -86,8 +86,11 @@ catkin_package(
## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(include)
include_directories(${catkin_INCLUDE_DIRS})
# include_directories(include)
include_directories(
include
${catkin_INCLUDE_DIRS}
)
## Declare a cpp library
# add_library(iri_ros_tool
......@@ -96,10 +99,19 @@ include_directories(${catkin_INCLUDE_DIRS})
add_library(${PROJECT_NAME} src/timeout.cpp src/watchdog.cpp)
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES})
add_library(modules include/${PROJECT_NAME}/module_common.h include/${PROJECT_NAME}/module.h include/${PROJECT_NAME}/module_service.h include/${PROJECT_NAME}/module_action.h include/${PROJECT_NAME}/module_exceptions.h include/${PROJECT_NAME}/module_dyn_reconf.h)
add_library(modules
include/${PROJECT_NAME}/module_common.h
include/${PROJECT_NAME}/module.h
include/${PROJECT_NAME}/module_service.h
include/${PROJECT_NAME}/module_action.h
include/${PROJECT_NAME}/module_exceptions.h
include/${PROJECT_NAME}/module_dyn_reconf.h
)
set_target_properties(modules PROPERTIES LINKER_LANGUAGE CXX)
target_link_libraries(modules ${PROJECT_NAME})
target_link_libraries(modules ${catkin_LIBRARIES})
target_link_libraries(modules
${PROJECT_NAME}
${catkin_LIBRARIES}
)
## Declare a cpp executable
......
Supports Markdown
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