KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
opts.h File Reference

Compile-time options regarding debugging and other topics. More...

#include <sys/cdefs.h>

Go to the source code of this file.

Detailed Description

Compile-time options regarding debugging and other topics.

This file is meant to be a kind of Grand Central Station for all of the various compile-time options that can be set when building KOS. Each of the various compile-time macros that control things like additional debugging checks and such should be documented in this particular file. In addition, groups of related macros are provided here to make it easier to set these options at compile time.

Basically, this is here to make it easier to customize your copy of KOS. In the past, you would have had to search through all the various files to find potential options, which was both annoying and error-prone. In addition, often various debugging flags would end up being set in the main repository as people debugged individual pieces of code, leaving them set for everyone else, even if they aren't necessarily useful/helpful all the time (KM_DBG, I'm looking at you).

Author
Lawrence Sebald