[ gpsdrive ] WITH_MYDEBUG

Hamish hamish_b at yahoo.com
Wed Jan 14 13:25:12 AKST 2009


Hi,

Revision: 2260
  trunk/DefineOptions.cmake
...
+option(WITH_MYDEBUG "Build with debug -D support" OFF)
...

what's the point of this? AFAICT there is no #ifdef MYDEBUG in the
code, so adding -DMYDEBUG has no effect. (nor permanent #ifdef DEBUG
for that matter)

Also I would think that "WITH_*" would usually be reserved for "with
support for some <packagename>, ie not some general preproc flag.
so FRIENDSD and NAVIGATE, (+KISMET ?) would not get WITH_.
??

and probably not bother with setting -DKISMET until that actually exists
in the code.


just trying to reduce the noise,
Hamish


More information about the GPSdrive mailing list