Skip to content

Commit

Permalink
fixed:debug build report warn on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
xengine-qyt committed Sep 13, 2024
1 parent b1fa2d3 commit 5f43494
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 61 deletions.
20 changes: 9 additions & 11 deletions XEngine_Source/MQCore_ConfigModule/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ PLATDIR =
FILEEXT =
LIBFLAG =
RELEASE = 0
UNICODE = 0
LOADHDR = -I ./ -I ../XEngine_Depend/XEngine_Module/jsoncpp
LOADSO = -L ../XEngine_Depend/XEngine_Module/jsoncpp
LIB = -ljsoncpp
Expand All @@ -16,14 +15,13 @@ ifeq ($(RELEASE),1)
FLAGS = -c
DEBUG =
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif

ifeq ($(UNICODE),1)
UNICODE = -D _UNICODE
else
UNICODE =
ifeq ($(PLATFORM),mac)
FLAGS = -c
DEBUG = -g
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif
endif

ifeq ($(PLATFORM),linux)
Expand Down Expand Up @@ -53,10 +51,10 @@ all:$(OBJECTS)
$(CC) $(DEBUG) $(OBJECTS) -o libMQCore_ConfigModule.$(FILEEXT) $(LIBFLAG) $(LIB) $(LIBEX) $(LOADSO) $(LOADBIN)

Config_Json.o:./Config_Json/Config_Json.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./Config_Json/Config_Json.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./Config_Json/Config_Json.cpp

pch.o:./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./pch.cpp


InstallAll:InstallSo
Expand Down
22 changes: 10 additions & 12 deletions XEngine_Source/MQCore_DBModule/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ PLATDIR =
FILEEXT =
LIBFLAG =
RELEASE = 0
UNICODE = 0
LOADHDR = -I ./
LOADSO =
LIB = -lHelpComponents_DataBase
Expand All @@ -16,14 +15,13 @@ ifeq ($(RELEASE),1)
FLAGS = -c
DEBUG =
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif

ifeq ($(UNICODE),1)
UNICODE = -D _UNICODE
else
UNICODE =
ifeq ($(PLATFORM),mac)
FLAGS = -c
DEBUG = -g
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif
endif

ifeq ($(PLATFORM),linux)
Expand Down Expand Up @@ -53,12 +51,12 @@ all:$(OBJECTS)
$(CC) $(DEBUG) $(OBJECTS) -o libMQCore_DBModule.$(FILEEXT) $(LIBFLAG) $(LIB) $(LIBEX) $(LOADSO) $(LOADBIN)

DBModule_MQData.o:./DBModule_MQData/DBModule_MQData.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./DBModule_MQData/DBModule_MQData.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./DBModule_MQData/DBModule_MQData.cpp
DBModule_MQUser.o:./DBModule_MQUser/DBModule_MQUser.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./DBModule_MQUser/DBModule_MQUser.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./DBModule_MQUser/DBModule_MQUser.cpp

pch.o:./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./pch.cpp


InstallAll:InstallSo
Expand Down
22 changes: 10 additions & 12 deletions XEngine_Source/MQCore_ProtocolModule/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ PLATDIR =
FILEEXT =
LIBFLAG =
RELEASE = 0
UNICODE = 0
LOADHDR = -I ./ -I ../XEngine_Depend/XEngine_Module/jsoncpp
LOADSO = -L ../XEngine_Depend/XEngine_Module/jsoncpp
LIB = -ljsoncpp
Expand All @@ -16,14 +15,13 @@ ifeq ($(RELEASE),1)
FLAGS = -c
DEBUG =
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif

ifeq ($(UNICODE),1)
UNICODE = -D _UNICODE
else
UNICODE =
ifeq ($(PLATFORM),mac)
FLAGS = -c
DEBUG = -g
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif
endif

ifeq ($(PLATFORM),linux)
Expand Down Expand Up @@ -53,12 +51,12 @@ all:$(OBJECTS)
$(CC) $(DEBUG) $(OBJECTS) -o libMQCore_ProtocolModule.$(FILEEXT) $(LIBFLAG) $(LIB) $(LIBEX) $(LOADSO) $(LOADBIN)

