4 ms·
I'm sorry, but that doesn't really answer my question. I'll try another one: does it correctly set preprocessor directives before parsing the includes? E.g. d
by ReleaseCandidat 3y ago
I'm sorry, but that doesn't really answer my question.
I'll try another one: does it correctly set preprocessor directives before parsing the includes?
E.g. does it correctly parse stuff like
#ifdef FOO
#include <bar>
#else
#include <baz>
#endif
- quelsolaar 3y agoNo, Bercause MakeMake cant know what defines are made by the compiler on the system. MakeMake may not even run on the same system as the resulting makefile will be used on. This means that all source code files has to be compilable on all platforms, and thats good practice anyways, so thats not a problem for me. The makemake pragma lets you define platform specific build options.
- bregma 3y ago> This means that all source code files has to be compilable on all platforms And then it hits the real world and you need to switch to a tool that handles it.
- quelsolaar 3y agoI have no problem putting ifdefs around my platform specific code.