1

Can I test the same C file multiple times with different defines? Let's say one time with:

#define url google.de

and one time with:

#define url google.de/
QuesterDesura
  • 385
  • 2
  • 18
  • 2
    use your compiler option, for example, `gcc -D url=google.de; gcc -D url=google.de/`, https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html – Stargateur Jan 09 '18 at 10:06
  • or change include path to a directory containing a .h file with some defines or others depending on the directory. This at least forces rebuild if there's an automatic dependency check. Using -D forces to do a cleanup – Jean-François Fabre Jan 09 '18 at 10:16

0 Answers0