proto.bat 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. set input=%1%
  2. set input2=%2%
  3. ::传入普通参数
  4. echo Input params:%input%,%input2%
  5. :: include 基础类mqtt配置
  6. %input%\protobuf\win-64\protoc.exe -I="%input%/include/pahoc" mqtt_async.proto --cpp_out="%input%/include/pahoc"
  7. :: 算法优化的相关定义
  8. :: %input%\protobuf\win-64\protoc.exe -I="%input%/Modules/AlgWheelDetect" define.proto --cpp_out="%input%/Modules/AlgWheelDetect"
  9. :: 算法测试的相关定义
  10. :: %input%\protobuf\win-64\protoc.exe -I="%input%/Modules/AlgAddTest" define.proto --cpp_out="%input%/Modules/AlgAddTest"
  11. :: message
  12. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" measure_message.proto --cpp_out="%input%/include/message"
  13. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" message.proto --cpp_out="%input%/include/message"
  14. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" message_base.proto --cpp_out="%input%/include/message"
  15. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" central_control_message.proto --cpp_out="%input%/include/message"
  16. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" dispatch_control.proto --cpp_out="%input%/include/message"
  17. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" dispatch_message.proto --cpp_out="%input%/include/message"
  18. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" log_process.proto --cpp_out="%input%/include/message"
  19. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" measure_message.proto --cpp_out="%input%/include/message"
  20. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" message.proto --cpp_out="%input%/include/message"
  21. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" notify_message.proto --cpp_out="%input%/include/message"
  22. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" parkspace_allocation_message.proto --cpp_out="%input%/include/message"
  23. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" process_message.proto --cpp_out="%input%/include/message"
  24. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" singlechip_msg.proto --cpp_out="%input%/include/message"
  25. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" terminal_message.proto --cpp_out="%input%/include/message"
  26. %input%\protobuf\win-64\protoc.exe -I="%input%/include/message" UnNormalized_module_message.proto --cpp_out="%input%/include/message"
  27. :: rabbitmq
  28. %input%\protobuf\win-64\protoc.exe -I="%input%/include/rabbitmq" rabbitmq.proto --cpp_out="%input%/include/rabbitmq"
  29. :: 测量节点
  30. %input%\protobuf\win-64\protoc.exe -I="%input%/Modules/MeasureNode/velodyne_lidar" velodyne_config.proto --cpp_out="%input%/Modules/MeasureNode/velodyne_lidar"
  31. %input%\protobuf\win-64\protoc.exe -I="%input%/Modules/MeasureNode/communication" communication.proto --cpp_out="%input%/Modules/MeasureNode/communication"
  32. %input%\protobuf\win-64\protoc.exe -I="%input%/Modules/MeasureNode/rabbitmq" rabbitmq.proto --cpp_out="%input%/Modules/MeasureNode/rabbitmq"
  33. %input%\protobuf\win-64\protoc.exe -I="%input%/Modules/MeasureNode/verify" hardware_limit.proto --cpp_out="%input%/Modules/MeasureNode/verify"
  34. %input%\protobuf\win-64\protoc.exe -I="%input%/Modules/MeasureNode/wanji_lidar" wj_lidar_conf.proto --cpp_out="%input%/Modules/MeasureNode/wanji_lidar"