File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 5050
5151 # 配置 MSBuild 的路径,准备构建 VC++ 项目
5252 - name : Setup MSBuild
53- uses : microsoft/setup-msbuild@v1.0.2
53+ uses : microsoft/setup-msbuild@v2
5454 # 编译
5555 - name : Build Solution
5656 run : msbuild XEngine_Source/XEngine_MQServiceApp.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}
Original file line number Diff line number Diff line change @@ -13,17 +13,32 @@ BASE_SESSION_PATH = ./MQCore_SessionModule
1313
1414APP_SERVICE_PATH = ./XEngine_MQServiceApp
1515
16+ ifeq ($(PLATFORM ) ,linux)
17+ FILEEXT = so
18+ else ifeq ($(PLATFORM),mac)
19+ FILEEXT = dylib
20+ endif
21+
1622XENGINE_MODULES = libjsoncpp.so libXEngine_InfoReport.so \
1723 libMQCore_ConfigModule.so libMQCore_ProtocolModule.so libMQCore_SessionModule.so libMQCore_DBModule.so \
1824 XEngine_MQServiceApp.exe
1925
2026.PHONY :MakeAll
2127MakeAll :$(XENGINE_MODULES )
2228
29+
2330libjsoncpp.so :
31+ ifeq ($(FLAGS ) , InstallAll)
32+ cp $(BASE_THIRDPART_JSONCPP)/libjsoncpp.$(FILEEXT) ../XEngine_Release/
33+ else
2434 make -C $(BASE_THIRDPART_JSONCPP) PLATFORM=$(PLATFORM) $(FLAGS)
35+ endif
2536libXEngine_InfoReport.so :
37+ ifeq ($(FLAGS ) , InstallAll)
38+ cp $(BASE_THIRDPART_REPORT)/libXEngine_InfoReport.$(FILEEXT) ../XEngine_Release/
39+ else
2640 make -C $(BASE_THIRDPART_REPORT) PLATFORM=$(PLATFORM) $(FLAGS)
41+ endif
2742
2843libMQCore_ConfigModule.so :
2944 make -C $(BASE_CONFIG_PATH ) PLATFORM=$(PLATFORM ) $(FLAGS )
You can’t perform that action at this time.
0 commit comments