update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b second try
[osm/SO.git] / rwcm / 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): Manish Patel
17 # Creation Date: 10/28/2015
18
19
20 ##
21 # Yang targets
22 ##
23
24 rift_generate_python_log_yang(
25     LOG_CATEGORY_NAME rw-conman-log
26     START_EVENT_ID 66000
27     OUT_YANG_FILE_VAR rw_conman_log_file
28     )
29
30 rift_add_yang_target(
31   TARGET rw_conman_yang
32   YANG_FILES rw-conman.yang ${rw_conman_log_file}
33   COMPONENT ${INSTALL_COMPONENT}
34   LIBRARIES
35     mano_yang_gen
36     mano-types_yang_gen
37     rwconfig_agent_yang_gen
38   DEPENDS
39     mano_yang
40     rwconfig_agent_yang
41     mano-types_yang
42 )
43
44