forked from opencog/ros-behavior-scripting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
85 lines (76 loc) · 2.44 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
79
80
81
82
83
84
85
#
# Installation CMake file.
# Currently, used for only one reason only: to install part of the
# OpenCog behavior infrastructure as a guile module, so that other
# dependent code can use it.
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
# Only list install files that have actually changed
set( CMAKE_INSTALL_MESSAGE "LAZY" )
PROJECT(ros-behavior-scripting)
# ===================================================================
# global includes
# set confdir and datadir
IF (NOT DEFINED CONFDIR)
SET (CONFDIR "${CMAKE_INSTALL_PREFIX}/etc")
ENDIF (NOT DEFINED CONFDIR)
IF (NOT DEFINED DATADIR)
SET (DATADIR "${CMAKE_INSTALL_PREFIX}/share/opencog")
ENDIF (NOT DEFINED DATADIR)
ADD_SUBDIRECTORY(src)
# ===================================================================
# packaging
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "The OpenCog ROS Behavior Scripts")
SET(CPACK_PACKAGE_NAME "ros-behavior-scripting")
SET(CPACK_PACKAGE_VENDOR "opencog.org")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.md")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
SET(CPACK_PACKAGE_VERSION_MAJOR 0)
SET(CPACK_PACKAGE_VERSION_MINOR 3)
SET(CPACK_PACKAGE_VERSION_PATCH 0)
SET(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
SET(CPACK_BINARY_STGZ "OFF")
SET(CPACK_BINARY_TBZ2 "OFF")
SET(CPACK_BINARY_TGZ "OFF")
SET(CPACK_BINARY_TZ "OFF")
SET(CPACK_SOURCE_STGZ "OFF")
SET(CPACK_SOURCE_TBZ2 "ON")
SET(CPACK_SOURCE_TGZ "OFF")
SET(CPACK_SOURCE_TZ "OFF")
SET(CPACK_PACKAGE_CONTACT "[email protected]")
SET(CPACK_GENERATOR "TBZ2")
SET(CPACK_SOURCE_GENERATOR "TBZ2")
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_FILE_NAME}")
SET(CPACK_SOURCE_IGNORE_FILES
"~$"
".a$"
".so$"
".log$"
".tar.z$"
".tar.gz$"
".tar.bz2$"
"/Makefile$"
"/CMakeFiles/"
"/CMakeCache.txt$"
"/DartTestfile.txt$"
"/cmake_install.cmake$"
"/Testfile.cmake$"
"/CTestTestfile.cmake$"
"/CTestTestfile.cmake$"
"UTest$"
"UTest.cpp$"
"/_CPack_Packages/"
"/CPackConfig.cmake$"
"/CPackSourceConfig.cmake$"
"/sniff$"
"/install_manifest.txt$"
"${CPACK_PACKAGE_FILE_NAME}"
"^${PROJECT_SOURCE_DIR}/debian/"
"^${PROJECT_SOURCE_DIR}/.*spec$"
"^${PROJECT_SOURCE_DIR}/vendor/"
"^${PROJECT_SOURCE_DIR}/.bzr/"
"^${PROJECT_SOURCE_DIR}/.bzrignore$"
"^${PROJECT_SOURCE_DIR}/.git/"
)
INCLUDE(CPack)
SET(CPACK_PACKAGING_INSTALL_PREFIX "/usr/local")