source: libs/SamgarWRUTed/tags/1.0/libSamgar/CMakeLists.txt @ 447

Revision 447, 1.4 KB checked in by lmalek, 10 years ago (diff)

tree structure reorganization

Line 
1cmake_minimum_required(VERSION 2.6)
2FIND_PACKAGE(YARP REQUIRED)
3FIND_PACKAGE(OpenCV REQUIRED )
4
5include_directories     (inc)
6include_directories     (${OpenCV_INCLUDE_DIRS})
7#link_directories           (Release)
8
9add_library (SamgarLIB
10  src/Samgar.cpp
11  inc/SamgarVars.h
12  inc/Samgar.h
13)
14
15ADD_EXECUTABLE(SamgarSend        examples/SamgarSend.cpp)
16ADD_EXECUTABLE(SamgarRecive      examples/SamgarRecive.cpp)
17ADD_EXECUTABLE(SamgarSendImage   examples/SamgarSendImage.cpp )
18ADD_EXECUTABLE(SamgarReciveImage examples/SamgarReciveImage.cpp )
19ADD_EXECUTABLE(SamgarMigrate     examples/SamgarMigrate.cpp)
20ADD_EXECUTABLE(SamgarMove        examples/SamgarMove.cpp)
21ADD_EXECUTABLE(SamgarMotion      examples/SamgarMotion.cpp)
22ADD_EXECUTABLE(SamgarFaceDetect  examples/SamgarFaceDetect.cpp)
23
24target_link_libraries   (SamgarSend      SamgarLIB ${YARP_LIBRARIES} ACE)
25target_link_libraries   (SamgarRecive    SamgarLIB ${YARP_LIBRARIES} ACE)
26target_link_libraries   (SamgarMigrate   SamgarLIB ${YARP_LIBRARIES} ACE)
27target_link_libraries   (SamgarMove      SamgarLIB ${YARP_LIBRARIES} ACE)
28target_link_libraries   (SamgarMotion    SamgarLIB ${YARP_LIBRARIES} ACE)
29
30target_link_libraries   (SamgarSendImage   SamgarLIB ${OpenCV_LIBS} ${YARP_LIBRARIES} highgui ACE)
31target_link_libraries   (SamgarReciveImage SamgarLIB ${OpenCV_LIBS} ${YARP_LIBRARIES} highgui ACE)
32target_link_libraries   (SamgarFaceDetect SamgarLIB ${OpenCV_LIBS} ${YARP_LIBRARIES} highgui ACE)
Note: See TracBrowser for help on using the repository browser.