Skip to content

Commit

Permalink
Build: Introduce debug configurations without test signing
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Fleytman <[email protected]>
  • Loading branch information
Dmitry Fleytman committed Apr 6, 2017
1 parent 7abd2b9 commit 446daec
Show file tree
Hide file tree
Showing 10 changed files with 2,663 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.suo
*.sdf
Win*Debug
Win*Debug_NoSign
Win*Release
*.opensdf
*.ipch
Expand All @@ -10,7 +11,9 @@ Resource.aps
Install
Install_debug
XP Debug
XP Debug_NoSign
XP Release
XPDebug
XPDebug_NoSign
XPRelease
x64
6 changes: 4 additions & 2 deletions Tools/Installer/buildmsi.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ SETLOCAL EnableExtensions EnableDelayedExpansion
IF [%UsbDkVersion%] == [] SET UsbDkVersion=99.99.90
IF [%UsbDkVersion%] == [".."] SET UsbDkVersion=99.99.90

if [%1] EQU [NOSIGN] (SET DEBUG_CFG=Debug_NoSign) ELSE (SET DEBUG_CFG=Debug)

pushd ..\..\Install_Debug\x86

del *.msi *.wixobj *.wixpdb

"C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe" ..\..\Tools\Installer\UsbDkInstaller.wxs -out UsbDk_Debug.wixobj -dUsbDkVersion=%UsbDkVersion% -dConfig=Debug
"C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe" ..\..\Tools\Installer\UsbDkInstaller.wxs -out UsbDk_Debug.wixobj -dUsbDkVersion=%UsbDkVersion% -dConfig=%DEBUG_CFG%
if !ERRORLEVEL! NEQ 0 exit /B 1
"C:\Program Files (x86)\WiX Toolset v3.8\bin\light.exe" UsbDk_Debug.wixobj -out UsbDk_Debug_%UsbDkVersion%_x86.msi -sw1076
if !ERRORLEVEL! NEQ 0 exit /B 1
Expand All @@ -18,7 +20,7 @@ pushd ..\..\Install_Debug\x64

del *.msi *.wixobj *.wixpdb

"C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe" ..\..\Tools\Installer\UsbDkInstaller.wxs -out UsbDk_Debug.wixobj -dUsbDkVersion=%UsbDkVersion% -dConfig=Debug -dUsbDk64Bit=1
"C:\Program Files (x86)\WiX Toolset v3.8\bin\candle.exe" ..\..\Tools\Installer\UsbDkInstaller.wxs -out UsbDk_Debug.wixobj -dUsbDkVersion=%UsbDkVersion% -dConfig=%DEBUG_CFG% -dUsbDk64Bit=1
if !ERRORLEVEL! NEQ 0 exit /B 1
"C:\Program Files (x86)\WiX Toolset v3.8\bin\light.exe" UsbDk_Debug.wixobj -out UsbDk_Debug_%UsbDkVersion%_x64.msi -sw1076
if !ERRORLEVEL! NEQ 0 exit /B 1
Expand Down
557 changes: 557 additions & 0 deletions UsbDk Package/UsbDk Package.vcxproj

Large diffs are not rendered by default.

130 changes: 130 additions & 0 deletions UsbDk.sln

Large diffs are not rendered by default.

570 changes: 570 additions & 0 deletions UsbDk/UsbDk.vcxproj

Large diffs are not rendered by default.

30 changes: 30 additions & 0 deletions UsbDk/UsbDk.vcxproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,34 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='XP Release|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug_NoSign|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win10 Debug_NoSign|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug_NoSign|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win7 Debug_NoSign|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Debug_NoSign|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8 Debug_NoSign|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug_NoSign|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Win8.1 Debug_NoSign|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='XP Debug_NoSign|x64'">
<SignMode>Off</SignMode>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='XP Debug_NoSign|Win32'">
<SignMode>Off</SignMode>
</PropertyGroup>
</Project>
394 changes: 394 additions & 0 deletions UsbDkController/UsbDkController.vcxproj

Large diffs are not rendered by default.

578 changes: 578 additions & 0 deletions UsbDkHelper/UsbDkHelper.vcxproj

Large diffs are not rendered by default.

394 changes: 394 additions & 0 deletions UsbDkInstHelper/UsbDkInstHelper.vcxproj

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions buildAll.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
SETLOCAL EnableExtensions EnableDelayedExpansion

if [%1] EQU [MSIONLY] goto BUILD_MSI
if [%2] EQU [NOSIGN] (SET DEBUG_CFG=Debug_NoSign) ELSE (SET DEBUG_CFG=Debug)

del *.log

for %%x in (Win7, Win8, Win8.1, Win10, XP) do (
for %%y in (Debug, Release) do (
for %%y in (%DEBUG_CFG%, Release) do (
for %%z in (win32, x64) do (
call tools\vs_run.bat UsbDk.sln /Rebuild "%%x %%y|%%z" /Out build%%y_%%x_%%z.log
if !ERRORLEVEL! NEQ 0 exit /B 1
Expand All @@ -22,7 +23,7 @@ if [%1] EQU [NOMSI] goto NOMSI
pushd Tools\Installer

SET UsbDkVersion="%USBDK_MAJOR_VERSION%.%USBDK_MINOR_VERSION%.%USBDK_BUILD_NUMBER%"
buildmsi.bat
buildmsi.bat %2

popd

Expand Down

0 comments on commit 446daec

Please sign in to comment.