mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-18 09:04:23 -04:00
exo/program: release, debug, audit configs
This commit is contained in:
parent
c572024a5e
commit
b4c908ba9f
8 changed files with 104 additions and 59 deletions
|
@ -17,19 +17,23 @@
|
|||
#include <vapours/includes.hpp>
|
||||
#include <vapours/defines.hpp>
|
||||
|
||||
#if defined(AMS_FORCE_DISABLE_DETAILED_ASSERTIONS) && defined(AMS_FORCE_ENABLE_DETAILED_ASSERTIONS)
|
||||
#error "Invalid detailed assertions state"
|
||||
#endif
|
||||
|
||||
#ifdef AMS_BUILD_FOR_AUDITING
|
||||
|
||||
#define AMS_BUILD_FOR_DEBUGGING
|
||||
#define AMS_BUILD_FOR_DEBUGGING
|
||||
|
||||
#if !defined(AMS_FORCE_DISABLE_DETAILED_ASSERTIONS)
|
||||
#define AMS_ENABLE_DETAILED_ASSERTIONS
|
||||
#endif
|
||||
#if !defined(AMS_FORCE_DISABLE_DETAILED_ASSERTIONS)
|
||||
#define AMS_ENABLE_DETAILED_ASSERTIONS
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef AMS_BUILD_FOR_DEBUGGING
|
||||
|
||||
#define AMS_ENABLE_ASSERTIONS
|
||||
#define AMS_ENABLE_ASSERTIONS
|
||||
|
||||
#if !defined(AMS_ENABLE_DETAILED_ASSERTIONS) && !defined(AMS_FORCE_DISABLE_DETAILED_ASSERTIONS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue