Revert "Full Juju Charm support"
[osm/SO.git] / rwcal / CMakeLists.txt
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(subdirs src plugins test)
23 rift_add_subdirs(SUBDIR_LIST ${subdirs})
24
25 install(FILES include/riftware/rwcal-api.h
26   DESTINATION usr/include/riftware
27   COMPONENT ${INSTALL_COMPONENT}
28   )
29
30 install(
31     PROGRAMS
32     etc/userdata-template
33   DESTINATION etc
34   COMPONENT ${INSTALL_COMPONENT}
35   )
36
37
38 rift_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
48   COMPONENT ${INSTALL_COMPONENT})
49
50 install(
51   PROGRAMS
52     rift/cal/cloudsim
53   DESTINATION usr/bin
54   COMPONENT ${INSTALL_COMPONENT}
55   )
56