Skip to content

Conversation

kawaiicvnt
Copy link

Hi! Thank you for your awesome work on this!
As I was working on my thesis, I noticed that some values on the debugger were getting optimized out. After digging into this, I noticed that the only build type was RelWithDebInfo.
Since I was already adding the functionality for my use-case, I thought I'd push it upstream :3

Details:

Added the 'cmake-build-type' argument which passes the value to cmake with the '-DCMAKE_BUILD_TYPE=`value`' argument

Usage: ./build.py [--cmake-build-type ...]

It only accepts valid values (Debug, Release, MinSizeRel, RelWithDebInfo) and exits with an error for wrong values.

Default value is 'RelWithDebInfo', to match current behavior.

… with the '-DCMAKE_BUILD_TYPE=`value`' argument
@kawaiicvnt kawaiicvnt changed the title 'cmake-build-type' argument for cmake build.py 'cmake-build-type' argument for cmake Jun 21, 2025
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