cppunit: also build 64-bit DLL always with PDB file

Note: this maps to /Z7 apparently:
<DebugInformationFormat>OldStyle</DebugInformationFormat>

https://msdn.microsoft.com/en-us/library/bb629394.aspx
lists various options but passing /p:DebugSymbols=true /p:DebugType=full
/p:PdbFile=... to msbuild.exe by itself doesn't do anything while
patching the project file works.

Change-Id: I888b5f6af7be519e2d35b749873ae7d35bb0bf9d
Reviewed-on: https://gerrit.libreoffice.org/56605
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
This commit is contained in:
Michael Stahl
2018-06-28 14:46:19 +02:00
parent e2fce4f050
commit e35a8b2485

View File

@@ -16,3 +16,19 @@
<SubSystem>Console</SubSystem>
<OutputFile>.\ReleaseDll\cppunit_dll.dll</OutputFile>
<ImportLibrary>.\ReleaseDll\cppunit_dll.lib</ImportLibrary>
@@ -237,7 +237,6 @@
<SuppressStartupBanner>true</SuppressStartupBanner>
<WarningLevel>Level3</WarningLevel>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
- <DebugInformationFormat>OldStyle</DebugInformationFormat>
<AdditionalIncludeDirectories>..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;CPPUNIT_BUILD_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AssemblerListingLocation>.\ReleaseDll\</AssemblerListingLocation>
@@ -266,6 +266,7 @@
<Link>
<SuppressStartupBanner>true</SuppressStartupBanner>
<LinkDLL>true</LinkDLL>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OutputFile>.\ReleaseDll\cppunit_dll.dll</OutputFile>
<ImportLibrary>.\ReleaseDll\cppunit_dll.lib</ImportLibrary>