[Jderobot-admin] jderobot-r947 - in trunk: . Deps Deps/pthread src/components/basic_component src/components/basic_server src/components/calibrator src/components/cameraserver src/components/cameraview src/components/cameraview_icestorm src/components/colortuner src/components/introrob src/components/kinectViewer src/components/naooperator src/components/opencvdemo src/components/recorder src/components/replayController src/components/wiimoteClient

rocapal en jderobot.org rocapal en jderobot.org
Vie Jul 19 10:10:47 CEST 2013


Author: rocapal
Date: 2013-07-19 10:09:47 +0200 (Fri, 19 Jul 2013)
New Revision: 947

Added:
   trunk/Deps/pthread/
   trunk/Deps/pthread/CMakeLists.txt
Modified:
   trunk/CMakeLists.txt
   trunk/src/components/basic_component/CMakeLists.txt
   trunk/src/components/basic_server/CMakeLists.txt
   trunk/src/components/calibrator/CMakeLists.txt
   trunk/src/components/cameraserver/CMakeLists.txt
   trunk/src/components/cameraview/CMakeLists.txt
   trunk/src/components/cameraview_icestorm/CMakeLists.txt
   trunk/src/components/colortuner/CMakeLists.txt
   trunk/src/components/introrob/CMakeLists.txt
   trunk/src/components/kinectViewer/CMakeLists.txt
   trunk/src/components/naooperator/CMakeLists.txt
   trunk/src/components/opencvdemo/CMakeLists.txt
   trunk/src/components/recorder/CMakeLists.txt
   trunk/src/components/replayController/CMakeLists.txt
   trunk/src/components/wiimoteClient/CMakeLists.txt
Log:
added pthread dependences


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -118,6 +118,7 @@
 include(${DEPS_DIR}/opengl/CMakeLists.txt)
 include(${DEPS_DIR}/openni2/CMakeLists.txt)
 include(${DEPS_DIR}/nite2/CMakeLists.txt)
+include(${DEPS_DIR}/pthread/CMakeLists.txt)
 #include(${CMAKE_CURRENT_SOURCE_DIR}/../../../libs/CMakeLists.txt)
 
 

Added: trunk/Deps/pthread/CMakeLists.txt
===================================================================
--- trunk/Deps/pthread/CMakeLists.txt	                        (rev 0)
+++ trunk/Deps/pthread/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -0,0 +1,3 @@
+include(FindPkgConfig)
+find_package(Threads)
+

