Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved target property descriptions for Python #291

Merged
merged 1 commit into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions docs/reference/target-declaration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@ This target does not currently support the `build` target option.
## build-type

<ShowIfs>
<ShowIf ts py>
<ShowIf ts>
This target does not currently support the `build-type` target option.
</ShowIf>
<ShowIf rs c cpp>
<ShowIf rs c cpp py>
This parameter specifies how to compile the code. The following options are supported:

- `Debug`: Optimization is disabled and debug information is included in the executable.
Expand Down Expand Up @@ -401,17 +401,21 @@ This target does not support the `files` option.
<ShowIf c py>
The `files` target parameter specifies array of files or directories to be copied to the directory that contains the generated sources.

<ShowOnly c>
```lf-c
target C {
files: ["file1", "file2", ...]
}
```
</ShowOnly>

<ShowOnly py>
```lf-py
target Python {
files: ["file1", "file2", ...]
}
```
</ShowOnly>

The lookup procedure for these files and directories is as follows:

Expand Down
Loading