forked from ServUO/ServUO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Compile.MONO.bat
73 lines (44 loc) · 1.29 KB
/
Compile.MONO.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
@SET CURPATH=%~dp0
@SET CSCPATH=%windir%\Microsoft.NET\Framework\v4.0.30319\
@SET SRVPATH=%CURPATH%Server\
@TITLE: ServUO - https://www.servuo.com
::##########
@ECHO:
@ECHO: Compile Ultima SDK
@ECHO:
@PAUSE
@DEL "%CURPATH%Ultima.dll"
@ECHO ON
%CSCPATH%csc.exe /target:library /out:"%CURPATH%Ultima.dll" /recurse:"%SDKPATH%*.cs" /d:ServUO /d:NEWTIMERS /nowarn:0618 /debug /nologo /optimize /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@PAUSE
@CLS
::##########
@ECHO:
@ECHO: Compile Server for Mono
@ECHO:
@PAUSE
@DEL "%CURPATH%ServUO.MONO.exe"
@ECHO ON
%CSCPATH%csc.exe /win32icon:"%SRVPATH%servuo.ico" /r:"%CURPATH%Ultima.dll" /target:exe /out:"%CURPATH%ServUO.MONO.exe" /recurse:"%SRVPATH%*.cs" /d:ServUO /d:NEWTIMERS /d:MONO /nowarn:0618 /debug /nologo /optimize /unsafe
@ECHO OFF
::########## Silent compile of Windows ServUO.exe
@DEL "%CURPATH%ServUO.exe"
%CSCPATH%csc.exe /win32icon:"%SRVPATH%servuo.ico" /r:"%CURPATH%Ultima.dll" /target:exe /out:"%CURPATH%ServUO.exe" /recurse:"%SRVPATH%*.cs" /d:ServUO /d:NEWTIMERS /nowarn:0618 /debug /nologo /optimize /unsafe
::##########
@ECHO:
@ECHO: Done!
@ECHO:
@PAUSE
@CLS
::##########
@ECHO:
@ECHO: Ready To Run! (Windows)
@ECHO:
@PAUSE
@CLS
@ECHO OFF
%CURPATH%ServUO.exe