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

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

Merged
merged 14 commits into from
Aug 18, 2024

Conversation

Sak32009
Copy link

No description provided.

@Detanup01
Copy link
Owner

I #10 and then this . Thanks all of you!

@Detanup01 Detanup01 merged commit c1a3856 into Detanup01:dev Aug 18, 2024
62 checks passed
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 (

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Detanup01 added a commit that referenced this pull request Aug 19, 2024
Detanup01 added a commit that referenced this pull request Aug 19, 2024
Detanup01 added a commit that referenced this pull request Aug 19, 2024
Detanup01 added a commit that referenced this pull request Aug 19, 2024
Detanup01 added a commit that referenced this pull request Aug 19, 2024
Detanup01 added a commit that referenced this pull request Aug 19, 2024
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

Successfully merging this pull request may close these issues.

3 participants