From eaf35ed94aed882564463ce5caad5ec0ba750bf6 Mon Sep 17 00:00:00 2001 From: vinzbarbuto Date: Tue, 29 Oct 2024 11:11:48 -0700 Subject: [PATCH] Fix mixed C/Python code in ; add support on web for Python target --- docs/reference/target-declaration.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/reference/target-declaration.mdx b/docs/reference/target-declaration.mdx index dcdf723e1..2e97295b8 100644 --- a/docs/reference/target-declaration.mdx +++ b/docs/reference/target-declaration.mdx @@ -216,10 +216,10 @@ This target does not currently support the `build` target option. ## build-type - + This target does not currently support the `build-type` target option. - + 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. @@ -401,17 +401,21 @@ This target does not support the `files` option. The `files` target parameter specifies array of files or directories to be copied to the directory that contains the generated sources. + ```lf-c target C { files: ["file1", "file2", ...] } ``` + + ```lf-py target Python { files: ["file1", "file2", ...] } ``` + The lookup procedure for these files and directories is as follows: