Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A package is created regardless of whether the build succeeds or fails #270

Open
gbbnfhb opened this issue Feb 6, 2025 · 0 comments
Open

Comments

@gbbnfhb
Copy link

gbbnfhb commented Feb 6, 2025

-----build.bat-----

@mkdir %intdir%
cd > nul <---add

Rem Compile object files for all the source files
for %%f in (*.c) do (
clang --target=x86_64-pc-freebsd12-elf -fPIC -funwind-tables -I"%OO_PS4_TOOLCHAIN%\include" -I%commonDir% %extra_flags% -c -o %intdir%%%~nf.o %%~nf.c
if !ERRORLEVEL! neq 0 ( <---add
exit 1 <---add
) <---add
)

for %%f in (*.cpp) do (
clang++ --target=x86_64-pc-freebsd12-elf -fPIC -funwind-tables -I"%OO_PS4_TOOLCHAIN%\include" -I%commonDir% -I"%OO_PS4_TOOLCHAIN%\include\c++\v1" %extra_flags% -c -o %intdir%%%~nf.o %%~nf.cpp
if !ERRORLEVEL! neq 0 ( <---add
exit 1 <---add
) <---add
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant