-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
35 lines (32 loc) · 756 Bytes
/
CMakeLists.txt
File metadata and controls
35 lines (32 loc) · 756 Bytes
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
31
32
33
34
35
cmake_minimum_required (VERSION 2.6)
PROJECT(liveimage)
###
### sudo apt-get install libpng-dev
### sudo apt-get install libv4l-dev
### sudo apt-get install libjpeg-dev
###
set(CMAKE_C_COMPILER "gcc")
set(CMAKE_CXX_COMPILER "g++")
add_definitions(-Dcimg_display=0 -Dcimg_use_jpeg -Dcimg_display=0 -DWITH_AVLIB_RTSP)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fexceptions -Wall -fpermissive -fstack-protector-all -g -O0")
add_executable (liveimage
acamera.cpp
pipefile.cpp
cbconf.cpp
avlibrtsp.cpp
jpeghttpcam.cpp
jencoder.cpp
imgsink.cpp
fxxtojpg.cpp
localcam.cpp
mainn.cpp
motion.cpp
camevents.cpp
fxxtojpg.cpp
rtpudpcs.cpp
rtspcam.cpp
sock.cpp
sockserver.cpp
v4ldevice.cpp
webcast.cpp)
TARGET_LINK_LIBRARIES( liveimage pthread jpeg v4l2 dl)