From 32c8d78024ad44f2b7b524d6d25334d8fd9cdf14 Mon Sep 17 00:00:00 2001
From: Joan Perez Ibarz <jperez@iri.upc.edu>
Date: Mon, 27 Jun 2011 16:56:38 +0000
Subject: [PATCH] - for iri_action_server: updating manifest and CMakeLists to
 work without .cpp files only export .h

---
 CMakeLists.txt | 10 +++++-----
 manifest.xml   |  3 +--
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 491975f..f81c5eb 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
diff --git a/manifest.xml b/manifest.xml
index 04cbecc..472b795 100755
--- a/manifest.xml
+++ b/manifest.xml
@@ -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>
-- 
GitLab