rpavlik/vrjuggler — pull request #3 by godbyk (2012-01-30 06:47:01+00:00)
Title: Enables JUGGLER_DEBUG when cmake build type is Debug

This bit of code defines the JUGGLER_DEBUG (and _DEBUG) flags when the CMAKE_BUILD_TYPE is set to Debug. If the CMAMKE_BUILD_TYPE is anything else, we define JUGGLER_OPT.

Defining JUGGLER_DEBUG (and/or _DEBUG) has the side effect of enabling execution of the vprASSERT macro, additional verbose logging, and probably other crazy stuff that I haven't noticed yet. Each module's xxxConfig.h file defines an XXX_DEBUG flag if JUGGLER_DEBUG has been defined (where xxx is vpr, snx, etc.).