solenv/gbuild/CliLibrary.mk |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 1bbabd67720d6d2cfcca15d811c625562fcffad6
Author:     Juergen Funk <juergen.funk...@cib.de>
AuthorDate: Thu Jan 30 11:28:38 2020 +0100
Commit:     Thorsten Behrens <thorsten.behr...@cib.de>
CommitDate: Mon Feb 3 16:48:12 2020 +0100

    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.behr...@cib.de>

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)) \
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to