main_debug.cpp 528 B

1234567891011121314151617181920
  1. #ifndef CFG_DEBUG
  2. # error "This source should only be compiled in a Debug configuration."
  3. #endif
  4. #ifdef CFG_OTHER
  5. # error "This source should not be compiled in a non-Debug configuration."
  6. #endif
  7. #include "iface.h"
  8. extern int custom1_debug();
  9. extern int custom2_debug();
  10. extern int custom3_debug();
  11. extern int custom4_debug();
  12. extern int custom5_debug();
  13. int main(int argc, char** argv)
  14. {
  15. return iface_src() + iface_debug() + custom1_debug() + custom2_debug() +
  16. custom3_debug() + custom4_debug() + custom5_debug();
  17. }