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:
16
external/cppunit/enable-win32-debug.patch
vendored
16
external/cppunit/enable-win32-debug.patch
vendored
@@ -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>
|
||||
|
Reference in New Issue
Block a user