Modified: trunk/src/components/basic_component/CMakeLists.txt
===================================================================
--- trunk/src/components/basic_component/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/basic_component/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -11,6 +11,7 @@
 add_executable (basic_component  ${SOURCE_FILES})
 
 TARGET_LINK_LIBRARIES(basic_component 
+    ${CMAKE_THREAD_LIBS_INIT}
     ${INTERFACES_CPP_DIR}/jderobot/libJderobotInterfaces.so
     ${LIBS_DIR}/jderobotutil/libjderobotutil.so
     ${LIBS_DIR}/colorspaces/libcolorspacesmm.so

Modified: trunk/src/components/basic_server/CMakeLists.txt
===================================================================
--- trunk/src/components/basic_server/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/basic_server/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -16,6 +16,7 @@
 
 add_executable (basic_server  ${SOURCE_FILES})
 
-TARGET_LINK_LIBRARIES(basic_server 
+TARGET_LINK_LIBRARIES(basic_server
+        ${CMAKE_THREAD_LIBS_INIT}
 	${ZeroCIce_LIBRARIES}    	
 )

Modified: trunk/src/components/calibrator/CMakeLists.txt
===================================================================
--- trunk/src/components/calibrator/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/calibrator/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -10,6 +10,7 @@
 add_executable (calibrator ${SOURCE_FILES})
 
 TARGET_LINK_LIBRARIES( calibrator
+ ${CMAKE_THREAD_LIBS_INIT}
  ${gtkmm_LIBRARIES}
  ${libglademm_LIBRARIES}
   ${GLUT_LIBRARIES}

Modified: trunk/src/components/cameraserver/CMakeLists.txt
===================================================================
--- trunk/src/components/cameraserver/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/cameraserver/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -11,7 +11,8 @@
 
 add_executable (cameraserver ${SOURCE_FILES})
 
-TARGET_LINK_LIBRARIES(cameraserver 
+TARGET_LINK_LIBRARIES(cameraserver
+	${CMAKE_THREAD_LIBS_INIT} 
 	${OpenCV_LIBRARIES}        
 	${LIBS_DIR}/colorspaces/libcolorspacesmm.so
 	${INTERFACES_CPP_DIR}/jderobot/libJderobotInterfaces.so

Modified: trunk/src/components/cameraview/CMakeLists.txt
===================================================================
--- trunk/src/components/cameraview/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/cameraview/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -10,7 +10,8 @@
 
 add_executable (cameraview ${SOURCE_FILES})
 
-TARGET_LINK_LIBRARIES(cameraview 
+TARGET_LINK_LIBRARIES(cameraview
+    ${CMAKE_THREAD_LIBS_INIT} 
     ${OpenCV_LIBRARIES}
     ${gtkmm_LIBRARIES}
     ${libglademm_LIBRARIES}

Modified: trunk/src/components/cameraview_icestorm/CMakeLists.txt
===================================================================
--- trunk/src/components/cameraview_icestorm/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/cameraview_icestorm/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -10,7 +10,8 @@
 
 add_executable (cameraview_icestorm ${SOURCE_FILES})
 
-TARGET_LINK_LIBRARIES(cameraview_icestorm 
+TARGET_LINK_LIBRARIES(cameraview_icestorm
+    ${CMAKE_THREAD_LIBS_INIT} 
     ${opencv_LIBRARIES}
     ${gtkmm_LIBRARIES}
     ${libglademm_LIBRARIES}

Modified: trunk/src/components/colortuner/CMakeLists.txt
===================================================================
--- trunk/src/components/colortuner/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/colortuner/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -11,6 +11,7 @@
 add_executable (colortuner ${SOURCE_FILES})
 
 TARGET_LINK_LIBRARIES(colortuner 
+    ${CMAKE_THREAD_LIBS_INIT}
     ${opencv_LIBRARIES}
     ${OpenCV_LIBRARIES}
     ${gtkmm_LIBRARIES}

Modified: trunk/src/components/introrob/CMakeLists.txt
===================================================================
--- trunk/src/components/introrob/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/introrob/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -14,7 +14,8 @@
 
 add_executable (introrob  ${SOURCE_FILES})
 
-TARGET_LINK_LIBRARIES(introrob 
+TARGET_LINK_LIBRARIES(introrob
+    ${CMAKE_THREAD_LIBS_INIT} 
     ${opencv_LIBRARIES}
     ${gtkmm_LIBRARIES}
     ${libglademm_LIBRARIES}

Modified: trunk/src/components/kinectViewer/CMakeLists.txt
===================================================================
--- trunk/src/components/kinectViewer/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/kinectViewer/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -14,7 +14,8 @@
 add_executable (kinectViewer ${SOURCE_FILES})
 
 
-TARGET_LINK_LIBRARIES(kinectViewer 
+TARGET_LINK_LIBRARIES(kinectViewer
+    ${CMAKE_THREAD_LIBS_INIT} 
 	${GLUT_LIBRARIES}
    	${OpenCV_LIBRARIES}
    	${gtkmm_LIBRARIES}

Modified: trunk/src/components/naooperator/CMakeLists.txt
===================================================================
--- trunk/src/components/naooperator/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/naooperator/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -13,7 +13,8 @@
 add_executable (naooperator ${SOURCE_FILES})
 
 
-TARGET_LINK_LIBRARIES(naooperator 
+TARGET_LINK_LIBRARIES(naooperator
+    ${CMAKE_THREAD_LIBS_INIT} 
     ${opencv_LIBRARIES}
     ${gtkmm_LIBRARIES}
     ${libglademm_LIBRARIES}

Modified: trunk/src/components/opencvdemo/CMakeLists.txt
===================================================================
--- trunk/src/components/opencvdemo/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/opencvdemo/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -11,7 +11,8 @@
 add_executable (opencvdemo ${SOURCE_FILES})
 
 
-TARGET_LINK_LIBRARIES(opencvdemo 
+TARGET_LINK_LIBRARIES(opencvdemo
+    ${CMAKE_THREAD_LIBS_INIT} 
     ${opencv_LIBRARIES}
     ${gtkmm_LIBRARIES}
     ${libglademm_LIBRARIES}

Modified: trunk/src/components/recorder/CMakeLists.txt
===================================================================
--- trunk/src/components/recorder/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/recorder/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -19,7 +19,8 @@
     add_executable (recorder ${SOURCE_FILES})
 
 
-    TARGET_LINK_LIBRARIES(recorder 
+    TARGET_LINK_LIBRARIES(recorder
+          ${CMAKE_THREAD_LIBS_INIT} 
 	  ${opencv_LIBRARIES}
 	  ${gtkmm_LIBRARIES}
 	  ${libglademm_LIBRARIES}

Modified: trunk/src/components/replayController/CMakeLists.txt
===================================================================
--- trunk/src/components/replayController/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/replayController/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -17,7 +17,8 @@
 add_executable (replayController ${SOURCE_FILES})
 
 
-TARGET_LINK_LIBRARIES(replayController 
+TARGET_LINK_LIBRARIES(replayController
+    ${CMAKE_THREAD_LIBS_INIT} 
 	${GLUT_LIBRARIES}
    	${OpenCV_LIBRARIES}
    	${gtkmm_LIBRARIES}

Modified: trunk/src/components/wiimoteClient/CMakeLists.txt
===================================================================
--- trunk/src/components/wiimoteClient/CMakeLists.txt	2013-07-18 14:21:56 UTC (rev 946)
+++ trunk/src/components/wiimoteClient/CMakeLists.txt	2013-07-19 08:09:47 UTC (rev 947)
@@ -11,6 +11,7 @@
 add_executable (wiimoteClient ${SOURCE_FILES})
 
 TARGET_LINK_LIBRARIES(wiimoteClient
+    ${CMAKE_THREAD_LIBS_INIT}
 	${GLUT_LIBRARIES}
 	${ZeroCIce_LIBRARIES}
     ${opencv_LIBRARIES}



More information about the Jderobot-admin mailing list