Lines Matching +full:cmake +full:- +full:options
3 JerryScript provides a large number of configuration options which can be used to enable or disable…
4 …hanged either by providing specific C preprocessor definitions, by adding CMake defininitions, or …
5 …uration options, shows the configuration name for C, CMake, and python, and provides a brief descr…
8 ### All-in-one build
10 Enables the All-in-one build process, which aggregates the contents of each source file, and uses t…
13 | Options | |
14 |---------|----------------------------------------------|
16 | CMake: | `-DENABLE_ALL_IN_ONE=ON/OFF` |
17 | Python: | `--all-in-one=ON/OFF` |
24 | Options | |
25 |---------|----------------------------------------------|
26 | C: | `-DJERRY_DEBUGGER=0/1` |
27 | CMake: | `-DJERRY_DEBUGGER=ON/OFF` |
28 | Python: | `--jerry-debugger=ON/OFF` |
35 | Options | |
36 |---------|----------------------------------------------|
37 | C: | `-DJERRY_LINE_INFO=0/1` |
38 | CMake: | `-DJERRY_LINE_INFO=ON/OFF` |
39 | Python: | `--line-info=ON/OFF` |
44 …ue for CMake and Python arguments should be a file path to the profile file, or one of `es2015-sub…
45 … configuration options are available in C, see the profile [README](https://github.com/jerryscript…
47 | Options | |
48 |---------|----------------------------------------------|
50 | CMake: | `-DJERRY_PROFILE="path"` |
51 | Python: | `--profile="path"` |
58 | Options | |
59 |---------|----------------------------------------------|
60 | C: | `-DJERRY_EXTERNAL_CONTEXT=0/1` |
61 | CMake: | `-DJERRY_EXTERNAL_CONTEXT=ON/OFF` |
62 | Python: | `--external-context=ON/OFF` |
69 | Options | |
70 |---------|----------------------------------------------|
71 | C: | `-DJERRY_SNAPSHOT_EXEC=0/1` |
72 | CMake: | `-DJERRY_SNAPSHOT_EXEC=ON/OFF` |
73 | Python: | `--snapshot-exec=ON/OFF` |
80 | Options | |
81 |---------|----------------------------------------------|
82 | C: | `-DJERRY_SNAPSHOT_SAVE=0/1` |
83 | CMake: | `-DJERRY_SNAPSHOT_SAVE=ON/OFF` |
84 | Python: | `--snapshot-save=ON/OFF` |
91 | Options | |
92 |---------|----------------------------------------------|
93 | C: | `-DJERRY_PARSER=0/1` |
94 | CMake: | `-DJERRY_PARSER=ON/OFF` |
95 | Python: | `--js-parser=ON/OFF` |
99 …ed bytecode in a human readable format. See [Internals](04.INTERNALS.md#byte-code) for more detail…
102 | Options | |
103 |---------|----------------------------------------------|
104 | C: | `-DJERRY_PARSER_DUMP_BYTE_CODE=0/1` |
105 | CMake: | `-DJERRY_PARSER_DUMP_BYTE_CODE=ON/OFF` |
106 | Python: | `--show-opcodes=ON/OFF` |
113 | Options | |
114 |---------|----------------------------------------------|
115 | C: | `-DJERRY_REGEXP_DUMP_BYTE_CODE=0/1` |
116 | CMake: | `-DJERRY_REGEXP_DUMP_BYTE_CODE=ON/OFF` |
117 | Python: | `--show-regexp-opcodes=ON/OFF` |
122 When enabled, this flag disables all of the non-standard, quality-of-life RegExp features, that are…
125 | Options | |
126 |---------|----------------------------------------------|
127 | C: | `-DJERRY_REGEXP_STRICT_MODE=0/1` |
128 | CMake: | `-DJERRY_REGEXP_STRICT_MODE=ON/OFF` |
129 | Python: | `--regexp-strict-mode=ON/OFF` |
134 … errors, variable names for Reference errors, Type/Range error messages for built-in routines, etc.
136 | Options | |
137 |---------|----------------------------------------------|
138 | C: | `-DJERRY_ERROR_MESSAGES=0/1` |
139 | CMake: | `--DJERRY_ERROR_MESSAGES=ON/OFF` |
140 | Python: | `--error-messages=ON/OFF` |
147 | Options | |
148 |---------|----------------------------------------------|
149 | C: | `-DJERRY_LOGGING=0/1` |
150 | CMake: | `-DJERRY_LOGGING=ON/OFF` |
151 | Python: | `--logging=ON/OFF` |
155 …r access to object properties. The LCache usases a statically allocated hash-map, which increases …
159 | Options | |
160 |---------|----------------------------------------------|
161 | C: | `-DJERRY_LCACHE=0/1` |
162 | CMake: | `<none>` |
168 See [Internals](04.INTERNALS.md#property-hashmap) for further details.
171 | Options | |
172 |---------|----------------------------------------------|
173 | C: | `-DJERRY_PROPRETY_HASHMAP=0/1` |
174 | CMake: | `<none>` |
182 | Options | |
183 |---------|----------------------------------------------|
184 | C: | `-DJERRY_MEM_STATS=0/1` |
185 | CMake: | `-DJERRY_MEM_STATS=ON/OFF` |
186 | Python: | `--mem-stats=ON/OFF` |
190 …. The provided value should be an integer. Values larger than 512 require 32-bit compressed pointe…
193 | Options | |
194 |---------|----------------------------------------------|
195 | C: | `-DJERRY_GLOBAL_HEAP_SIZE=(int)` |
196 | CMake: | `--DJERRY_GLOBAL_HEAP_SIZE=(int)` |
197 | Python: | `--mem-heap=(int)` |
208 | Options | |
209 |---------|----------------------------------------------|
210 | C: | `-DJERRY_GC_LIMIT=(int)` |
211 | CMake: | `-DJERRY_GC_LIMIT=(int)` |
212 | Python: | `--gc-limit=(int)` |
219 | Options | |
220 |---------|---------------------------------------------------|
221 | C: | `-DJERRY_GC_MARK_LIMIT=(int)` |
222 | CMake: | `-DJERRY_GC_MARK_LIMIT=(int)` |
223 | Python: | `--gc-mark-limit=(int)` |
230 | Options | |
231 |---------|----------------------------------------------|
232 | C: | `-DJERRY_STACK_LIMIT=(int)` |
233 | CMake: | `-DJERRY_STACK_LIMIT=(int)` |
234 | Python: | `--stack-limit=(int)` |
236 ### 32-bit compressed pointers
238 Enables 32-bit pointers instead of the default 16-bit compressed pointers. This allows the engine t…
241 | Options | |
242 |---------|----------------------------------------------|
243 | C: | `-DJERRY_CPOINTER_32_BIT=0/1` |
244 | CMake: | `-DJERRY_CPOINTER_32_BIT=ON/OFF` |
245 | Python: | `--cpointer-32bit=ON/OFF` |
249 …nal JerryScript allocator. This feature requires 32-bit compressed pointers, and is unsupported on…
252 | Options | |
253 |---------|----------------------------------------------|
254 | C: | `-DJERRY_SYSTEM_ALLOCATOR=0/1` |
255 | CMake: | `-DJERRY_SYSTEM_ALLOCATOR=ON/OFF` |
256 | Python: | `--system-allocator=ON/OFF` |
260 …ble to properly identify allocated memory regions, and report leaks or out-of-bounds memory access…
263 | Options | |
264 |---------|----------------------------------------------|
265 | C: | `-DJERRY_VALGRIND=0/1` |
266 | CMake: | `-DJERRY_VALGRIND=ON/OFF` |
267 | Python: | `--valgrind=ON/OFF` |
274 | Options | |
275 |---------|----------------------------------------------|
276 | C: | `-DJERRY_MEM_GC_BEFORE_EACH_ALLOC=0/1` |
277 | CMake: | `-DJERRY_MEM_GC_BEFORE_EACH_ALLOC=ON/OFF` |
278 | Python: | `--mem-stress-test=ON/OFF` |
289 $ python tools/srcgenerator.py --output-dir gen_src --jerry-core --jerry-port-default --jerry-libm
296 * `jerryscript-config.h`
297 * `jerryscript-port-default.c`
298 * `jerryscript-port-default.h`
299 * `jerryscript-libm.c`
302 **Important**: the `jerryscript-config.h` contains the configurations mentioned above and
303 should be adapted to the required use-case. See the file contents for more details and for the
304 default configuration. (Note: This config file is created from the the `jerry-core/config.h` file.)
310 $ gcc -Wall -o demo_app demo_app.c gen_src/jerryscript.c gen_src/jerryscript-port-default.c jerrysc…
315 In addition there is a `-DENABLE_ALL_IN_ONE_SOURCE=ON` CMake option to use this kind of sources dur…
321 When building for Intel 32 bit architecture it is possible that GCC uses conservative options, thus…
322 basic floating-point support (that is it does not generate SSE or others instructions).
324 in regards of floating-point values and arithmetic.
327 To do this with GCC please provide the `-mfpmath=sse -msse2` options during build.
329 These options can also be specified via the `build.py` script:
332 $ ./tools/build.py --compile-flag=-mfpmath=sse --compile-flag=-msse2 --compile-flag=-m32