diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-21 13:50:30 +0000 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-11-06 12:05:31 +0100 |
commit | 9335945c7cb215f387ed1444e28533fac437c6e8 (patch) | |
tree | d4bdbf17d4272f9d4ee32d57275883f79ad200b8 /RepositoryExternal.mk | |
parent | f69be03d72fbaa535adc8b06475d2806283b79ab (diff) |
KF5 initial VCL plugin
Something that compiles, basically just interface stubs.
All used Svp classes don't use any cairo.
Change-Id: I9a8858c930989438cc2a3f3346c01a7abc579d62
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 026ab1879cf2..2fc8f3fbafb6 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -3066,6 +3066,37 @@ endef endif # ENABLE_KDE4 +ifeq ($(ENABLE_KF5),TRUE) + +define gb_LinkTarget__use_kf5 +$(call gb_LinkTarget_set_include,$(1),\ + $(subst -isystem/,-isystem /,$(filter -I% -isystem%,$(subst -isystem /,-isystem/,$(KF5_CFLAGS)))) \ + $$(INCLUDE) \ +) + +$(call gb_LinkTarget_add_defs,$(1),\ + $(filter-out -I% -isystem%,$(subst -isystem /,-isystem/,$(KF5_CFLAGS))) \ +) + +$(call gb_LinkTarget_add_libs,$(1),\ + $(KF5_LIBS) \ +) + +ifeq ($(COM),GCC) +$(call gb_LinkTarget_add_cxxflags,$(1),\ + -Wno-shadow \ +) +endif + +endef + +else # !ENABLE_KF5 + +define gb_LinkTarget__use_kf5 + +endef + +endif # ENABLE_KF5 # PYTHON # extra python_headers external because pyuno wrapper must not link python |