om@2: # ------------------------------------------------------------ om@2: # CMakeLists.txt om@2: # om@2: # make: os/bin/opensecurity-server/opensecurity-server.py om@2: # om@2: # Autor: Oliver Maurhart, om@2: # om@2: # Copyright (C) 2013 AIT Austrian Institute of Technology om@2: # AIT Austrian Institute of Technology GmbH om@2: # Donau-City-Strasse 1 | 1220 Vienna | Austria om@2: # http://www.ait.ac.at om@2: # om@2: # This program is free software; you can redistribute it and/or om@2: # modify it under the terms of the GNU General Public License om@2: # as published by the Free Software Foundation version 2. om@2: # om@2: # This program is distributed in the hope that it will be useful, om@2: # but WITHOUT ANY WARRANTY; without even the implied warranty of om@2: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the om@2: # GNU General Public License for more details. om@2: # om@2: # You should have received a copy of the GNU General Public License om@2: # along with this program; if not, write to the Free Software om@2: # Foundation, Inc., 51 Franklin Street, Fifth Floor, om@2: # Boston, MA 02110-1301, USA. om@2: # ------------------------------------------------------------ om@2: om@2: om@2: # ------------------------------------------------------------ om@2: # test om@2: om@2: # script is as-is om@2: configure_file(about.py ${CMAKE_CURRENT_BINARY_DIR}/about.py @ONLY) om@2: configure_file(credentials.py ${CMAKE_CURRENT_BINARY_DIR}/credentials.py @ONLY) om@2: configure_file(environment.py ${CMAKE_CURRENT_BINARY_DIR}/environment.py @ONLY) om@2: configure_file(launch.py ${CMAKE_CURRENT_BINARY_DIR}/launch.py @ONLY) om@2: configure_file(opensecurity-dialog.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-dialog.py @ONLY) om@2: configure_file(opensecurity-tray.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-tray.py @ONLY) om@2: configure_file(opensecurityd.py ${CMAKE_CURRENT_BINARY_DIR}/opensecurityd.py @ONLY) om@2: configure_file(password.py ${CMAKE_CURRENT_BINARY_DIR}/password.py @ONLY) om@2: om@2: # copy share/opensecurity stuff for convenient testing om@2: file(COPY ${CMAKE_SOURCE_DIR}/share/opensecurity DESTINATION ${CMAKE_BINARY_DIR}/bin/share USE_SOURCE_PERMISSIONS) om@2: om@2: # install script om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/about.py DESTINATION bin) om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/credentials.py DESTINATION bin) om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/environment.py DESTINATION bin) om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/launch.py DESTINATION bin) om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-dialog.py DESTINATION bin) om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurity-tray.py DESTINATION bin) om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/password.py DESTINATION bin) om@2: install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/opensecurityd.py DESTINATION bin)