vscode: add Cygwin terminal profile and config for VS debugger for Windows
[LibreOffice.git] / shell / Library_spsupp_x86.mk
blob17183d8b92dabca94901efa7cb097b5391d089e8
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,spsupp_x86))
12 $(eval $(call gb_Library_set_x86,spsupp_x86,YES))
14 # when building with link-time optimisation on, we need to turn it off for the helper
15 ifeq ($(ENABLE_LTO),TRUE)
16 $(eval $(call gb_Library_add_cxxflags,spsupp_x86,\
17 -GL- \
19 $(eval $(call gb_Library_add_ldflags,spsupp_x86,\
20 -LTCG:OFF \
22 endif
24 $(eval $(call gb_Library_use_custom_headers,spsupp_x86,\
25 shell/source/win32/spsupp/idl \
28 $(eval $(call gb_Library_set_include,spsupp_x86,\
29 -I$(SRCDIR)/shell/inc/spsupp \
30 $$(INCLUDE) \
33 $(eval $(call gb_Library_use_system_win32_libs,spsupp_x86,\
34 advapi32 \
35 kernel32 \
36 ole32 \
37 oleaut32 \
38 user32 \
41 $(eval $(call gb_Library_add_nativeres,spsupp_x86,spsupp))
43 $(eval $(call gb_Library_add_ldflags,spsupp_x86,\
44 /DEF:$(SRCDIR)/shell/source/win32/spsupp/spsupp.def \
47 $(eval $(call gb_Library_add_exception_objects,spsupp_x86,\
48 shell/source/win32/spsupp/COMOpenDocuments \
49 shell/source/win32/spsupp/registrar \
50 shell/source/win32/spsupp/spsuppClassFactory \
51 shell/source/win32/spsupp/spsuppServ \
54 # vim: set shiftwidth=4 tabstop=4 noexpandtab: