File: ClearPackage.cmd

package info (click to toggle)
ctpp2 2.8.3-20.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,548 kB
  • sloc: cpp: 21,074; ansic: 413; makefile: 76; php: 24; perl: 20; sh: 4
file content (21 lines) | stat: -rw-r--r-- 685 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off

if exist Makefile nmake clean



for /F  %%a in ('dir /AD /B *.dir') do if exist %%a rmdir /S /Q %%a
for %%a in (CMakeFiles Testing doc\html) do if exist %%a rmdir /S /Q %%a


for %%a in (CMakeCache.txt DartTestfile.txt Makefile cmake_install.cmake progress.make *.ftss data\*.ftss include\CTPP2SysHeaders.h *.ct2 ctpp2-config.cmd CTestTestfile.cmake) do (
	if exist %%a del /F /Q %%a
)

for %%a in (*.cmake) do if not "%%a" == "CTPP2SysHeaders.h.cmake" del %%a

for %%a in (*.rule *.dsp *.dsw *.vcproj *.sln *.vcproj.*.user *.ncb *.ilk *.exp *.suo *.manifest *.manifest.res *.resource.txt) do (
	if exist %%a del /F /Q %%a
)

del /F /Q /AH *.suo 2>nul