Add: Additional documentation for Unity configuration options.

This commit is contained in:
Bryan A. Jones
2012-12-03 11:36:45 -06:00
parent c6c4c43ee3
commit bc251726b6

View File

@ -14,10 +14,13 @@
//-------------------------------------------------------
// Configuration Options
//-------------------------------------------------------
// All options described below should be passed as a compiler flag to all files using Unity. If you must add #defines, place them BEFORE the #include above.
// Integers
// - Unity assumes 32 bit integers by default
// - If your compiler treats ints of a different size, define UNITY_INT_WIDTH
// Integers/longs/pointers
// - Unity assumes 32 bit integers, longs, and pointers by default
// - If your compiler treats ints of a different size, options are:
// - define UNITY_USE_LIMITS_H to use limits.h to determine sizes
// - define UNITY_INT_WIDTH, UNITY_LONG_WIDTH, nand UNITY_POINTER_WIDTH
// Floats
// - define UNITY_EXCLUDE_FLOAT to disallow floating point comparisons