forked from protobuf-net/protobuf-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_fx11.bat
11 lines (10 loc) · 737 Bytes
/
build_fx11.bat
1
2
3
4
5
6
7
8
9
10
11
@cls
@SET OUTDIR=build\fx11
@rd %OUTDIR% /Q /S
@md %OUTDIR%
@%SystemRoot%\Microsoft.Net\Framework\v1.1.4322\csc.exe /debug- /optimize+ "/out:%OUTDIR%\SampleDTO.dll" /define:FX11 /define:NO_GENERICS /target:library /recurse:SampleDTO\*.cs
@%SystemRoot%\Microsoft.Net\Framework\v1.1.4322\csc.exe /debug- /optimize+ "/out:%OUTDIR%\protobuf-net.dll" /define:FX11 /define:NO_GENERICS /define:FEAT_COMPILER /target:library /unsafe /recurse:protobuf-net\*.cs
@%SystemRoot%\Microsoft.Net\Framework\v1.1.4322\csc.exe /debug- /optimize+ "/out:%OUTDIR%\test.exe" /define:FX11 /define:NO_GENERICS /define:FEAT_COMPILER "/r:%OUTDIR%\protobuf-net.dll" /target:exe /recurse:FX11\*.cs "/r:%OUTDIR%\SampleDTO.dll"
@cd %OUTDIR%
@test
@cd ..\..