| Jeremy Mordkoff | 6f07e6f | 2016-09-07 18:56:51 -0400 | [diff] [blame] | 1 | # |
| 2 | # Copyright 2016 RIFT.IO Inc |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | # Author(s): Tim Mortsolf |
| 17 | # Creation Date: 2014/05/22 |
| 18 | # |
| 19 | |
| 20 | cmake_minimum_required(VERSION 2.8) |
| 21 | |
| 22 | set(PKG_NAME rwcal) |
| 23 | set(PKG_VERSION 1.0) |
| 24 | set(PKG_RELEASE 1) |
| 25 | set(PKG_LONG_NAME ${PKG_NAME}-${PKG_VERSION}) |
| 26 | |
| 27 | set(subdirs src plugins test) |
| 28 | rift_add_subdirs(SUBDIR_LIST ${subdirs}) |
| 29 | |
| 30 | install(FILES include/riftware/rwcal-api.h |
| 31 | DESTINATION usr/include/riftware |
| 32 | COMPONENT ${PKG_LONG_NAME}) |
| 33 | |
| 34 | install( |
| 35 | PROGRAMS |
| 36 | etc/userdata-template |
| 37 | DESTINATION etc |
| 38 | COMPONENT ${PKG_LONG_NAME} |
| 39 | ) |
| 40 | |
| 41 | |
| 42 | rift_python_install_tree( |
| 43 | FILES |
| 44 | rift/cal/client.py |
| 45 | rift/cal/server/__init__.py |
| 46 | rift/cal/server/app.py |
| 47 | rift/cal/server/operations.py |
| 48 | rift/cal/server/server.py |
| 49 | rift/cal/utils.py |
| 50 | rift/cal/rwcal_status.py |
| 51 | PYTHON3_ONLY |
| 52 | COMPONENT rwcal-1.0) |
| 53 | |
| 54 | install( |
| 55 | PROGRAMS |
| 56 | rift/cal/cloudsim |
| 57 | DESTINATION usr/bin |
| 58 | COMPONENT rwcal-1.0 |
| 59 | ) |
| 60 | |