Closed GoogleCodeExporter closed 9 years ago
Hi, thanks for sharing your idea. However, I object the value of this use case
might not be very clean and desired by everyone. You could also simply define
your own macros/build time preprocessor switches and surround also the
DEFINE_flag macro by the respective #ifdef directives.
#ifdef USE_FANCY_LOG
DEFINE_bool(....)
#endif
or hide this in your own wrapper macro for the gflags DEFINE_flag macros...
Original comment by andreas....@gmail.com
on 5 Jun 2013 at 6:42
Wrapping existing DEFINE macro is a good idea. Thank you for the hint.
Original comment by cnye...@gmail.com
on 5 Jun 2013 at 6:51
Original issue reported on code.google.com by
cnye...@gmail.com
on 5 Jun 2013 at 5:59