/[eiffelstudio]/trunk/Delivery/codedom_provider/build_compiler.bat
ViewVC logotype

Contents of /trunk/Delivery/codedom_provider/build_compiler.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 45940 - (show annotations)
Thu Oct 7 15:48:48 2004 UTC (15 years, 4 months ago) by raphaels
File MIME type: text/plain
File size: 2170 byte(s)
Compiles batch compiler instead of DLL COM compiler.

1 @ECHO OFF
2 REM *********************************************
3 REM Eiffel Codedom Provider delivery build script
4 REM *********************************************
5
6 CD checkout
7 REM in "checkout"
8
9 ECHO Compiling Compiler
10 CD Eiffel\ace
11 REM in "checkout\Eiffel\ace"
12 DEL *.epr
13 RD /q /s EIFGEN
14 sed -e "s/\"ec\"/\"ecdpc\"/" batch.mswin.ace > ecdpc.ace
15 ec -finalize -batch -c_compile -ace ecdpc.ace
16 IF NOT EXIST EIFGEN\F_Code\ecdpc.exe GOTO END
17
18 ECHO Compiling Metadata consumer
19 CD ..\..\dotnet\consumer\ace
20 REM in "checkout\dotnet\consumer\ace"
21 DEL *.epr
22 RD /q /s EIFGEN
23 ec -finalize -batch -c_compile -ace metadata_consumer.ace
24 IF NOT EXIST EIFGEN\F_code\EiffelSoftware.MetadataConsumer.dll GOTO END
25 CD ..\..\..
26 REM in "checkout"
27
28 ECHO Compiling Runtime
29 CD Eiffel\eiffel\com_il_generation\Core\run-time
30 REM in "checkout\Eiffel\eiffel\com_il_generation\Core\run-time"
31 CALL nmake
32 IF NOT EXIST EiffelSoftware.Runtime.dll GOTO END
33 CD ..\..\..\..\..
34 REM in "checkout"
35
36 ECHO Setting up folders
37 CD ..\delivery
38 REM in "delivery"
39 MKDIR compiler
40 CD compiler
41 REM in "delivery\compiler"
42 MKDIR library\base
43 MKDIR library.net\base
44 MKDIR studio
45 CD studio
46 REM in "delivery\compiler\studio"
47 MKDIR "help\errors"
48 MKDIR spec\windows\bin
49 MKDIR config\windows\msc
50 MKDIR config\windows\templates
51
52 ECHO Copying delivery files
53 XCOPY /S ..\..\..\checkout\compiler_delivery\help\errors "help\errors"
54 COPY ..\..\..\checkout\Eiffel\ace\EIFGEN\F_Code\ecdpc.exe spec\windows\bin\
55 COPY ..\..\..\checkout\dotnet\consumer\ace\EIFGEN\F_Code\EiffelSoftware.MetadataConsumer.dll spec\windows\bin\
56 COPY ..\..\..\checkout\Eiffel\eiffel\com_il_generation\Core\run-time\EiffelSoftware.Runtime.dll spec\windows\bin\
57 XCOPY /S ..\..\..\checkout\compiler_delivery\config\windows\msc config\windows\msc
58 XCOPY /S ..\..\..\checkout\compiler_delivery\config\windows\templates config\windows\templates
59 CD ..\library
60 REM in "delivery\compiler\library"
61 XCOPY /S ..\..\..\checkout\library\base base\
62 CD ..\library.net
63 REM in "delivery\compiler\library.net"
64 XCOPY /S ..\..\..\checkout\library.net\base base\
65
66 CD ..\..\..
67 REM in "\"
68 SET COMPILER_BUILT=1
69
70 :END
71 IF "%COMPILER_BUILT%"=="" ECHO COULD NOT BUILD COMPILER FILES!!
72 ECHO Done.

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23