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