Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
E
evsuits
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
OpsTeam
evsuits
Commits
57a736e8
提交
57a736e8
authored
8月 30, 2019
作者:
blu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
init
上级
95bef127
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
68 行增加
和
0 行删除
+68
-0
CMakeLists.txt
opencv-motion-detect/CMakeLists.txt
+40
-0
evdaemon.cpp
opencv-motion-detect/evdaemon.cpp
+28
-0
没有找到文件。
opencv-motion-detect/CMakeLists.txt
0 → 100644
浏览文件 @
57a736e8
#
#INFO: DRAFT, not completed
#
#
cmake_minimum_required
(
VERSION 3.0
)
project
(
evsuits
)
add_definitions
(
-std=c++1z
)
FIND_PACKAGE
(
OpenCV 4.0.0 REQUIRED
)
include_directories
(
inc vendor/include
)
link_directories
(
vendor/lib
)
set
(
COMMON_SOURCES file1.cpp file2.cpp
)
set
(
TARGET_SOURCES main.cpp
)
set
(
TEST_SOURCES run_tests.cpp test_file1.cpp test_file2.cpp
)
add_library
(
database database.cpp hello.h
)
add_executable
(
evmgr evmgr.cpp
)
target_link_libraries
(
evmgr
)
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_CXX_FLAGS
"-D__STDC_CONSTANT_MACROS"
)
find_path
(
AVCODEC_INCLUDE_DIR libavcodec/avcodec.h
)
find_library
(
AVCODEC_LIBRARY avcodec
)
find_path
(
AVFORMAT_INCLUDE_DIR libavformat/avformat.h
)
find_library
(
AVFORMAT_LIBRARY avformat
)
find_path
(
AVUTIL_INCLUDE_DIR libavutil/avutil.h
)
find_library
(
AVUTIL_LIBRARY avutil
)
find_path
(
AVDEVICE_INCLUDE_DIR libavdevice/avdevice.h
)
find_library
(
AVDEVICE_LIBRARY avdevice
)
add_executable
(
decode_encode main.cpp
)
target_include_directories
(
decode_encode PRIVATE
${
AVCODEC_INCLUDE_DIR
}
${
AVFORMAT_INCLUDE_DIR
}
${
AVUTIL_INCLUDE_DIR
}
${
AVDEVICE_INCLUDE_DIR
}
)
target_link_libraries
(
decode_encode PRIVATE
${
AVCODEC_LIBRARY
}
${
AVFORMAT_LIBRARY
}
${
AVUTIL_LIBRARY
}
${
AVDEVICE_LIBRARY
}
)
\ No newline at end of file
opencv-motion-detect/evdaemon.cpp
0 → 100644
浏览文件 @
57a736e8
/*
module: evdaemon
description: to monitor and configure all other components. runs only one instance per host.
author: Bruce.Lu <lzbgt@icloud.com>
update: 2019/08/30
*/
#include "inc/tinythread.hpp"
#include "inc/httplib.h"
#include "inc/zmqhelper.hpp"
#include "inc/database.h"
class
EvDaemon
:
TinyThread
{
private
:
protected
:
void
run
(){
}
public
:
EvDaemon
();
~
EvDaemon
();
};
int
main
(){
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论