Fix for max-sdk-base and Clion on Windows

sadguitarius's icon

Hi, just wanted to say that for anyone who is interested, I have a fork of max-sdk-base with a fix for some errors that were popping up in min-devkit projects using Clion on Windows. Previously, my projects would compile fine, but there would be a bunch of errors relating to macros in the ext_preprocessor.h file that made Clion's code analysis pretty useless. I also added a check for Ninja build in the cmake files and it seems to be compiling fine with the default Clion settings. Please check it out here.

I'm relatively new to Windows development, so I was basically hacking away at the preprocessor options until the errors went away. I'd like to know if this is breaking something for anyone, and also if any devs have suggestions for how to do this better. I'm happy to submit a pull request if this is actually helpful for people.