2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

xcode build support started

This commit is contained in:
John Preston
2014-06-14 23:32:11 +04:00
parent 30a07de8e7
commit cace79bc18
110 changed files with 17740 additions and 3535 deletions

View File

@@ -65,9 +65,23 @@ RecentEmojiPreload gRecentEmojisPreload;
QString gLangFile;
bool gRetina = false;
float64 gRetinaFactor = 1.;
bool gCustomNotifies = false;
#ifdef Q_OS_WIN
DBIPlatform gPlatform = dbipWindows;
#elif defined Q_OS_MAC
DBIPlatform gPlatform = dbipMac;
#elif defined Q_OS_LINUX
DBIPlatform gPlatform = dbipLinux;
#else
#error Unknown platform
#endif
void settingsParseArgs(int argc, char *argv[]) {
gExeDir = psCurrentExeDirectory();
for (uint32 i = 0; i < argc; ++i) {
gExeDir = psCurrentExeDirectory(argc, argv);
for (int32 i = 0; i < argc; ++i) {
if (string("-release") == argv[i]) {
gTestMode = false;
} else if (string("-debug") == argv[i]) {