Merge from master
[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 )
39
40 rift_add_yang_target(
41   TARGET rwconfig_agent_yang
42   YANG_FILES rw-config-agent.yang
43   COMPONENT ${PKG_LONG_NAME}
44   LIBRARIES
45     rwcal_yang_gen
46     rwprojectmano_yang_gen
47   DEPENDS
48     rwcal_yang
49     rwprojectmano_yang
50 )