ProtocolModule_Packet.o:./ProtocolModule_Packet/ProtocolModule_Packet.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./ProtocolModule_Packet/ProtocolModule_Packet.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./ProtocolModule_Packet/ProtocolModule_Packet.cpp
ProtocolModule_Parse.o:./ProtocolModule_Parse/ProtocolModule_Parse.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./ProtocolModule_Parse/ProtocolModule_Parse.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./ProtocolModule_Parse/ProtocolModule_Parse.cpp

pch.o:./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./pch.cpp


InstallAll:InstallSo
Expand Down
10 changes: 2 additions & 8 deletions XEngine_Source/MQCore_SessionModule/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ PLATDIR =
FILEEXT =
LIBFLAG =
RELEASE = 0
UNICODE = 0
LOADHDR = -I ./
LOADSO =
LIB =
Expand All @@ -20,11 +19,6 @@ FLAGS = -c -lc_p
DEBUG = -g -pg
endif

ifeq ($(UNICODE),1)
UNICODE = -D _UNICODE
else
UNICODE =
endif

ifeq ($(PLATFORM),linux)
ifeq (/etc/redhat-release,$(wildcard /etc/redhat-release))
Expand Down Expand Up @@ -53,10 +47,10 @@ all:$(OBJECTS)
$(CC) $(DEBUG) $(OBJECTS) -o libMQCore_SessionModule.$(FILEEXT) $(LIBFLAG) $(LIB) $(LIBEX) $(LOADSO) $(LOADBIN)

SessionModule_Client.o:./SessionModule_Client/SessionModule_Client.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./SessionModule_Client/SessionModule_Client.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./SessionModule_Client/SessionModule_Client.cpp

pch.o:./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./pch.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./pch.cpp


InstallAll:InstallSo
Expand Down
2 changes: 1 addition & 1 deletion XEngine_Source/XEngine_Depend
Submodule XEngine_Depend updated 47 files
+0 −13 .gitee/ISSUE_TEMPLATE.zh-CN.md
+0 −53 .gitee/PULL_REQUEST_TEMPLATE.zh-CN.md
+5 −2 README.en.md
+3 −0 README.md
+6 −1 VSCopy_x64.bat
+6 −1 VSCopy_x86.bat
+44 −0 XEngine.sln
+65 −0 XEngine_Application/XEngine_APPModuleTest/Makefile
+184 −0 XEngine_Application/XEngine_APPModuleTest/XEngine_APPModuleHdr.h
+95 −0 XEngine_Application/XEngine_APPModuleTest/XEngine_APPModuleTest.cpp
+142 −0 XEngine_Application/XEngine_APPModuleTest/XEngine_APPModuleTest.vcxproj
+27 −0 XEngine_Application/XEngine_APPModuleTest/XEngine_APPModuleTest.vcxproj.filters
+4 −0 XEngine_Application/XEngine_APPModuleTest/XEngine_APPModuleTest.vcxproj.user
+ XEngine_Application/XEngine_APPSocketTest/XEngineAPPSocketTest.aps
+ XEngine_Application/XEngine_APPSocketTest/XEngineAPPSocketTest.rc
+107 −0 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTest.cpp
+32 −0 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTest.h
+219 −0 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTest.vcxproj
+63 −0 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTest.vcxproj.filters
+6 −0 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTest.vcxproj.user
+315 −0 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTestDlg.cpp
+58 −0 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTestDlg.h
+49 −0 XEngine_Application/XEngine_APPSocketTest/framework.h
+5 −0 XEngine_Application/XEngine_APPSocketTest/pch.cpp
+41 −0 XEngine_Application/XEngine_APPSocketTest/pch.h
+ XEngine_Application/XEngine_APPSocketTest/res/XEngineAPPSocketTest.rc2
+ XEngine_Application/XEngine_APPSocketTest/res/XEngine_APPSocketTest.ico
+26 −0 XEngine_Application/XEngine_APPSocketTest/resource.h
+8 −0 XEngine_Application/XEngine_APPSocketTest/targetver.h
+17 −0 XEngine_Example/TinyXML2_APPExample/TinyXML2_APPExample.cpp
+135 −0 XEngine_Example/TinyXML2_APPExample/TinyXML2_APPExample.vcxproj
+22 −0 XEngine_Example/TinyXML2_APPExample/TinyXML2_APPExample.vcxproj.filters
+4 −0 XEngine_Example/TinyXML2_APPExample/TinyXML2_APPExample.vcxproj.user
+16 −17 XEngine_Module/XEngine_AVPlayer/Makefile
+1 −1 XEngine_Module/XEngine_InfoReport/InfoReport_APIMachine/InfoReport_APIMachine.cpp
+9 −11 XEngine_Module/XEngine_InfoReport/Makefile
+10 −12 XEngine_Module/jsoncpp/Makefile
+61 −0 XEngine_Module/tinyxml2/Makefile
+19 −0 XEngine_Module/tinyxml2/dllmain.cpp
+5 −0 XEngine_Module/tinyxml2/framework.h
+5 −0 XEngine_Module/tinyxml2/pch.cpp
+15 −0 XEngine_Module/tinyxml2/pch.h
+3,027 −0 XEngine_Module/tinyxml2/tinyxml2.cpp
+2,383 −0 XEngine_Module/tinyxml2/tinyxml2.h
+159 −0 XEngine_Module/tinyxml2/tinyxml2.vcxproj
+39 −0 XEngine_Module/tinyxml2/tinyxml2.vcxproj.filters
+4 −0 XEngine_Module/tinyxml2/tinyxml2.vcxproj.user
32 changes: 15 additions & 17 deletions XEngine_Source/XEngine_MQServiceApp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ PLATFORM = linux
PLATVER =
PLATDIR =
RELEASE = 0
UNICODE = 0
LOADHDR = -I ./
LOADSO = -L ../MQCore_ConfigModule -L ../MQCore_ProtocolModule -L ../MQCore_SessionModule -L ../MQCore_DBModule \
-L ../XEngine_Depend/XEngine_Module/jsoncpp -L ../XEngine_Depend/XEngine_Module/XEngine_InfoReport
Expand All @@ -17,14 +16,13 @@ ifeq ($(RELEASE),1)
FLAGS = -c
DEBUG =
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif

