Release and Debug are two configuration sets. FEATURE | DEBUG | RELEASE ---------------+-------+--------- assertion | | ---------------+-------+--------- invariant | | ---------------+-------+--------- debug symbols | | ---------------+-------+--------- optimization | | ---------------+-------+--------- inline | | ---------------+-------+--------- more... | |
It is also inconvient to switch "invariant" (or debug features) with a universal "-release" flag.
