blob: 8eba04ab5f34cf696093af6fa6a167bf37e66ae1 [file] [log] [blame]
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -04001#
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
20cmake_minimum_required(VERSION 2.8)
21
22set(PKG_NAME rwcal)
23set(PKG_VERSION 1.0)
24set(PKG_RELEASE 1)
25set(PKG_LONG_NAME ${PKG_NAME}-${PKG_VERSION})
26
27set(subdirs src plugins test)
28rift_add_subdirs(SUBDIR_LIST ${subdirs})
29
30install(FILES include/riftware/rwcal-api.h
31 DESTINATION usr/include/riftware
32 COMPONENT ${PKG_LONG_NAME})
33
34install(
35 PROGRAMS
36 etc/userdata-template
37 DESTINATION etc
38 COMPONENT ${PKG_LONG_NAME}
39 )
40
41
42rift_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
54install(
55 PROGRAMS
56 rift/cal/cloudsim
57 DESTINATION usr/bin
58 COMPONENT rwcal-1.0
59 )
60