|
191 | 191 | // #define FLECS_C /**< C API convenience macros, always enabled */ |
192 | 192 | #define FLECS_CPP /**< C++ API */ |
193 | 193 | #define FLECS_DOC /**< Document entities & components */ |
194 | | -// #define FLECS_JOURNAL /**< Journaling addon (disabled by default) */ |
| 194 | +// #define FLECS_JOURNAL /**< Journaling addon */ |
195 | 195 | #define FLECS_JSON /**< Parsing JSON to/from component values */ |
196 | 196 | #define FLECS_HTTP /**< Tiny HTTP server for connecting to remote UI */ |
197 | 197 | #define FLECS_LOG /**< When enabled ECS provides more detailed logs */ |
198 | 198 | #define FLECS_META /**< Reflection support */ |
199 | 199 | #define FLECS_METRICS /**< Expose component data as statistics */ |
200 | 200 | #define FLECS_MODULE /**< Module support */ |
201 | 201 | #define FLECS_OS_API_IMPL /**< Default implementation for OS API */ |
202 | | -// #define FLECS_PERF_TRACE /**< Enable performance tracing (disabled by default) */ |
| 202 | +// #define FLECS_PERF_TRACE /**< Enable performance tracing */ |
203 | 203 | #define FLECS_PIPELINE /**< Pipeline support */ |
204 | 204 | #define FLECS_REST /**< REST API for querying application data */ |
| 205 | +#define FLECS_PARSER /**< Utilities for script and query DSL parsers */ |
| 206 | +#define FLECS_QUERY_DSL /**< Flecs query DSL parser */ |
205 | 207 | #define FLECS_SCRIPT /**< Flecs entity notation language */ |
206 | 208 | // #define FLECS_SCRIPT_MATH /**< Math functions for flecs script (may require linking with libm) */ |
207 | 209 | #define FLECS_SYSTEM /**< System support */ |
@@ -10473,6 +10475,12 @@ int ecs_value_move_ctor( |
10473 | 10475 | #ifdef FLECS_NO_SCRIPT |
10474 | 10476 | #undef FLECS_SCRIPT |
10475 | 10477 | #endif |
| 10478 | +#ifdef FLECS_NO_PARSER |
| 10479 | +#undef FLECS_PARSER |
| 10480 | +#endif |
| 10481 | +#ifdef FLECS_NO_QUERY_DSL |
| 10482 | +#undef FLECS_QUERY_DSL |
| 10483 | +#endif |
10476 | 10484 | #ifdef FLECS_NO_SCRIPT_MATH |
10477 | 10485 | #undef FLECS_SCRIPT_MATH |
10478 | 10486 | #endif |
@@ -13535,8 +13543,12 @@ void FlecsAlertsImport( |
13535 | 13543 | #define FLECS_META |
13536 | 13544 | #endif |
13537 | 13545 |
|
13538 | | -#ifndef FLECS_SCRIPT |
13539 | | -#define FLECS_SCRIPT |
| 13546 | +#ifndef FLECS_DOC |
| 13547 | +#define FLECS_DOC |
| 13548 | +#endif |
| 13549 | + |
| 13550 | +#ifndef FLECS_QUERY_DSL |
| 13551 | +#define FLECS_QUERY_DSL /* For parsing component id expressions */ |
13540 | 13552 | #endif |
13541 | 13553 |
|
13542 | 13554 | #ifndef FLECS_JSON_H |
@@ -14377,6 +14389,21 @@ void FlecsScriptMathImport( |
14377 | 14389 |
|
14378 | 14390 | #endif |
14379 | 14391 |
|
| 14392 | +#ifdef FLECS_PARSER |
| 14393 | +#ifdef FLECS_NO_PARSER |
| 14394 | +#error "FLECS_NO_PARSER failed: PARSER is required by other addons" |
| 14395 | +#endif |
| 14396 | +#endif |
| 14397 | + |
| 14398 | +#ifdef FLECS_QUERY_DSL |
| 14399 | +#ifdef FLECS_NO_QUERY_DSL |
| 14400 | +#error "FLECS_NO_QUERY_DSL failed: QUERY_DSL is required by other addons" |
| 14401 | +#endif |
| 14402 | +#ifndef FLECS_PARSER |
| 14403 | +#define FLECS_PARSER |
| 14404 | +#endif |
| 14405 | +#endif |
| 14406 | + |
14380 | 14407 | #ifdef FLECS_SCRIPT |
14381 | 14408 | #ifdef FLECS_NO_SCRIPT |
14382 | 14409 | #error "FLECS_NO_SCRIPT failed: SCRIPT is required by other addons" |
@@ -14406,6 +14433,9 @@ void FlecsScriptMathImport( |
14406 | 14433 | #define FLECS_DOC |
14407 | 14434 | #endif |
14408 | 14435 |
|
| 14436 | +#ifndef FLECS_PARSER |
| 14437 | +#define FLECS_PARSER |
| 14438 | +#endif |
14409 | 14439 |
|
14410 | 14440 | #ifndef FLECS_SCRIPT_H |
14411 | 14441 | #define FLECS_SCRIPT_H |
|
0 commit comments