Configuration Options
You can customize Plywood by defining the following preprocessor macros in your project's build settings.
PLY_CONFIG_FILE | The path to a file that will be automatically included by <ply-base.h>. Additional configuration options can be put here. |
PLY_WITH_ASSERTS | Enables assertions. Default is 1 in debug builds, 0 otherwise. |
PLY_WITH_DIRECTORY_WATCHER | Enables the DirectoryWatcher. Default is 0. |
PLY_OVERRIDE_NEW | Overrides the C++ new and delete operators to allocate from the Plywood heap. Default is 1. |
PLY_USE_NEW_ALLOCATOR | Selects the heap backend. 1 uses Plywood's bespoke allocator, 0 uses legacy dlmalloc. Default is 1. |