Skip to content

Commit b3fa5e0

Browse files
authored
Add missing configuration information to CONFIGURATION.md (#5183)
There was some missing configuration options in the CONFIGURATION documentation. This patch adds these missing configurations. JerryScript-DCO-1.0-Signed-off-by: Gergo Csizi gergocs@inf.u-szeged.hu
1 parent 0b1d75a commit b3fa5e0

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

docs/01.CONFIGURATION.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,58 @@ This option is disabled by default.
291291
| CMake: | `-DJERRY_MEM_GC_BEFORE_EACH_ALLOC=ON/OFF` |
292292
| Python: | `--mem-stress-test=ON/OFF` |
293293

294+
### MSVC CRT
295+
296+
This option enables the use of the MSVC CRT library and is disabled by default.
297+
298+
| Options | |
299+
|---------|----------------------------------------------|
300+
| C: | `<none>` |
301+
| CMake: | `-DENABLE_STATIC_CRT=ON/OFF` |
302+
| Python: | `--static-crt=ON/OFF` |
303+
304+
### Architecture
305+
306+
Specify the platform name if it is supported by the generator.
307+
308+
| Options | |
309+
|---------|----------------------------------------------|
310+
| C: | `<none>` |
311+
| CMake: | `-A (string)` |
312+
| Python: | `--arch=(string)` |
313+
314+
### Tostring function
315+
316+
Enable function toString.
317+
318+
| Options | |
319+
|---------|----------------------------------------------|
320+
| C: | `-DJERRY_FUNCTION_TO_STRING=0/1` |
321+
| CMake: | `-DJERRY_FUNCTION_TO_STRING=ON/OFF` |
322+
| Python: | `--function-to-string=ON/OFF` |
323+
324+
325+
### VM throw
326+
327+
Enable VM throw.
328+
329+
| Options | |
330+
|---------|----------------------------------------------|
331+
| C: | `-DJERRY_VM_THROW=0/1` |
332+
| CMake: | `-DJERRY_VM_THROW=ON/OFF` |
333+
| Python: | `--vm-throw=ON/OFF` |
334+
335+
336+
### Promise callback
337+
338+
Enable Promise callback.
339+
340+
| Options | |
341+
|---------|----------------------------------------------|
342+
| C: | `-DJERRY_PROMISE_CALLBACK=0/1` |
343+
| CMake: | `-DJERRY_PROMISE_CALLBACK=ON/OFF` |
344+
| Python: | `--promise-callback=ON/OFF` |
345+
294346

295347
# Amalgamated sources
296348

0 commit comments

Comments
 (0)