Skip to content
Snippets Groups Projects
Commit 32c8d780 authored by Joan Perez Ibarz's avatar Joan Perez Ibarz
Browse files

- for iri_action_server: updating manifest and CMakeLists to work without .cpp files only export .h

parent 5f4367cf
No related branches found
No related tags found
No related merge requests found
......@@ -19,16 +19,16 @@ set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)
# edit the following line to add all the source code files of the library
SET(sources ./src/iri_action_server.cpp)
# SET(sources ./src/iri_action_server.cpp)
# edit the following line to add all the header files of the library
SET(headers ./include/iri_action_server.h)
# SET(headers ./include/iri_action_server.h)
FIND_PACKAGE(iriutils REQUIRED)
# FIND_PACKAGE(iriutils REQUIRED)
INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR} ${headers})
# INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR} ${headers})
#common commands for building c++ executables and libraries
rosbuild_add_library(${PROJECT_NAME} SHARED ${sources})
# rosbuild_add_library(${PROJECT_NAME} SHARED ${sources})
#target_link_libraries(${PROJECT_NAME} another_library)
#rosbuild_add_boost_directories()
#rosbuild_link_boost(${PROJECT_NAME} thread)
......
......@@ -12,8 +12,7 @@
<depend package="actionlib"/>
<export>
<cpp cflags="-I${prefix}/include"
lflags="-Wl,-rpath,${prefix}/lib -L${prefix}/lib -liri_action_server"/>
<cpp cflags="-I${prefix}/include"/>
</export>
</package>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment