Mercurial > hg > nsaunier > traffic-intelligence
comparison CMakeLists.txt @ 360:450dc0648aaa
Changes to CMakeLists.txt by Alexis Whilhelm
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Thu, 11 Jul 2013 11:03:18 -0400 |
| parents | 46b166523bf8 |
| children | 2a4e9ef469e5 |
comparison
equal
deleted
inserted
replaced
| 359:619ae9a9a788 | 360:450dc0648aaa |
|---|---|
| 12 | 12 |
| 13 SET( | 13 SET( |
| 14 CMAKE_CXX_FLAGS "-g -Wall" | 14 CMAKE_CXX_FLAGS "-g -Wall" |
| 15 ) | 15 ) |
| 16 | 16 |
| 17 ADD_EXECUTABLE( | 17 add_executable(feature-based-tracking |
| 18 bin/feature-based-tracking | 18 c/cvutils.cpp |
| 19 c/feature-based-tracking.cpp | 19 c/feature-based-tracking.cpp |
| 20 ) | 20 c/Motion.cpp |
| 21 c/Parameters.cpp | |
| 22 c/utils.cpp | |
| 23 ) | |
| 21 | 24 |
| 22 INCLUDE_DIRECTORIES( | 25 find_package(Boost REQUIRED program_options) |
| 23 # bin/feature-based-tracking | 26 find_library(TrajectoryManagement_LIBRARY TrajectoryManagementAndAnalysis) |
| 24 /home/nicolas/Research/Code/trajectorymanagementandanalysis/trunk/src/TrajectoryManagementAndAnalysis | 27 find_path(TrajectoryManagement_INCLUDE_DIR src/Trajectory.h) |
| 25 ) | |
| 26 | 28 |
| 27 #TARGET_LINK_LIBRARIES( | 29 add_definitions( |
| 28 # bin/feature-based-tracking | 30 -DUSE_OPENCV |
| 29 # ${OpenCV_LIBS} | 31 ) |
| 30 # $(TrajectoryManagement_DIR) | 32 |
| 31 # ${SQLite3_LIBS} | 33 include_directories( |
| 32 # ) | 34 ${PROJECT_SOURCE_DIR}/include |
| 35 ${TrajectoryManagement_INCLUDE_DIR} | |
| 36 ) | |
| 37 | |
| 38 target_link_libraries(feature-based-tracking | |
| 39 ${TrajectoryManagement_LIBRARY} | |
| 40 ${SQLite3_LIBS} | |
| 41 ${OpenCV_LIBS} | |
| 42 ${Boost_LIBRARIES} | |
| 43 ) | |
| 44 | |
| 45 install(TARGETS feature-based-tracking DESTINATION bin) |
