File tree Expand file tree Collapse file tree 7 files changed +58
-395
lines changed Expand file tree Collapse file tree 7 files changed +58
-395
lines changed Original file line number Diff line number Diff 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+
Original file line number Diff line number Diff line change 33if " %~1 " == " " GOTO NO_ARGUMENTS
44echo Compiling for: %1
55call " %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
77cl /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
88cl /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
99exit /B
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ if "%~1"=="" GOTO NO_ARGUMENTS
44echo Compiling for: %1
55call " %VCINSTALLDIR% Auxiliary\Build\vcvarsall.bat" %1
66cl /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
87exit /B
98
109:NO_ARGUMENTS
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments