You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<.> Patches the source code with a `CMakeLists.txt` file to the `duktape-2.7.0` directory so that we can build it with CMake.
129
-
<.> Copies the `duktapeConfig.cmake.in` file to the `duktape-2.7.0` directory so that we can install it with CMake and find it later from other CMake projects.
130
-
131
-
Now adjust the `duk_config.h` file to indicate we are statically building Duktape.
<.> Builds the `duktape` library in the `build` directory.
184
-
<.> Installs the `duktape` library with CMake support in the `install` directory.
135
+
<.> Extracts the `JerryScript` source code.
136
+
<.> Adds CMake packaging files maintained in this repository.
185
137
186
-
The scripts above download the `duktape` source code, extract it, and configure it with CMake.
187
-
The CMake scripts provided by MrDocs are copied to the `duktape-2.7.0` directory to facilitate the build process with CMake and provide CMake installation scripts for other projects.
138
+
The build uses JerryScript's upstream default port implementation; no custom
139
+
`port.c` from MrDocs is required.
188
140
189
141
=== Libxml2
190
142
@@ -317,7 +269,7 @@ cd ../..
317
269
318
270
The MrDocs repository also includes a `CMakePresets.json` file that contains the parameters to configure MrDocs with CMake.
319
271
320
-
To specify the installation directories, you can use the `LLVM_ROOT`, `DUKTAPE_ROOT`, and `LIBXML2_ROOT` environment variables.
272
+
To specify the installation directories, you can use the `LLVM_ROOT`, `JERRYSCRIPT_ROOT`, and `LIBXML2_ROOT` environment variables.
321
273
To specify a generator (`-G`) and platform name (`-A`), you can use the `CMAKE_GENERATOR` and `CMAKE_GENERATOR_PLATFORM` environment variables.
322
274
323
275
You can also customize the presets by duplicating and editing the `CMakeUserPresets.json.example` file in the `mrdocs` directory.
Copy file name to clipboardExpand all lines: docs/mrdocs.schema.json
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,15 @@
7
7
"title": "Path to the Addons directory",
8
8
"type": "string"
9
9
},
10
+
"addons-supplemental": {
11
+
"default": [],
12
+
"description": "Optional list of supplemental addons directories that are loaded after the base addons (built-in or replacement). Files in later supplemental directories override files from earlier ones and from the base addons. Use this to add or override a few templates/helpers without copying the entire addons tree.",
13
+
"items": {
14
+
"type": "string"
15
+
},
16
+
"title": "Additional addons layered on top of the base addons",
17
+
"type": "array"
18
+
},
10
19
"auto-brief": {
11
20
"default": true,
12
21
"description": "When set to `true`, Mr.Docs uses the first line (until the first dot, question mark, or exclamation mark) of the comment as the brief of the symbol. When set to `false`, a explicit @brief command is required.",
0 commit comments