diff options
author | David Tardon <dtardon@redhat.com> | 2011-04-05 14:22:52 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-04-05 14:32:27 +0200 |
commit | 31979fa2c597b4d9b0c670f0f010f50d3c49dc60 (patch) | |
tree | e5ebdc8467e34de22edce6702d84900b6e40e793 /solenv/gbuild | |
parent | c8d6be537bd337dd5825ade5fda0d70724f9c109 (diff) |
update the dbglevel comment
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/gbuild.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk index ebbf6901483d..ce3c3fea1428 100644 --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -335,11 +335,16 @@ INTERACTIVE VARIABLES: If not empty, build with debug symbols. Automatically enabled by DEBUG/debug. DBGLEVEL / dbglevel - If not empty, force the debug level to the specified value. + If not empty, force the debug level to the specified value. The + debug level is passed to the source code through OSL_DEBUG_LEVEL + macro. 0 = no debug 1 = symbols + no optimizations - 2 = symbols + no optimizations + extra debug output - (OSL_DEBUG_LEVEL is set to 2) + 2 = symbols + no optimizations + extra debug output. OSL_TRACE + starts being active on this level. + 3... = symbols + no optimizations + extra debug output (usually + extremely verbose). Levels > 2 are not used very much. + ENABLE_PCH If not empty, use precompiled headers (Windows only). CFLAGS Add as compiler flags for plain c compilation. CXXFLAGSX Add as compiler flags for c++ compilation. |