ed7d7b37191777a7e313815308cb337c7e35eb5e
[osm/SO.git] / common / plugins / yang / 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): Austin Cormier
17 # Creation Date: 2015/11/20
18
19
20 ##
21 # Yang targets
22 ##
23 rift_add_yang_target(
24   TARGET rwsdn_yang
25   YANG_FILES rw-sdn.yang
26   COMPONENT ${PKG_LONG_NAME}
27   LIBRARIES
28     rwsdnal_yang_gen
29   DEPENDS
30     rwsdnal_yang
31 )
32
33 rift_add_yang_target(
34   TARGET rwcloud_yang
35   YANG_FILES rw-cloud.yang 
36   COMPONENT ${PKG_LONG_NAME}
37   LIBRARIES
38     rwsdn_yang_gen
39     rwcal_yang_gen
40   DEPENDS
41     rwcal_yang
42     rwsdnal_yang
43 )
44
45 rift_add_yang_target(
46   TARGET rwconfig_agent_yang
47   YANG_FILES rw-config-agent.yang
48   COMPONENT ${PKG_LONG_NAME}
49   LIBRARIES
50     rwcal_yang_gen
51   DEPENDS
52     rwcal_yang
53 )