Closed tszxxx closed 5 years ago
Why do test.cc's need #define guards? because if we don't do that, there are so many main function there for cmake to make
Why couldn't they be separated?
Why couldn't they be separated?
you mean that we create separated cmakefiles for each test? I think that's also ok, but now it also works well.
Could it be a number of executables instead of one executable? #define guard looks weird in cc files.
Also, you should always give instructions to guide others how to build.
Why do test.cc's need #define guards?