ifeq ($(UNICODE),1)
UNICODE = -D _UNICODE
else
UNICODE =
ifeq ($(PLATFORM),mac)
FLAGS = -c
DEBUG = -g
else
FLAGS = -c -lc_p
DEBUG = -g -pg
endif
endif

ifeq ($(PLATFORM),linux)
Expand All @@ -49,22 +47,22 @@ all:$(OBJECTS)
$(CC) $(DEBUG) $(OBJECTS) -o XEngine_MQServiceApp $(LIB) $(LIBEX) $(LOADSO) $(LOADBIN)

MQService_Net.o:./MQService_Net.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./MQService_Net.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./MQService_Net.cpp
MQService_Config.o:./MQService_Config.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./MQService_Config.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./MQService_Config.cpp
MQService_TCPTask.o:./MQService_TCPTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./MQService_TCPTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./MQService_TCPTask.cpp
MQService_HttpTask.o:./MQService_HttpTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./MQService_HttpTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./MQService_HttpTask.cpp
MQService_WSTask.o:./MQService_WSTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./MQService_WSTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./MQService_WSTask.cpp
MQService_Task.o:./MQService_Task.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./MQService_Task.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./MQService_Task.cpp
MQService_MQTTTask.o:./MQService_MQTTTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./MQService_MQTTTask.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./MQService_MQTTTask.cpp

XEngine_MQServiceApp.o:./XEngine_MQServiceApp.cpp
$(CC) $(DEBUG) $(FLAGS) $(UNICODE) $(PLATVER) $(LOADHDR) ./XEngine_MQServiceApp.cpp
$(CC) $(DEBUG) $(FLAGS) $(PLATVER) $(LOADHDR) ./XEngine_MQServiceApp.cpp


InstallAll:InstallApp
Expand Down

0 comments on commit 5f43494

Please sign in to comment.