-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakeLists.txt
30 lines (21 loc) · 1.16 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
cmake_minimum_required(VERSION 2.8)
project( finalProject )
find_package( OpenCV REQUIRED )
add_executable( gmm gmm.cpp bsgmm.cpp rect.cpp avi.cpp )
target_link_libraries( gmm ${OpenCV_LIBS} )
add_executable( gmmOpencv gmmOpencv.cpp rect.cpp avi.cpp )
target_link_libraries( gmmOpencv ${OpenCV_LIBS} )
add_executable( roadmap roadmap.cpp bsgmm.cpp rect.cpp ptrans.cpp )
target_link_libraries( roadmap ${OpenCV_LIBS} )
add_executable( testptrans testptrans.cpp ptrans.cpp )
target_link_libraries( testptrans ${OpenCV_LIBS} )
add_executable( project project.cpp bsgmm.cpp rect.cpp ptrans.cpp avi.cpp tracker.cpp multiTracker.cpp kalman.cpp hungarianAlg.cpp )
target_link_libraries( project ${OpenCV_LIBS} )
add_executable( resizer resizer.cpp avi.cpp )
target_link_libraries( resizer ${OpenCV_LIBS} )
add_executable( gmmTracking gmmTracking.cpp kalman.cpp tracker.cpp multiTracker.cpp hungarianAlg.cpp bsgmm.cpp rect.cpp avi.cpp )
target_link_libraries( gmmTracking ${OpenCV_LIBS} )
add_executable( testHungarian testHungarian.cpp hungarianAlg.cpp )
target_link_libraries( testHungarian ${OpenCV_LIBS} )
set(CMAKE_CXX_FLAGS "-Wall -std=c++14 -O2")
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)