Skip to content

Commit 653da91

Browse files
committed
Updated readme
1 parent cc875aa commit 653da91

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ Sets the way that the compiler's runtime will handle exceptions. Can either be `
111111

112112
This only makes a difference on Windows, where setting this to `all` will allow the runtime to catch certain access violation and other exceptions. When it's `minimal` or `min`, the minimal amount of exception handling will be done, which is similar to `all`, but there is no stack unwinding.
113113

114+
#### `--optimize`
115+
Sets whether to use optimization. Can either be `default`, `none`, `size`, or `speed`. The default is `default`.
116+
117+
When this option is set to `default`, whether the binary will be optimized is defined by whether it's a debug build or not. For example, when building with `qb --debug`, you will get an unoptimized binary, but by building without any options (by just running `qb`) it will produce an optimized build.
118+
114119
### Configuration file
115120
It's possible to create a `qb.toml` file (in the folder you're running `qb`) to specify your configuration options as well. This is handy if you build a lot but don't want to pass the command line options every time.
116121

0 commit comments

Comments
 (0)