summaryrefslogtreecommitdiff
path: root/solenv/gbuild
diff options
context:
space:
mode:
authorJuergen Funk <juergen.funk_ml@cib.de>2020-01-30 11:28:38 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-02-03 16:48:12 +0100
commit1bbabd67720d6d2cfcca15d811c625562fcffad6 (patch)
tree1d5220712044d70d9264d7064bb9e1493737a3f1 /solenv/gbuild
parentcb65745a05a0d92c8a297c2b25789f4f4faa610e (diff)
Optionally generate PDBs also for C#
Enables pdb generation for symbol builds, for: - cli_basetypes.dll - cli_cppuhelper.dll - cli_uno.dll - cli_ure.dll Not covered are: - cli_oootypes.dll - cli_uretypes.dll ..as sadly climaker generates those, and can't produce PDBs. Change-Id: I6004e06f9f2a76b4577ad9a4de971f46ad6bf521 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87727 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'solenv/gbuild')
-rw-r--r--solenv/gbuild/CliLibrary.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/gbuild/CliLibrary.mk b/solenv/gbuild/CliLibrary.mk
index e7fa508efada..275f0d68f439 100644
--- a/solenv/gbuild/CliLibrary.mk
+++ b/solenv/gbuild/CliLibrary.mk
@@ -41,6 +41,9 @@ $(call gb_Output_announce,$(2),$(true),CSC,3)
$(CLI_CSCFLAGS) \
-target:library \
-out:$(1) \
+ $(if $(call gb_LinkTarget__symbols_enabled,$(1)),\
+ -debug:pdbonly \
+ -pdb:$(call gb_LinkTarget__get_pdb_filename,$(WORKDIR)/LinkTarget/Library/$(notdir $(1)))) \
-keyfile:$(CLI_KEYFILE) \
-reference:System.dll \
$(foreach assembly,$(CLI_ASSEMBLIES),-reference:$(assembly)) \