-
Notifications
You must be signed in to change notification settings - Fork 202
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
Add CLI arguments to build.sh, specify build type #244
Conversation
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.
LGTM
5b39449
to
c602e8b
Compare
c602e8b
to
d734242
Compare
@HalosGhost @rockett-m Made some updates to address review comments, would love another look over if possible! |
Adds CLI arguments to build.sh, and prints to stdout the type of build being performed. Default build is still Debug. Additonally supports a BUILD_DEBUG environment variable, and respects previously set values of CMAKE_BUILD_TYPE. Add in help function Signed-off-by: Michael Maurer <[email protected]>
d734242
to
1c80ead
Compare
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.
tACK. Does what it says on the tin; allow specifying build-type as a basic command-line argument.
Purely positional, but still much more pleasant than having to use environment variables; and interacts cleanly with env-vars so no tooling should break (cleanly allowing cli args to override env-vars as-typical).
LGTM. Merging!
Adds CLI arguments to build.sh, and prints to stdout the type of build being performed. Default build is still Debug. Additonally supports a BUILD_DEBUG environment variable, and respects previously set values of CMAKE_BUILD_TYPE.
Low urgency - I found this useful and hopefully others will.