pavel-kirienko / o1heap

Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. There is very little activity because the project is finished and does not require further changes.
MIT License
256 stars 30 forks source link

Use a dedicated config header instead of preprocessor macros #5

Closed pavel-kirienko closed 3 years ago

pavel-kirienko commented 3 years ago

CMake does not support function-like macros, so it is not possible to override O1HEAP_ASSERT. Consider adding a config header instead of passing config options via the command line.