2016-08-28 19:36:51 +00:00
|
|
|
# This file is part of Telegram Desktop,
|
2018-01-03 10:23:14 +00:00
|
|
|
# the official desktop application for the Telegram messaging service.
|
2016-08-28 19:36:51 +00:00
|
|
|
#
|
2018-01-03 10:23:14 +00:00
|
|
|
# For license and copyright information please follow this link:
|
|
|
|
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
2016-08-28 19:36:51 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
'conditions': [[ 'build_win', {
|
2017-09-05 17:46:16 +00:00
|
|
|
'msbuild_toolset': 'v141',
|
2016-08-30 05:24:16 +00:00
|
|
|
'library_dirs': [
|
|
|
|
'<(libs_loc)/ffmpeg',
|
|
|
|
],
|
2016-08-28 19:36:51 +00:00
|
|
|
'libraries': [
|
2017-05-04 11:15:21 +00:00
|
|
|
'-lzlibstat',
|
|
|
|
'-lLzmaLib',
|
|
|
|
'-lUxTheme',
|
|
|
|
'-lDbgHelp',
|
|
|
|
'-lOpenAL32',
|
|
|
|
'-lcommon',
|
|
|
|
'-lopus',
|
2017-09-05 17:46:16 +00:00
|
|
|
'windows/common',
|
|
|
|
'windows/handler/exception_handler',
|
|
|
|
'windows/crash_generation/crash_generation_client',
|
2016-08-28 19:36:51 +00:00
|
|
|
],
|
2016-09-12 12:02:52 +00:00
|
|
|
'msvs_settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
'AdditionalOptions': [
|
|
|
|
'libavformat/libavformat.a',
|
|
|
|
'libavcodec/libavcodec.a',
|
|
|
|
'libavutil/libavutil.a',
|
|
|
|
'libswresample/libswresample.a',
|
|
|
|
'libswscale/libswscale.a',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2016-08-28 19:36:51 +00:00
|
|
|
'configurations': {
|
|
|
|
'Debug': {
|
|
|
|
'library_dirs': [
|
|
|
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Debug',
|
2017-05-04 11:15:21 +00:00
|
|
|
'<(libs_loc)/opus/win32/VS2015/Win32/Debug',
|
2016-08-28 19:36:51 +00:00
|
|
|
'<(libs_loc)/openal-soft/build/Debug',
|
2017-09-05 17:46:16 +00:00
|
|
|
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatDebug',
|
|
|
|
'<(libs_loc)/breakpad/src/out/Debug/obj/client',
|
2016-08-28 19:36:51 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
'Release': {
|
|
|
|
'library_dirs': [
|
|
|
|
'<(libs_loc)/lzma/C/Util/LzmaLib/Release',
|
2017-05-04 11:15:21 +00:00
|
|
|
'<(libs_loc)/opus/win32/VS2015/Win32/Release',
|
2016-08-28 19:36:51 +00:00
|
|
|
'<(libs_loc)/openal-soft/build/Release',
|
2017-09-05 17:46:16 +00:00
|
|
|
'<(libs_loc)/zlib/contrib/vstudio/vc14/x86/ZlibStatReleaseWithoutAsm',
|
|
|
|
'<(libs_loc)/breakpad/src/out/Release/obj/client',
|
2016-08-28 19:36:51 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2017-02-01 10:12:52 +00:00
|
|
|
}], [ 'build_uwp', {
|
|
|
|
'defines': [
|
|
|
|
'TDESKTOP_DISABLE_AUTOUPDATE',
|
|
|
|
'OS_WIN_STORE',
|
|
|
|
]
|
2016-08-28 19:36:51 +00:00
|
|
|
}]],
|
|
|
|
}
|