source: UH/SAMGAR/SAMGAR LIB/CMakeLists.txt @ 121

Revision 121, 648 bytes checked in by KDucasse, 10 years ago (diff)

Folder and files for the to compile samgar modules

Line 
1
2FIND_PACKAGE(YARP)
3
4include_directories     (HeaderFiles)
5include_directories     (SourceFiles)
6include_directories     (TesterFiles)
7include_directories     (Release)
8link_directories        (Release)
9
10
11
12
13add_library (SamgarLIB SourceFiles/SAMGARMAIN.cpp HeaderFiles/UserVars.h HeaderFiles/SamgarMainClass.h
14HeaderFiles/ConnectFunct.h HeaderFiles/cxtypes)  ## this should create a libary
15
16ADD_EXECUTABLE(Tester TesterFiles/Test.cpp)
17ADD_EXECUTABLE(Tester2 TesterFiles/Test2.cpp)
18
19target_link_libraries   (Tester SamgarLIB ${OpenCV_LIBS})
20target_link_libraries   (Tester2 SamgarLIB ${OpenCV_LIBS})
21target_link_libraries   (SamgarKey SamgarLIB)
22
23
Note: See TracBrowser for help on using the repository browser.