99 "ign_export_header" ,
1010)
1111load (
12- ":ign_msg_gen .bzl" ,
12+ ":gz_msg_gen .bzl" ,
1313 "get_proto_headers" ,
14- "ign_msg_gen " ,
14+ "gz_msg_gen " ,
1515)
1616
1717package (
@@ -37,53 +37,53 @@ PROJECT_PATCH = 0
3737# Generates config.hh based on the version numbers in CMake code.
3838ign_config_header (
3939 name = "config" ,
40- src = "include/ignition /msgs/config.hh.in" ,
40+ src = "include/gz /msgs/config.hh.in" ,
4141 cmakelists = ["CMakeLists.txt" ],
4242 project_name = PROJECT_NAME ,
4343 project_version = (PROJECT_MAJOR , PROJECT_MINOR , PROJECT_PATCH ),
4444)
4545
4646ign_export_header (
47- name = "include/ignition /msgs/Export.hh" ,
47+ name = "include/gz /msgs/Export.hh" ,
4848 export_base = "IGNITION_MSGS" ,
4949 lib_name = "ignition-msgs" ,
5050 visibility = ["//visibility:private" ],
5151)
5252
5353public_headers_no_gen = glob ([
54- "include/ignition /msgs/*.hh" ,
55- "include/ignition /msgs/detail/*.hh" ,
54+ "include/gz /msgs/*.hh" ,
55+ "include/gz /msgs/detail/*.hh" ,
5656])
5757
58- protos = glob (["proto/ignition /msgs/*.proto" ])
58+ protos = glob (["proto/gz /msgs/*.proto" ])
5959
6060generate_include_header (
6161 name = "messagetypeshh_genrule" ,
62- out = "include/ignition /msgs/MessageTypes.hh" ,
62+ out = "include/gz /msgs/MessageTypes.hh" ,
6363 hdrs = get_proto_headers (protos ),
64- strip_prefix = ["ign_msgs " ],
64+ strip_prefix = ["gz_msgs " ],
6565)
6666
6767generate_include_header (
6868 name = "msghh_genrule" ,
69- out = "include/ignition /msgs.hh" ,
69+ out = "include/gz /msgs.hh" ,
7070 hdrs = public_headers_no_gen + [
71- "include/ignition /msgs/config.hh" ,
72- "include/ignition /msgs/Export.hh" ,
73- "include/ignition /msgs/MessageTypes.hh" ,
71+ "include/gz /msgs/config.hh" ,
72+ "include/gz /msgs/Export.hh" ,
73+ "include/gz /msgs/MessageTypes.hh" ,
7474 ],
7575)
7676
7777public_headers = public_headers_no_gen + [
78- "include/ignition /msgs/config.hh" ,
79- "include/ignition /msgs/Export.hh" ,
80- "include/ignition /msgs/MessageTypes.hh" ,
81- "include/ignition /msgs.hh" ,
78+ "include/gz /msgs/config.hh" ,
79+ "include/gz /msgs/Export.hh" ,
80+ "include/gz /msgs/MessageTypes.hh" ,
81+ "include/gz /msgs.hh" ,
8282]
8383
84- # Custom Ignition Protoc plugin
84+ # Custom Gazebo Protoc plugin
8585cc_binary (
86- name = "ign_msgs_gen " ,
86+ name = "gz_msgs_gen " ,
8787 srcs = [
8888 "src/Generator.cc" ,
8989 "src/Generator.hh" ,
@@ -97,36 +97,36 @@ cc_binary(
9797
9898# Create a library of our protobuf message files
9999proto_library (
100- name = "ignmsgs_proto " ,
100+ name = "gzmsgs_proto " ,
101101 srcs = protos ,
102102 strip_import_prefix = "proto" ,
103103)
104104
105105# Create a library of our protobuf message files
106106proto_library (
107- name = "ignmsgs_proto_public " ,
107+ name = "gzmsgs_proto_public " ,
108108 srcs = protos ,
109109 strip_import_prefix = "proto" ,
110110)
111111
112112# Generate our custom CC files from the protos
113- ign_msg_gen (
114- name = "ignmsgs_proto_cc " ,
115- deps = [":ignmsgs_proto " ],
113+ gz_msg_gen (
114+ name = "gzmsgs_proto_cc " ,
115+ deps = [":gzmsgs_proto " ],
116116)
117117
118118cc_library (
119- name = "ign_msgs " ,
119+ name = "gz_msgs " ,
120120 srcs = [
121121 "src/Factory.cc" ,
122122 "src/Filesystem.cc" ,
123123 "src/Utility.cc" ,
124- ":ignmsgs_proto_cc " ,
124+ ":gzmsgs_proto_cc " ,
125125 ],
126126 hdrs = public_headers ,
127127 includes = ["include" ],
128128 deps = [
129- ":ignmsgs_proto_cc " ,
129+ ":gzmsgs_proto_cc " ,
130130 IGNITION_ROOT + "ign_math" ,
131131 "@com_google_protobuf//:protobuf" ,
132132 "@tinyxml2" ,
@@ -144,18 +144,18 @@ cc_binary(
144144 linkshared = True ,
145145 linkstatic = True ,
146146 deps = [
147- ":ign_msgs " ,
147+ ":gz_msgs " ,
148148 ],
149149)
150150
151151[cc_test (
152152 name = src .replace ("/" , "_" ).replace (".cc" , "" ).replace ("src_" , "" ),
153153 srcs = [src ],
154- data = [IGNITION_ROOT + "ign_msgs /test:desc/stringmsg.desc" ],
154+ data = [IGNITION_ROOT + "gz_msgs /test:desc/stringmsg.desc" ],
155155 deps = [
156- ":ign_msgs " ,
156+ ":gz_msgs " ,
157157 IGNITION_ROOT + "ign_math" ,
158- IGNITION_ROOT + "ign_msgs /test:test_utils" ,
158+ IGNITION_ROOT + "gz_msgs /test:test_utils" ,
159159 "@gtest" ,
160160 "@gtest//:gtest_main" ,
161161 ],
0 commit comments