Rev 37 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 37 | Rev 44 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | del /f /s /q .build > nul 2>&1 |
24 | del /f /s /q .build > nul 2>&1 |
25 | mkdir .build > nul 2>&1 |
25 | mkdir .build > nul 2>&1 |
26 | 26 | ||
27 | if not "%BINARIES:ifstool=%"=="%BINARIES%" ( |
27 | if not "%BINARIES:ifstool=%"=="%BINARIES%" ( |
28 | echo Building ifstool for %1... |
28 | echo Building ifstool for %1... |
29 | set SRCLIST= |
29 | set SRCLIST= |
30 | for /f usebackq^ tokens^=2^ delims^=^" %%f in (`findstr /c:"ClCompile Include" ifstool.vcxproj`) do set SRCLIST=!SRCLIST! %%f |
30 | for /f usebackq^ tokens^=2^ delims^=^" %%f in (`findstr /c:"ClCompile Include" ifstool.vcxproj`) do set SRCLIST=!SRCLIST! %%f |
31 | set SRCLIST=!SRCLIST:\=/! |
31 | set SRCLIST=!SRCLIST:\=/! |
32 | "%CC%" %CPPFLAGS% !SRCLIST! %LDFLAGS% -o %1-ifstool || goto :eof |
32 | "%CC%" %CPPFLAGS% !SRCLIST! %LDFLAGS% -o %1-ifstool || goto :eof |
33 | 33 | ||
34 | if "%1"=="aarch64-unknown-nto-qnx8.0.0" ( |
34 | if "%1"=="aarch64-unknown-nto-qnx8.0.0" ( |
35 | echo Deploying ifstool to QNX8 native aarch64le toolchain... |
35 | echo Deploying ifstool to QNX8 native aarch64le toolchain... |
36 | copy /b %1-ifstool ..\qnx800\target\qnx\aarch64le\usr\bin\ifstool || goto :eof |
36 | copy /b %1-ifstool ..\qnx800\target\qnx\aarch64le\usr\bin\ifstool || goto :eof |