PassengerStatistics/Main/CMakeLists.txt

33 lines
1.0 KiB
CMake
Raw Normal View History

2024-03-13 11:40:55 +08:00
add_executable(PassengerStatistics main.cpp
2024-03-13 18:01:36 +08:00
DetectAlgorithm.h DetectAlgorithm.cpp
ImageUtilities.h ImageUtilities.cpp
2024-03-13 11:40:55 +08:00
Live555RtspPusher.h Live555RtspPusher.cpp
2024-03-13 18:01:36 +08:00
RtspServer.h RtspServer.cpp
2024-03-13 11:40:55 +08:00
VideoInput.h VideoInput.cpp
)
target_include_directories(PassengerStatistics
2024-03-13 18:01:36 +08:00
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/libopencv/include
2024-03-13 11:40:55 +08:00
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/rw_mpp/include
2024-03-13 18:01:36 +08:00
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/ds_pedestrian_mot_hisi/include
PRIVATE ${ZLMediaKit_INCLUDE_DIR}
2024-03-13 11:40:55 +08:00
)
target_link_directories(PassengerStatistics
2024-03-13 18:01:36 +08:00
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/libopencv/libs
2024-03-13 11:40:55 +08:00
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/rw_mpp/lib
2024-03-13 18:01:36 +08:00
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/ds_pedestrian_mot_hisi/libs
PRIVATE ${ZLMediaKit_LIBRARY_DIRS}
PRIVATE ${OPENSSL_LIBRARY_DIRS}
2024-03-13 11:40:55 +08:00
)
2024-03-12 14:46:37 +08:00
target_link_libraries(PassengerStatistics
PRIVATE Universal
2024-03-13 18:01:36 +08:00
PRIVATE ${OPENSSL_LIBRARIES}
2024-03-13 11:40:55 +08:00
PRIVATE rw_mpp
2024-03-13 18:01:36 +08:00
PRIVATE ds_pedestrian_mot_Hi3516DV500
PRIVATE mk_api
PRIVATE opencv_core
PRIVATE opencv_imgcodecs
PRIVATE opencv_imgproc
2024-03-12 14:46:37 +08:00
)