Skip to content

Commit 0e95f25

Browse files
committed
Add the exe_service template to the build script
1 parent 0192f31 commit 0e95f25

File tree

7 files changed

+58
-395
lines changed

7 files changed

+58
-395
lines changed

data/templates/src/pe/build_dlls.bat renamed to data/templates/src/pe/build_all.bat

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,11 @@ for /D %%d in (dll*) do (
44
pushd "%%d"
55
build.bat
66
popd
7-
)
7+
)
8+
9+
for /D %%d in (exe*) do (
10+
pushd "%%d"
11+
build.bat
12+
popd
13+
)
14+

data/templates/src/pe/dll_mixed_mode/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
if "%~1"=="" GOTO NO_ARGUMENTS
44
echo Compiling for: %1
55
call "%VCINSTALLDIR%Auxiliary\Build\vcvarsall.bat" %1
6-
:: mscoree.lib requires .NET SDK to be installed, add it as a Visual Studio component
6+
rem mscoree.lib requires .NET SDK to be installed, add it as a Visual Studio component
77
cl /CLR /LD /GS- /I ..\dll /DBUILDMODE=2 template.cpp /Fe:template_%1_windows_mixed_mode.dll /link mscoree.lib kernel32.lib /entry:DllMain /subsystem:WINDOWS
88
cl /CLR /LD /GS- /I ..\dll /DBUILDMODE=2 /DSCSIZE=262144 template.cpp /Fe:template_%1_windows_mixed_mode.256kib.dll /link mscoree.lib kernel32.lib /entry:DllMain /subsystem:WINDOWS
99
exit /B

data/templates/src/pe/exe/build.bat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ if "%~1"=="" GOTO NO_ARGUMENTS
44
echo Compiling for: %1
55
call "%VCINSTALLDIR%Auxiliary\Build\vcvarsall.bat" %1
66
cl /GS- template.c /Fe:template_%1_windows.exe /link kernel32.lib /entry:main /subsystem:WINDOWS /NODEFAULTLIB
7-
cl /GS- /DSCSIZE=262144 template.c /Fe:template_%1_windows.256kib.exe /link kernel32.lib /entry:main /subsystem:WINDOWS /NODEFAULTLIB
87
exit /B
98

109
:NO_ARGUMENTS

data/templates/src/pe/exe_service/Service.sln

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)