3
set PublicHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\JavaScriptCore
4
set PrivateHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\private\JavaScriptCore
5
set ResourcesDirectory=%CONFIGURATIONBUILDDIR%\bin\JavaScriptCore.resources
7
if "%1" EQU "clean" goto :clean
8
if "%1" EQU "rebuild" call :clean
10
echo Copying public headers...
11
mkdir "%PublicHeadersDirectory%" 2>NUL
26
JSWeakObjectMapRefInternal.h
27
JSWeakObjectMapRefPrivate.h
33
xcopy /y /d ..\..\API\%%f "%PublicHeadersDirectory%" >NUL
36
echo Copying private headers...
37
mkdir "%PrivateHeadersDirectory%" 2>NUL
53
xcopy /y /d ..\..\%%d\*.h "%PrivateHeadersDirectory%" >NUL
56
echo Copying resources...
57
mkdir "%ResourcesDirectory%" 2>NUL
58
xcopy /y /d ..\JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL
64
echo Deleting copied files...
65
if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL
66
if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL
67
if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL