Skip to content

Commit 40ed6c4

Browse files
committed
also update the top level descriptions
1 parent 4bf909b commit 40ed6c4

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

docs/reference/target-declaration.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,14 @@ A target specification may have optional parameters, the names and values of whi
2828
- [**build-type**](#build-type): One of Release (the default), Debug, 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.
31-
- [**cmake**](#cmake): Whether to use cmake for building.
3231
- [**cmake-include**](#cmake): List of paths to cmake files to guide compilation.
3332
- [**compiler**](#compiler): A string giving the name of the target language compiler to use.
33+
- [**compiler-flags**](#compiler-flags): An arrays of strings giving options to be passed to the target compiler.
3434
- [**docker**](#docker): A boolean to generate a Dockerfile.
3535
- [**external-runtime-path**](#external-runtime-path): Specify a pre-compiled external runtime library located to link to instead of the default.
3636
- [**export-dependency-graph**](#export-dependency-graph): To export the reaction dependency graph as a dot graph (for debugging).
3737
- [**fast**](#fast): A boolean specifying to execute as fast as possible without waiting for physical time to match logical time.
3838
- [**files**](#files): An array of paths to files or directories to be copied to the directory that contains the generated sources.
39-
- [**flags**](#flags): An arrays of strings giving options to be passed to the target compiler.
4039
- [**logging**](#logging): An indicator of how much information to print when executing the program.
4140
- [**no-compile**](#no-compile): If true, then do not invoke a target language compiler. Just generate code.
4241
- [**no-runtime-validation**](#no-runtime-validation): If true, disable runtime validation.
@@ -57,13 +56,12 @@ c={
5756
auth: <true or false>
5857
build: <string>,
5958
build-type: <Release, Debug, RelWithDebInfo, or MinSizeRel>,
60-
cmake: <true or false>,
6159
cmake-include: <string or list of strings>,
6260
compiler: <string>,
61+
compiler-flags: <string or list of strings>,
6362
docker: <true or false>,
6463
fast: <true or false>,
6564
files: <string or list of strings>,
66-
flags: <string or list of strings>,
6765
logging: <error, warning, info, log, debug>,
6866
no-compile: <true or false>,
6967
protobufs: <string or list of strings>,
@@ -75,6 +73,7 @@ c={
7573
cpp={
7674
`target Cpp {
7775
build-type: <Release, Debug, RelWithDebInfo, or MinSizeRel>,
76+
compiler: <string>,
7877
cmake-include: <string or list of strings>,
7978
external-runtime-path: <string>,
8079
export-dependency-graph <true or false>,

versioned_docs/version-0.6.0/reference/target-declaration.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,14 @@ A target specification may have optional parameters, the names and values of whi
2828
- [**build-type**](#build-type): One of Release (the default), Debug, 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.
31-
- [**cmake**](#cmake): Whether to use cmake for building.
3231
- [**cmake-include**](#cmake): List of paths to cmake files to guide compilation.
3332
- [**compiler**](#compiler): A string giving the name of the target language compiler to use.
33+
- [**compiler-flags**](#compiler-flags): An arrays of strings giving options to be passed to the target compiler.
3434
- [**docker**](#docker): A boolean to generate a Dockerfile.
3535
- [**external-runtime-path**](#external-runtime-path): Specify a pre-compiled external runtime library located to link to instead of the default.
3636
- [**export-dependency-graph**](#export-dependency-graph): To export the reaction dependency graph as a dot graph (for debugging).
3737
- [**fast**](#fast): A boolean specifying to execute as fast as possible without waiting for physical time to match logical time.
3838
- [**files**](#files): An array of paths to files or directories to be copied to the directory that contains the generated sources.
39-
- [**flags**](#flags): An arrays of strings giving options to be passed to the target compiler.
4039
- [**logging**](#logging): An indicator of how much information to print when executing the program.
4140
- [**no-compile**](#no-compile): If true, then do not invoke a target language compiler. Just generate code.
4241
- [**no-runtime-validation**](#no-runtime-validation): If true, disable runtime validation.
@@ -57,13 +56,12 @@ c={
5756
auth: <true or false>
5857
build: <string>,
5958
build-type: <Release, Debug, RelWithDebInfo, or MinSizeRel>,
60-
cmake: <true or false>,
6159
cmake-include: <string or list of strings>,
6260
compiler: <string>,
61+
compiler-flags: <string or list of strings>,
6362
docker: <true or false>,
6463
fast: <true or false>,
6564
files: <string or list of strings>,
66-
flags: <string or list of strings>,
6765
logging: <error, warning, info, log, debug>,
6866
no-compile: <true or false>,
6967
protobufs: <string or list of strings>,
@@ -75,6 +73,7 @@ c={
7573
cpp={
7674
`target Cpp {
7775
build-type: <Release, Debug, RelWithDebInfo, or MinSizeRel>,
76+
compiler: <string>,
7877
cmake-include: <string or list of strings>,
7978
external-runtime-path: <string>,
8079
export-dependency-graph <true or false>,

0 commit comments

Comments
 (0)