1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/ait/os/bin/opensecurityd/CMakeLists.txt Tue Nov 12 11:31:34 2013 +0100
1.3 @@ -0,0 +1,53 @@
1.4 +# ------------------------------------------------------------
1.5 +# CMakeLists.txt
1.6 +#
1.7 +# make: os/bin/opensecurity-server/opensecurity-server.py
1.8 +#
1.9 +# Autor: Oliver Maurhart, <oliver.maurhart@ait.ac.at>
1.10 +#
1.11 +# Copyright (C) 2013 AIT Austrian Institute of Technology
1.12 +# AIT Austrian Institute of Technology GmbH
1.13 +# Donau-City-Strasse 1 | 1220 Vienna | Austria
1.14 +# http://www.ait.ac.at
1.15 +#
1.16 +# This program is free software; you can redistribute it and/or
1.17 +# modify it under the terms of the GNU General Public License
1.18 +# as published by the Free Software Foundation version 2.
1.19 +#
1.20 +# This program is distributed in the hope that it will be useful,
1.21 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
1.22 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.23 +# GNU General Public License for more details.
1.24 +#
1.25 +# You should have received a copy of the GNU General Public License
1.26 +# along with this program; if not, write to the Free Software
1.27 +# Foundation, Inc., 51 Franklin Street, Fifth Floor,
1.28 +# Boston, MA 02110-1301, USA.
1.29 +# ------------------------------------------------------------
1.30 +
1.31 +
1.32 +# ------------------------------------------------------------
1.33 +# test
1.34 +
1.35 +# script is as-is
1.36 +configure_file(about.py ${CMAKE_CURRENT_BINARY_DIR}/about.py @ONLY)
1.37 +configure_file(credentials.py ${CMAKE_CURRENT_BINARY_DIR}/credentials.py @ONLY)
1.38 +configure_file(environment.py ${CMAKE_CURRENT_BINARY_DIR}/environment.py @ONLY)
1.39 +configure_file(launch.py ${CMAKE_CURRENT_BINARY_DIR}/launch.py @ONLY)
1.40 +configure_file(opensecurity-dialog.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-dialog.py @ONLY)
1.41 +configure_file(opensecurity-tray.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-tray.py @ONLY)
1.42 +configure_file(opensecurityd.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurityd.py @ONLY)
1.43 +configure_file(password.py ${CMAKE_CURRENT_BINARY_DIR}/password.py @ONLY)
1.44 +
1.45 +# copy share/opensecurity stuff for convenient testing
1.46 +file(COPY ${CMAKE_SOURCE_DIR}/share/opensecurity DESTINATION ${CMAKE_BINARY_DIR}/bin/share USE_SOURCE_PERMISSIONS)
1.47 +
1.48 +# install script
1.49 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/about.py DESTINATION bin)
1.50 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/credentials.py DESTINATION bin)
1.51 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/environment.py DESTINATION bin)
1.52 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/launch.py DESTINATION bin)
1.53 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-dialog.py DESTINATION bin)
1.54 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-tray.py DESTINATION bin)
1.55 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/password.py DESTINATION bin)
1.56 +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurityd.py DESTINATION bin)