blob: 9e7c2e4739cefdd5862acb89e8995c98dccd9187 [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
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040022set(subdirs src plugins test)
23rift_add_subdirs(SUBDIR_LIST ${subdirs})
24
25install(FILES include/riftware/rwcal-api.h
26 DESTINATION usr/include/riftware
Jeremy Mordkoff4870d0e2017-09-30 20:28:33 -040027 COMPONENT ${INSTALL_COMPONENT}
28 )
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040029
30install(
31 PROGRAMS
32 etc/userdata-template
33 DESTINATION etc
Jeremy Mordkoff4870d0e2017-09-30 20:28:33 -040034 COMPONENT ${INSTALL_COMPONENT}
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040035 )
36
37
38rift_python_install_tree(
39 FILES
40 rift/cal/client.py
41 rift/cal/server/__init__.py
42 rift/cal/server/app.py
43 rift/cal/server/operations.py
44 rift/cal/server/server.py
45 rift/cal/utils.py
46 rift/cal/rwcal_status.py
47 PYTHON3_ONLY
Jeremy Mordkoff4870d0e2017-09-30 20:28:33 -040048 COMPONENT ${INSTALL_COMPONENT})
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040049
50install(
51 PROGRAMS
52 rift/cal/cloudsim
53 DESTINATION usr/bin
Jeremy Mordkoff4870d0e2017-09-30 20:28:33 -040054 COMPONENT ${INSTALL_COMPONENT}
Jeremy Mordkoff6f07e6f2016-09-07 18:56:51 -040055 )
56