baeaabbd55
Fixed the default webroot directory to apache's correct webroot. Also renamed separated outDir from webRoot and made webRoot changeable on the config file. Added logging the recorder and detection loops to help with debugging and troubleshooting. Just like the video clips, max log lines were added to control the size of the data being saved to storage.
8 lines
341 B
CMake
8 lines
341 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
project( MotionWatch )
|
|
find_package( OpenCV REQUIRED )
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -pthread")
|
|
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
|
add_executable( mow src/main.cpp src/common.cpp src/mo_detect.cpp src/web.cpp src/logger.cpp )
|
|
target_link_libraries( mow ${OpenCV_LIBS} )
|