comparison CMakeLists.txt @ 614:5e09583275a4

Merged Nicolas/trafficintelligence into default
author Mohamed Gomaa <eng.m.gom3a@gmail.com>
date Fri, 05 Dec 2014 12:13:53 -0500
parents 2a4e9ef469e5
children
comparison
equal deleted inserted replaced
598:11f96bd08552 614:5e09583275a4
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 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY bin)
18 bin/feature-based-tracking
19 c/feature-based-tracking.cpp
20 )
21 18
22 INCLUDE_DIRECTORIES( 19 add_executable(feature-based-tracking
23 # bin/feature-based-tracking 20 c/cvutils.cpp
24 /home/nicolas/Research/Code/trajectorymanagementandanalysis/trunk/src/TrajectoryManagementAndAnalysis 21 c/feature-based-tracking.cpp
25 ) 22 c/Motion.cpp
23 c/Parameters.cpp
24 c/utils.cpp
25 c/InputFrameListModule.cpp
26 c/InputVideoFileModule.cpp
27 )
26 28
27 #TARGET_LINK_LIBRARIES( 29 find_package(Boost REQUIRED program_options filesystem system)
28 # bin/feature-based-tracking 30 find_library(TrajectoryManagement_LIBRARY TrajectoryManagementAndAnalysis)
29 # ${OpenCV_LIBS} 31 find_path(TrajectoryManagement_INCLUDE_DIR src/Trajectory.h)
30 # $(TrajectoryManagement_DIR) 32
31 # ${SQLite3_LIBS} 33 add_definitions(
32 # ) 34 -DUSE_OPENCV
35 )
36
37 include_directories(
38 ${PROJECT_SOURCE_DIR}/include
39 ${TrajectoryManagement_INCLUDE_DIR}
40 )
41
42 target_link_libraries(feature-based-tracking
43 ${TrajectoryManagement_LIBRARY}
44 ${SQLite3_LIBS}
45 ${OpenCV_LIBS}
46 ${Boost_LIBRARIES}
47 )
48
49 install(TARGETS feature-based-tracking DESTINATION bin)