-
Notifications
You must be signed in to change notification settings - Fork 49
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
Updated third-party and libs deps + improved package_win_release.bat and build_win_premake.bat + added generate_credits.bat from SOURCE.txt files. #12
Conversation
I #10 and then this . Thanks all of you! |
if %BUILD_DEPS% equ 1 ( | ||
set "CMAKE_GENERATOR=Visual Studio 17 2022" | ||
call "%PREMAKE_EXE%" --file="premake5-deps.lua" --64-build --32-build --all-ext --all-build --j=2 --verbose --clean --os=windows vs2022 | ||
if %errorlevel% neq 0 ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since this line is inside a block/brackets, errorlevel will be expanded before even the previous line is executed (expansion before execution, or entire block expansion).
you can use !errorlevel!
instead to defer the evaluation until this line is about to be executed.
another option is the short-circuit operator:
call myapp.exe || goto :bad_code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Fix #12 (third-party/build/win)
Fix #12 (third-party/common/linux)
Fix #12 (third-party/common/win)
Fix #12 (third-party/deps/common)
Fix #12 (third-party/deps/linux)
Fix #12 (third-party/deps/win)
No description provided.