diff options
Diffstat (limited to 'asl/base/config.hpp')
-rw-r--r-- | asl/base/config.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/asl/base/config.hpp b/asl/base/config.hpp index f5756c3..e4e6e5d 100644 --- a/asl/base/config.hpp +++ b/asl/base/config.hpp @@ -22,5 +22,15 @@ #error Unknown compiler #endif +// ASL_DEBUG=1 for slow builds, with extra validation logic and such. +#if !defined(ASL_DEBUG) + #error ASL_DEBUG should be defined to 0 or 1 +#endif + +// ASL_OPTIMIZED=1 for fast builds, with minimal validation logic. +#if !defined(ASL_OPTIMIZED) + #error ASL_OPTIMIZED should be defined to 0 or 1 +#endif + // NOLINTEND(*-macro-to-enum) |