mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-14 23:07:48 -04:00
don't even load sharedebug if we're in prod mode
This commit is contained in:
@@ -4,7 +4,11 @@
|
||||
#include "CentralServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedNetwork/NetworkHandler.h"
|
||||
@@ -25,7 +29,10 @@ int main(int argc, char ** argv)
|
||||
#endif
|
||||
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
#include "ChatServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -17,7 +21,10 @@
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
#include "sharedFoundation/FirstSharedFoundation.h"
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/TreeFile.h"
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/ConfigFile.h"
|
||||
@@ -32,7 +36,11 @@
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
#include "ConnectionServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -34,7 +38,10 @@ int main(int argc, char ** argv)
|
||||
#endif
|
||||
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
#include "CustomerServiceServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -19,7 +23,10 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
setupFoundationData.lpCmdLine = ConvertCommandLine(argc, argv);
|
||||
|
||||
@@ -10,7 +10,11 @@
|
||||
#include "LogServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -29,7 +33,10 @@ int main(int argc, char **argv)
|
||||
#endif
|
||||
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
#include "LoginPing.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/ConfigFile.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -18,7 +22,10 @@
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
#include "LoginServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/ConfigFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
@@ -36,7 +40,10 @@ int main(int argc, char **argv) {
|
||||
#endif
|
||||
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
#include "MetricsServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -21,7 +25,10 @@
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -3,7 +3,11 @@
|
||||
#include "PlanetServer.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -38,7 +42,10 @@ int main(int argc, char ** argv)
|
||||
// dumpPid(argv[0]);
|
||||
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
#include "sharedFoundation/FirstSharedFoundation.h"
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/ConfigFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
@@ -25,7 +29,10 @@
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
#include "StationPlayersCollector.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/ConfigFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
@@ -19,8 +23,11 @@ int main(int argc, char ** argv)
|
||||
{
|
||||
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
setupFoundationData.lpCmdLine = ConvertCommandLine(argc,argv);
|
||||
|
||||
@@ -4,7 +4,11 @@
|
||||
#include "TaskManager.h"
|
||||
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/ConfigFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
@@ -18,8 +22,11 @@
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
setupFoundationData.lpCmdLine = ConvertCommandLine(argc,argv);
|
||||
|
||||
@@ -8,7 +8,11 @@
|
||||
|
||||
#include "sharedFoundation/FirstSharedFoundation.h"
|
||||
#include "sharedCompression/SetupSharedCompression.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFoundation/Os.h"
|
||||
#include "sharedFoundation/SetupSharedFoundation.h"
|
||||
@@ -24,7 +28,10 @@
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
SetupSharedThread::install();
|
||||
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
#include "serverPathfinding/SetupServerPathfinding.h"
|
||||
#include "serverScript/SetupScript.h"
|
||||
#include "serverUtility/SetupServerUtility.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#include "sharedDebug/SetupSharedDebug.h"
|
||||
#endif
|
||||
|
||||
#include "sharedFile/SetupSharedFile.h"
|
||||
#include "sharedFile/TreeFile.h"
|
||||
#include "sharedFoundation/ConfigFile.h"
|
||||
@@ -44,7 +48,9 @@ int main(int argc, char ** argv)
|
||||
#endif
|
||||
|
||||
SetupSharedThread::install();
|
||||
SetupSharedDebug::install(1024);
|
||||
#ifdef _DEBUG
|
||||
SetupSharedDebug::install(1024);
|
||||
#endif
|
||||
|
||||
//-- setup foundation
|
||||
SetupSharedFoundation::Data setupFoundationData(SetupSharedFoundation::Data::D_game);
|
||||
|
||||
Reference in New Issue
Block a user