be583ed8e3d67600a7ebfdad572af61b104444f0
[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 rwcloud_yang
25   YANG_FILES rw-cloud.yang rw-sdn.yang
26   COMPONENT ${PKG_LONG_NAME}
27   LIBRARIES
28     rwsdn_yang_gen
29     rwcal_yang_gen
30   DEPENDS
31     rwcal_yang
32 )
33
34 rift_add_yang_target(
35   TARGET rwconfig_agent_yang
36   YANG_FILES rw-config-agent.yang
37   COMPONENT ${PKG_LONG_NAME}
38   LIBRARIES
39     rwcal_yang_gen
40   DEPENDS
41     rwcal_yang
42 )