Changeset 796


Ignore:
Timestamp:
01/04/2011 01:41:08 PM (10 years ago)
Author:
lmalek
Message:

initial version of Samgar module allowing communication with Player

Location:
libs/SAMGAR/trunk/Modules
Files:
11 added
1 edited
1 copied
2 moved

Legend:

Unmodified
Added
Removed
  • libs/SAMGAR/trunk/Modules/Examples/CMakeLists.txt

    r795 r796  
    1414include_directories(${YARP_INCLUDE_DIRS}) 
    1515include_directories(${OpenCV_INCLUDE_DIRS}) 
    16  
    17  
    18 # create samgar module library 
    19 add_library(SamModule SamClass.cpp) 
     16include_directories(${SAMGARMODULE_DIR}) 
    2017 
    2118# set up our program 
     
    2522 
    2623# link with YARP libraries 
    27 target_link_libraries(SamExamples SamModule ${YARP_LIBRARIES} ACE) 
    28 target_link_libraries(VideoSend SamModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
    29 target_link_libraries(VideoGet SamModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
     24target_link_libraries(SamExamples SamgarModule ${YARP_LIBRARIES} ACE) 
     25target_link_libraries(VideoSend SamgarModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
     26target_link_libraries(VideoGet SamgarModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
  • libs/SAMGAR/trunk/Modules/SamgarModule/CMakeLists.txt

    r795 r796  
    88find_package(PkgConfig REQUIRED) 
    99 
    10 # find OpenCV 
    11 pkg_check_modules(OpenCV REQUIRED opencv) 
    12  
    1310# add YARP include directories 
    1411include_directories(${YARP_INCLUDE_DIRS}) 
    15 include_directories(${OpenCV_INCLUDE_DIRS}) 
    16  
    1712 
    1813# create samgar module library 
    19 add_library(SamModule SamClass.cpp) 
    20  
    21 # set up our program 
    22 add_executable(SamExamples SamExample.cpp ExampleOne.cpp) 
    23 add_executable(VideoSend VideoSend.cpp) 
    24 add_executable(VideoGet  VideoGet.cpp) 
    25  
    26 # link with YARP libraries 
    27 target_link_libraries(SamExamples SamModule ${YARP_LIBRARIES} ACE) 
    28 target_link_libraries(VideoSend SamModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
    29 target_link_libraries(VideoGet SamModule ${YARP_LIBRARIES} ${OpenCV_LIBRARIES} ACE) 
     14add_library(SamgarModule SamClass.cpp) 
Note: See TracChangeset for help on using the changeset viewer.