File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ configure_file(${CMAKE_SOURCE_DIR}/tutorials.md.in ${CMAKE_BINARY_DIR}/tutorials
144144gz_create_docs (
145145 API_MAINPAGE_MD "${CMAKE_BINARY_DIR} /api.md"
146146 TUTORIALS_MAINPAGE_MD "${CMAKE_BINARY_DIR} /tutorials.md"
147- AUTOGENERATED_DOC "${CMAKE_BINARY_DIR} /include/gz/msgs/"
147+ AUTOGENERATED_DOC "${CMAKE_BINARY_DIR} /include/gz/msgs/details "
148148 TAGFILES
149149 "${GZ-MATH_DOXYGEN_TAGFILE} = ${GZ-MATH_API_URL}"
150150)
Original file line number Diff line number Diff line change @@ -71,8 +71,8 @@ function(gz_msgs_protoc)
7171 if (gz_msgs_protoc_GENERATE_CPP)
7272 # Full path to generated header (${PROJECT_BINARY_DIR}/include/gz/msgs/foo.pb.h)
7373 set (output_header "${gz_msgs_protoc_OUTPUT_CPP_DIR}${proto_package_dir} /${FIL_WE} .pb.h" )
74- # Full path to generated detail header (${PROJECT_BINARY_DIR}/include/gz/msgs/detail /foo.pb.h)
75- set (output_detail_header "${gz_msgs_protoc_OUTPUT_CPP_DIR}${proto_package_dir} /detail /${FIL_WE} .pb.h" )
74+ # Full path to generated detail header (${PROJECT_BINARY_DIR}/include/gz/msgs/details /foo.pb.h)
75+ set (output_detail_header "${gz_msgs_protoc_OUTPUT_CPP_DIR}${proto_package_dir} /details /${FIL_WE} .pb.h" )
7676 # Full path to generated ignition header (${PROJECT_BINARY_DIR}/include/ignition/msgs/foo.pb.h)
7777 set (output_ign_header "${gz_msgs_protoc_OUTPUT_CPP_DIR} /ignition/msgs/${FIL_WE} .pb.h" )
7878 # Full path to generated ignition header (${PROJECT_BINARY_DIR}/include/foo.pb.cc)
@@ -198,9 +198,9 @@ gz_install_includes(
198198 "${GZ_INCLUDE_INSTALL_DIR_POSTFIX} /gz/${GZ_DESIGNATION} "
199199 ${gen_headers} )
200200
201- # Install gz/msgs/detail
201+ # Install gz/msgs/details
202202gz_install_includes (
203- "${GZ_INCLUDE_INSTALL_DIR_POSTFIX} /gz/${IGN_DESIGNATION} /detail "
203+ "${GZ_INCLUDE_INSTALL_DIR_POSTFIX} /gz/${IGN_DESIGNATION} /details "
204204 ${gen_detail_headers} )
205205
206206# Install ignition/msgs
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ bool Generator::Generate(const FileDescriptor *_file,
9696 // The renaming operation is handled via the outside python script
9797 //
9898 // gz/msgs/msg.pb.cc - stays in place
99- // gz/msgs/msg.pb.h -> gz/msgs/detail /msg.pb.h
99+ // gz/msgs/msg.pb.h -> gz/msgs/details /msg.pb.h
100100 // gz/msgs/msg.gz.h (generated here) -> gz/msgs/msg.pb.h
101101 std::string identifier;
102102 std::string headerFilename;
@@ -114,7 +114,7 @@ bool Generator::Generate(const FileDescriptor *_file,
114114 }
115115 identifier += fileStem;
116116 headerFilename += fileStem + " .gz.h" ;
117- newHeaderFilename += " detail /" + fileStem + " .pb.h" ;
117+ newHeaderFilename += " details /" + fileStem + " .pb.h" ;
118118 sourceFilename += fileStem + " .pb.cc" ;
119119
120120 std::map<std::string, std::string> variables;
Original file line number Diff line number Diff line change @@ -73,14 +73,14 @@ def main(argv=sys.argv[1:]):
7373 print (f'Failed to execute protoc compiler: { e } ' )
7474 sys .exit (- 1 )
7575
76- # Move original generated cpp to detail /
76+ # Move original generated cpp to details /
7777 proto_file = os .path .splitext (os .path .relpath (args .input_path , args .proto_path ))[0 ]
7878 detail_proto_file = proto_file .split (os .sep )
7979
8080 detail_proto_dir = detail_proto_file [:- 1 ]
81- detail_proto_dir .append ('detail ' )
81+ detail_proto_dir .append ('details ' )
8282 detail_proto_dir = os .path .join (* detail_proto_dir )
83- detail_proto_file .insert (- 1 , 'detail ' )
83+ detail_proto_file .insert (- 1 , 'details ' )
8484 detail_proto_file = os .path .join (* detail_proto_file )
8585
8686 header = os .path .join (args .output_cpp_path , proto_file + ".pb.h" )
You can’t perform that action at this time.
0 commit comments