@@ -25,7 +25,7 @@ A target specification may have optional parameters, the names and values of whi
2525
2626- [ ** auth** ] ( #auth ) : A boolean specifying to apply authorization between RTI and federates when federated execution.
2727- [ ** build** ] ( #build ) : A command to execute after code generation instead of the default compile command.
28- - [ ** build-type** ] ( #build-type ) : One of Release (the default), Debug , RelWithDebInfo and MinSizeRel.
28+ - [ ** build-type** ] ( #build-type ) : One of Debug (the default), Release , RelWithDebInfo and MinSizeRel.
2929- [ ** cargo-dependencies** ] ( #cargo-dependencies ) : (Rust only) list of dependencies to include in the generated Cargo.toml file.
3030- [ ** cargo-features** ] ( #cargo-features ) : (Rust only) List of string names of features to include.
3131- [ ** cmake** ] ( #cmake ) : Whether to use cmake for building.
5656` target C {
5757 auth: <true or false>
5858 build: <string>,
59- build-type: <Release, Debug , RelWithDebInfo, or MinSizeRel>,
59+ build-type: <Debug, Release , RelWithDebInfo, or MinSizeRel>,
6060 cmake: <true or false>,
6161 cmake-include: <string or list of strings>,
6262 compiler: <string>,
7474}
7575cpp = {
7676` target Cpp {
77- build-type: <Release, Debug , RelWithDebInfo, or MinSizeRel>,
77+ build-type: <Debug, Release , RelWithDebInfo, or MinSizeRel>,
7878 cmake-include: <string or list of strings>,
7979 external-runtime-path: <string>,
8080 export-dependency-graph <true or false>,
@@ -221,25 +221,15 @@ This target does not currently support the `build` target option.
221221<ShowIf ts py >
222222This target does not currently support the ` build-type ` target option.
223223</ShowIf >
224- <ShowIf rs >
225- This parameter works with ` cargo ` to specify how to compile the code. The following options are supported:
226-
227- - ` Release ` : Optimization is turned on and debug information is missing.
228- - ` Debug ` : Debug information is included in the executable.
229- - ` RelWithDebInfo ` : Optimization with debug information.
230- - ` MinSizeRel ` : Optimize for smallest size.
231-
232- This defaults to ` Release ` .
233- </ShowIf >
234- <ShowIf c cpp >
235- This parameter works with ` cmake ` to specify how to compile the code. The following options are supported:
224+ <ShowIf rs c cpp >
225+ This parameter specifies how to compile the code. The following options are supported:
236226
237- - ` Release ` : Optimization is turned on and debug information is missing .
238- - ` Debug ` : Debug information is included in the executable .
227+ - ` Debug ` : Optimization is disabled and debug information is included in the executable .
228+ - ` Release ` : Optimization is enabled and debug information is missing .
239229- ` RelWithDebInfo ` : Optimization with debug information.
240230- ` MinSizeRel ` : Optimize for smallest size.
241231
242- This defaults to ` Release ` .
232+ This defaults to ` Debug ` .
243233</ShowIf >
244234</ShowIfs >
245235
0 commit comments