Add MANO roles for projects
[osm/SO.git] / common / plugins / yang / CMakeLists.txt
1
2 #   Copyright 2016-2017 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): Austin Cormier
17 # Creation Date: 2015/11/20
18
19
20 ##
21 # Yang targets
22 ##
23
24 rift_add_yang_target(
25   TARGET rwcloud_yang
26   YANG_FILES rw-cloud.yang rw-sdn.yang
27   COMPONENT ${PKG_LONG_NAME}
28   LIBRARIES
29     rwsdn_yang_gen
30     rwcal_yang_gen
31     rwprojectmano_yang_gen
32     mano-types_yang_gen
33   DEPENDS
34     rwcal_yang
35     rwsdn_yang
36     rwprojectmano_yang
37     mano-types_yang
38   ASSOCIATED_FILES
39     rw-cloud.role.xml
40     rw-sdn.role.xml
41 )
42
43 rift_add_yang_target(
44   TARGET rwconfig_agent_yang
45   YANG_FILES rw-config-agent.yang
46   COMPONENT ${PKG_LONG_NAME}
47   LIBRARIES
48     rwcal_yang_gen
49     rwprojectmano_yang_gen
50   DEPENDS
51     rwcal_yang
52     rwprojectmano_yang
53   ASSOCIATED_FILES
54     rw-config-agent.role.xml
55 )