33 lines
1.0 KiB
CMake
33 lines
1.0 KiB
CMake
add_executable(PassengerStatistics main.cpp
|
|
DetectAlgorithm.h DetectAlgorithm.cpp
|
|
ImageUtilities.h ImageUtilities.cpp
|
|
Live555RtspPusher.h Live555RtspPusher.cpp
|
|
RtspServer.h RtspServer.cpp
|
|
VideoInput.h VideoInput.cpp
|
|
)
|
|
|
|
target_include_directories(PassengerStatistics
|
|
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/libopencv/include
|
|
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/rw_mpp/include
|
|
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/ds_pedestrian_mot_hisi/include
|
|
PRIVATE ${ZLMediaKit_INCLUDE_DIR}
|
|
)
|
|
|
|
target_link_directories(PassengerStatistics
|
|
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/libopencv/libs
|
|
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/rw_mpp/lib
|
|
PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/ds_pedestrian_mot_hisi/libs
|
|
PRIVATE ${ZLMediaKit_LIBRARY_DIRS}
|
|
PRIVATE ${OPENSSL_LIBRARY_DIRS}
|
|
)
|
|
|
|
target_link_libraries(PassengerStatistics
|
|
PRIVATE Universal
|
|
PRIVATE ${OPENSSL_LIBRARIES}
|
|
PRIVATE rw_mpp
|
|
PRIVATE ds_pedestrian_mot_Hi3516DV500
|
|
PRIVATE mk_api
|
|
PRIVATE opencv_core
|
|
PRIVATE opencv_imgcodecs
|
|
PRIVATE opencv_imgproc
|
|
) |