-
Notifications
You must be signed in to change notification settings - Fork 35
/
CMakeLists.txt
78 lines (73 loc) · 1.62 KB
/
CMakeLists.txt
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
cmake_minimum_required(VERSION 2.6)
include(ReMake)
remake_project(
libseekthermal
VERSION 0.1
RELEASE beta
SUMMARY "Driver library for Seek Thermal imaging devices."
AUTHOR "Ralf Kaestner"
CONTACT "[email protected]"
HOME "http://github.com/ethz-asl/libseekthermal"
LICENSE "GNU Lesser General Public License (LGPL)"
README README.md
PREFIX seekthermal-
INSTALL /usr
HEADER_DESTINATION include/seekthermal
EXTRA_CXX_FLAGS -std=c++0x
)
remake_component(
udev
CONFIGURATION_DESTINATION /etc/udev
)
remake_add_directories(
rules
COMPONENT udev
)
remake_doc(
html
)
remake_pack_deb(
DEPENDS libudev0|libudev1 libusb-1.0-0 libboost-chrono[0-9.]*
)
remake_pack_deb(
COMPONENT utils
DESCRIPTION "utilities"
DEPENDS libseekthermal libpng12-0
)
remake_pack_deb(
COMPONENT gui
DESCRIPTION "GUI"
DEPENDS libseekthermal libqtgui4
)
remake_pack_deb(
COMPONENT dev
DESCRIPTION "development headers"
DEPENDS libseekthermal
)
remake_pack_deb(
COMPONENT udev
DESCRIPTION "udev rules"
DEPENDS udev
EXTRA debian/rules/*
)
remake_pack_deb(
ARCH all
COMPONENT doc
DESCRIPTION "documentation"
)
remake_distribute_deb(
DISTRIBUTION precise
SECTION libs
UPLOAD ppa:kralf/asl
DEPENDS libboost-chrono1.48-dev libudev-dev libusb-1.0-0-dev
libpng12-dev libqt4-dev remake doxygen pkg-config
PASS CMAKE_BUILD_TYPE LIBSEEKTHERMAL_GIT_REVISION
)
remake_distribute_deb(
DISTRIBUTION trusty
SECTION libs
UPLOAD ppa:kralf/asl
DEPENDS libboost-chrono-dev libudev-dev libusb-1.0-0-dev
libpng12-dev libqt4-dev remake doxygen pkg-config
PASS CMAKE_BUILD_TYPE LIBSEEKTHERMAL_GIT_REVISION
)