om@2
|
1 |
# ------------------------------------------------------------
|
om@2
|
2 |
# CMakeLists.txt
|
om@2
|
3 |
#
|
om@2
|
4 |
# make: os/bin/opensecurity-server/opensecurity-server.py
|
om@2
|
5 |
#
|
om@2
|
6 |
# Autor: Oliver Maurhart, <oliver.maurhart@ait.ac.at>
|
om@2
|
7 |
#
|
om@2
|
8 |
# Copyright (C) 2013 AIT Austrian Institute of Technology
|
om@2
|
9 |
# AIT Austrian Institute of Technology GmbH
|
om@2
|
10 |
# Donau-City-Strasse 1 | 1220 Vienna | Austria
|
om@2
|
11 |
# http://www.ait.ac.at
|
om@2
|
12 |
#
|
om@2
|
13 |
# This program is free software; you can redistribute it and/or
|
om@2
|
14 |
# modify it under the terms of the GNU General Public License
|
om@2
|
15 |
# as published by the Free Software Foundation version 2.
|
om@2
|
16 |
#
|
om@2
|
17 |
# This program is distributed in the hope that it will be useful,
|
om@2
|
18 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
om@2
|
19 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
om@2
|
20 |
# GNU General Public License for more details.
|
om@2
|
21 |
#
|
om@2
|
22 |
# You should have received a copy of the GNU General Public License
|
om@2
|
23 |
# along with this program; if not, write to the Free Software
|
om@2
|
24 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
om@2
|
25 |
# Boston, MA 02110-1301, USA.
|
om@2
|
26 |
# ------------------------------------------------------------
|
om@2
|
27 |
|
om@2
|
28 |
|
om@2
|
29 |
# ------------------------------------------------------------
|
om@2
|
30 |
# test
|
om@2
|
31 |
|
om@2
|
32 |
# script is as-is
|
om@2
|
33 |
configure_file(about.py ${CMAKE_CURRENT_BINARY_DIR}/about.py @ONLY)
|
om@2
|
34 |
configure_file(credentials.py ${CMAKE_CURRENT_BINARY_DIR}/credentials.py @ONLY)
|
om@2
|
35 |
configure_file(environment.py ${CMAKE_CURRENT_BINARY_DIR}/environment.py @ONLY)
|
om@2
|
36 |
configure_file(launch.py ${CMAKE_CURRENT_BINARY_DIR}/launch.py @ONLY)
|
om@2
|
37 |
configure_file(opensecurity-dialog.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-dialog.py @ONLY)
|
om@2
|
38 |
configure_file(opensecurity-tray.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-tray.py @ONLY)
|
om@2
|
39 |
configure_file(opensecurityd.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurityd.py @ONLY)
|
om@2
|
40 |
configure_file(password.py ${CMAKE_CURRENT_BINARY_DIR}/password.py @ONLY)
|
om@2
|
41 |
|
om@2
|
42 |
# copy share/opensecurity stuff for convenient testing
|
om@2
|
43 |
file(COPY ${CMAKE_SOURCE_DIR}/share/opensecurity DESTINATION ${CMAKE_BINARY_DIR}/bin/share USE_SOURCE_PERMISSIONS)
|
om@2
|
44 |
|
om@2
|
45 |
# install script
|
om@2
|
46 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/about.py DESTINATION bin)
|
om@2
|
47 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/credentials.py DESTINATION bin)
|
om@2
|
48 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/environment.py DESTINATION bin)
|
om@2
|
49 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/launch.py DESTINATION bin)
|
om@2
|
50 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-dialog.py DESTINATION bin)
|
om@2
|
51 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-tray.py DESTINATION bin)
|
om@2
|
52 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/password.py DESTINATION bin)
|
om@2
|
53 |
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurityd.py DESTINATION bin)
|