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

Fixed build.cmd command line argument handling #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ArttuLeppaaho
Copy link

Fixes: build.cmd command line argument handling

About

Currently, if you specify an explicit build mode to build.cmd using a command line argument such as --Release, the value of the variable buildMode gets extra quotation marks around it which breaks the script, i.e. the value becomes "Release" when it should be Release. The same happens to the variable noFullPolyCar with the command line argument --no-full-poly-car, but this doesn't actually break anything as the exact value of the variable is never inspected. These changes fix the problem.

How Has This Been Tested?

The changes have been tested by running build.cmd --Release, build.cmd --Debug, build.cmd --RelWithDebInfo and build.cmd --no-full-poly-car in x64 Native Tools Command Prompt for VS 2022 on Windows 10.

Screenshots (if appropriate):

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.

1 participant