forked from kralf/remake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
63 lines (57 loc) · 1.08 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
cmake_minimum_required(VERSION 2.6.2)
set(
CMAKE_MODULE_PATH
${CMAKE_SOURCE_DIR}/modules
)
include(ReMake)
remake_project(
remake
VERSION 1:0.7.1
RELEASE beta
SUMMARY "A set of CMake macros for restructuring GNU Automake/Autoconf projects."
AUTHOR "Ralf Kaestner"
AUTHOR "Dizan Vasquez"
AUTHOR "Oskar Roesler"
CONTACT "oskar.roesler@cjtrobitics.de"
HOME "http://github.com/cjtrobotics/remake"
LICENSE "GNU Lesser General Public License (LGPL)"
INSTALL /usr
README README.md
)
remake_add_directories(
modules
toolchains
)
remake_doc(
man INSTALL share
ps
html
)
remake_add_package(
DEBIAN
ARCH all
DEPENDS "cmake (>= 2.6.2)" groff
RECOMMENDS pkg-config
)
remake_add_package(
DEBIAN
ARCH all
COMPONENT doc
DESCRIPTION "documentation"
)
remake_add_distribution(
DEBIAN
DISTRIBUTION precise
SECTION devel
UPLOAD ppa:kralf/asl
DEPENDS groff
PASS CMAKE_BUILD_TYPE REMAKE_GIT_REVISION
)
remake_add_distribution(
DEBIAN
DISTRIBUTION trusty
SECTION devel
UPLOAD ppa:kralf/asl
DEPENDS groff
PASS CMAKE_BUILD_TYPE REMAKE_GIT_REVISION
)