mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 16:03:02 +01:00
56 lines
1.1 KiB
Batchfile
56 lines
1.1 KiB
Batchfile
@echo off
|
|
|
|
if "%1"=="CLEAN" (
|
|
call :CLEAN
|
|
) else (
|
|
call :NORMAL
|
|
if "%1"=="MOVE" (call :MOVE)
|
|
)
|
|
|
|
goto :END
|
|
|
|
::===========
|
|
:CLEAN
|
|
cd msvc7
|
|
devenv Firebird2.sln /clean debug
|
|
cd ..
|
|
goto :EOF
|
|
|
|
::===========
|
|
:NORMAL
|
|
cd msvc7
|
|
echo %time% >Firebird2.log
|
|
devenv Firebird2.sln /build debug /out Firebird2.log
|
|
del debug\firebird\bin\*.exp
|
|
del debug\firebird\bin\*.lib
|
|
cd ..
|
|
goto :EOF
|
|
|
|
::===========
|
|
:MOVE
|
|
rmdir /q /s output
|
|
mkdir output
|
|
mkdir output\bin
|
|
mkdir output\intl
|
|
mkdir output\udf
|
|
mkdir output\help
|
|
mkdir output\doc
|
|
mkdir output\include
|
|
mkdir output\lib
|
|
copy msvc7\debug\firebird\bin\* output\bin
|
|
copy msvc7\debug\firebird\intl\* output\intl
|
|
copy msvc7\debug\firebird\udf\* output\udf
|
|
copy gpre.exe output\bin
|
|
copy dbs\jrd\SECURITY.FDB output\security.fdb
|
|
copy dbs\qli\HELP.fdb output\help\help.fdb
|
|
copy ..\..\ChangeLog output\doc\ChangeLog.txt
|
|
copy ..\..\doc\WhatsNew output\doc\WhatsNew.txt
|
|
copy ..\..\src\jrd\ibase.h output\include
|
|
copy ..\..\src\include\gen\iberror.h output\include
|
|
copy install_super.bat output\bin
|
|
copy install_classic.bat output\bin
|
|
copy uninstall.bat output\bin
|
|
|
|
goto :EOF
|
|
|
|
:END |