Skip to content

Commit

Permalink
Build scripts updates
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius committed Feb 21, 2025
1 parent e990e2b commit f5dd078
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
14 changes: 7 additions & 7 deletions 01_build_release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ pushd "%MYDIR%"
where msbuild > nul 2>&1 && (
echo Starting build

msbuild /p:Configuration="Release (WinMain)" /p:Platform=x64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (WinMain)" /p:Platform=ARM64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (WinMain)" /p:Platform=Win32 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (WinMain)" /p:Platform=x64 .\NefConUtil.vcxproj -verbosity:minimal
msbuild /p:Configuration="Release (WinMain)" /p:Platform=ARM64 .\NefConUtil.vcxproj -verbosity:minimal
msbuild /p:Configuration="Release (WinMain)" /p:Platform=Win32 .\NefConUtil.vcxproj -verbosity:minimal

msbuild /p:Configuration="Release (Console)" /p:Platform=x64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (Console)" /p:Platform=ARM64 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (Console)" /p:Platform=Win32 .\NefConUtil.vcxproj
msbuild /p:Configuration="Release (Console)" /p:Platform=x64 .\NefConUtil.vcxproj -verbosity:minimal
msbuild /p:Configuration="Release (Console)" /p:Platform=ARM64 .\NefConUtil.vcxproj -verbosity:minimal
msbuild /p:Configuration="Release (Console)" /p:Platform=Win32 .\NefConUtil.vcxproj -verbosity:minimal

) || (
echo MSBuild not found, please make sure you called the "Setup-VS2022" snippet before!
echo MSBuild not found, please make sure you called the "Setup-VS(2022)" snippet before!
)

popd
Expand Down
9 changes: 7 additions & 2 deletions 02_sign.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
set MYDIR=%~dp0
pushd "%MYDIR%"

wdkwhere run signtool sign /v /n "Nefarius Software Solutions e.U." /tr http://timestamp.digicert.com /fd sha256 /td sha256 ".\bin\x64\*.exe" ".\bin\ARM64\*.exe" ".\bin\x86\*.exe"
wdkwhere run signtool sign /v /n "Nefarius Software Solutions e.U." /a ^
/tr http://timestamp.digicert.com ^
/fd sha256 /td sha256 ^
".\bin\x64\*.exe" ^
".\bin\ARM64\*.exe" ^
".\bin\x86\*.exe"

popd
endlocal
endlocal

0 comments on commit f5dd078

Please sign in to comment.