diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-29 19:49:31 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-29 19:49:31 +0000 |
| commit | ae8c1bea02382ff5d57806e8f40c9e58ebf7f3d3 (patch) | |
| tree | dbc3ec9c98d0696b3b80d1e7bfd54b07af537c0a /src/tools/msvc/clean.bat | |
| parent | 0943799f2d424975a77087a718f39f9342bd1b54 (diff) | |
| download | postgresql-ae8c1bea02382ff5d57806e8f40c9e58ebf7f3d3.tar.gz | |
More MSVC build support from Magnus.
Diffstat (limited to 'src/tools/msvc/clean.bat')
| -rwxr-xr-x | src/tools/msvc/clean.bat | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/tools/msvc/clean.bat b/src/tools/msvc/clean.bat new file mode 100755 index 0000000000..a1dd09ac47 --- /dev/null +++ b/src/tools/msvc/clean.bat @@ -0,0 +1,55 @@ +@echo off + +set D=%CD% +if exist ..\msvc if exist ..\..\..\src cd ..\..\.. + +if exist debug rd /s /q debug +if exist release rd /s /q release +call :del *.vcproj +call :del pgsql.sln +del /s /q src\bin\win32ver.rc 2> NUL +del /s /q src\interfaces\win32ver.rc 2> NUL +call :del src\backend\win32ver.rc + + +REM Delete files created with GenerateFiles() in Solution.pm +call :del src\include\pg_config.h +call :del src\include\pg_config_os.h +call :del src\include\parser\parse.h +call :del src\include\utils\fmgroids.h + +call :del src\backend\utils\fmgrtab.c +call :del src\backend\catalog\postgres.bki +call :del src\backend\catalog\postgres.description +call :del src\backend\catalog\postgres.shdescription +call :del src\backend\parser\gram.c +call :del src\backend\bootstrap\bootparse.c +call :del src\backend\bootstrap\bootstrap_tokens.h + +call :del src\bin\psql\sql_help.h + +call :del src\interfaces\libpq\libpq.rc +call :del src\interfaces\libpq\libpqdll.def +call :del src\interfaces\ecpg\include\ecpg_config.h +call :del src\interfaces\ecpg\preproc\preproc.c +call :del src\interfaces\ecpg\preproc\preproc.h + +call :del src\port\pg_config_paths.h + +call :del src\pl\plperl\spi.c +call :del src\pl\plpgsql\src\pl_gram.c +call :del src\pl\plpgsql\src\pl.tab.h + +call :del contrib\cube\cubeparse.c +call :del contrib\cube\cubeparse.h +call :del contrib\seg\segparse.c +call :del contrib\seg\segparse.h + + +cd %D% +goto :eof + + +:del +if exist %1 del /q %1 +goto :eof
\ No newline at end of file |
