Browse Source

Z991239-5537 #comment feat: 模拟器配置文件不上生产流水

陈纪林80310970 1 year ago
parent
commit
affcf9729a
2 changed files with 6 additions and 0 deletions
  1. 4 0
      CMakeLists.txt
  2. 2 0
      addin/cfg/simulator/cmbsz.ini

+ 4 - 0
CMakeLists.txt

@@ -716,6 +716,10 @@ if(DEVOPS_ON)
 	endif(DEVOPS_ON_CMAKE_PRD)
 endif(DEVOPS_ON)
 
+if(NOT DEVOPS_ON_CMAKE_PRD)
+	install(PROGRAMS "${CMAKE_SOURCE_DIR}/addin/cfg/simulator/cmbsz.ini" DESTINATION ${RVC_VENDOR_PATH} COMPONENT scripts)
+endif(NOT DEVOPS_ON_CMAKE_PRD)
+
 if(MSVC)
 	configure_file("${CMAKE_SOURCE_DIR}/addin/packaging/WIN/installbat.in" "${CMAKE_BINARY_DIR}/install.bat" @ONLY NEWLINE_STYLE CRLF)
 	install(PROGRAMS "${CMAKE_BINARY_DIR}/install.bat" DESTINATION "${PACK_INSTALL_RUN_DIR}/./.." COMPONENT scripts)

+ 2 - 0
addin/cfg/simulator/cmbsz.ini

@@ -0,0 +1,2 @@
+[server]
+url=http://emulatorsimulator.paasst.cmbchina.cn/hardwareManager