diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-05-26 22:38:04 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-05-26 22:38:04 +0200 |
commit | b8a87223bb70fccc47ba0f9c96b3f58de6e1e5bd (patch) | |
tree | 212ad4e788509f9e3c6b2bc41120c8687298dcb4 /asl/base/config.hpp | |
parent | a1db1cd9e22e77041d5f1360f1d1ccdc52b86306 (diff) |
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) |