mirror of https://github.com/procxx/kepka.git
Manually cotire objc++ files
This commit is contained in:
parent
b081eac9bf
commit
c3c8c8ec2d
|
@ -515,7 +515,7 @@ include_directories(/usr/local/opt/openal-soft/include)
|
|||
add_definitions(-Wno-switch)
|
||||
# End remove me
|
||||
if (WIN32)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DWIN32 -D_WINDOWS -DUNICODE -DWIN64 -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -DWIN32 -D_WINDOWS -DUNICODE -DWIN64 -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP)
|
||||
endif()
|
||||
|
||||
add_definitions(-DTDESKTOP_DISABLE_CRASH_REPORTS)
|
||||
|
@ -560,6 +560,10 @@ set_target_properties(Telegram
|
|||
)
|
||||
cotire(Telegram)
|
||||
|
||||
# See https://github.com/sakra/cotire/blob/master/MANUAL.md#objective-c
|
||||
# ObjC and ObjC++ files cannot be cotired, so they have to include appropriate Qt and Tg
|
||||
# headers themselves, this applies to macOS platform sources.
|
||||
|
||||
##======================
|
||||
|
||||
if (APPLE)
|
||||
|
|
|
@ -18,6 +18,7 @@ to link the code of portions of this program with the OpenSSL library.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
#include "platform/mac/file_utilities_mac.h"
|
||||
|
||||
#include "platform/mac/mac_utilities.h"
|
||||
|
|
|
@ -15,4 +15,5 @@ GNU General Public License for more details.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
#include "platform/mac/mac_utilities.h"
|
||||
|
|
|
@ -15,6 +15,7 @@ GNU General Public License for more details.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
#include "platform/mac/main_window_mac.h"
|
||||
|
||||
#include "styles/style_window.h"
|
||||
|
|
|
@ -18,6 +18,7 @@ to link the code of portions of this program with the OpenSSL library.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
#include "platform/mac/notifications_manager_mac.h"
|
||||
|
||||
#include "platform/platform_specific.h"
|
||||
|
|
|
@ -15,6 +15,7 @@ GNU General Public License for more details.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
#include "platform/mac/specific_mac.h"
|
||||
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -15,6 +15,7 @@ GNU General Public License for more details.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
#include "platform/mac/specific_mac_p.h"
|
||||
|
||||
#include "mainwindow.h"
|
||||
|
|
|
@ -18,6 +18,7 @@ to link the code of portions of this program with the OpenSSL library.
|
|||
Full license: https://github.com/telegramdesktop/tdesktop/blob/master/LICENSE
|
||||
Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
|
||||
*/
|
||||
#include "stdafx.h"
|
||||
#include "platform/mac/window_title_mac.h"
|
||||
|
||||
#include "mainwindow.h"
|
||||
|
|
Loading…
Reference in New Issue