@@ -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-include** ] ( #cmake ) : List of paths to cmake files to guide compilation.
5555` target C {
5656 auth: <true or false>
5757 build: <string>,
58- build-type: <Release, Debug , RelWithDebInfo, or MinSizeRel>,
58+ build-type: <Debug, Release , RelWithDebInfo, or MinSizeRel>,
5959 cmake-include: <string or list of strings>,
6060 compiler: <string>,
6161 compiler-flags: <string or list of strings>,
7272}
7373cpp = {
7474` target Cpp {
75- build-type: <Release, Debug, RelWithDebInfo, or MinSizeRel>,
76- compiler: <string>,
75+ build-type: <Debug, Release, RelWithDebInfo, or MinSizeRel>,
7776 cmake-include: <string or list of strings>,
77+ compiler: <string>,
7878 external-runtime-path: <string>,
7979 export-dependency-graph <true or false>,
8080 fast: <true or false>,
@@ -220,25 +220,15 @@ This target does not currently support the `build` target option.
220220<ShowIf ts py >
221221This target does not currently support the ` build-type ` target option.
222222</ShowIf >
223- <ShowIf rs >
224- This parameter works with ` cargo ` to specify how to compile the code. The following options are supported:
225-
226- - ` Release ` : Optimization is turned on and debug information is missing.
227- - ` Debug ` : Debug information is included in the executable.
228- - ` RelWithDebInfo ` : Optimization with debug information.
229- - ` MinSizeRel ` : Optimize for smallest size.
230-
231- This defaults to ` Release ` .
232- </ShowIf >
233- <ShowIf c cpp >
234- This parameter works with ` cmake ` to specify how to compile the code. The following options are supported:
223+ <ShowIf rs c cpp >
224+ This parameter specifies how to compile the code. The following options are supported:
235225
236- - ` Release ` : Optimization is turned on and debug information is missing .
237- - ` Debug ` : Debug information is included in the executable .
226+ - ` Debug ` : Optimization is disabled and debug information is included in the executable .
227+ - ` Release ` : Optimization is enabled and debug information is missing .
238228- ` RelWithDebInfo ` : Optimization with debug information.
239229- ` MinSizeRel ` : Optimize for smallest size.
240230
241- This defaults to ` Release ` .
231+ This defaults to ` Debug ` .
242232</ShowIf >
243233</ShowIfs >
244234
0 commit comments