gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
91 stars 8 forks source link

Predefined macros are not properly added to Visual Studio solution #1061

Open lacasseio opened 4 years ago

lacasseio commented 4 years ago

Expected Behavior

Intellisense should work properly.

Current Behavior

Intellisense fails for:

#ifdef _WIN64
...
#endif

Context

It seems that predefined macros from Visual C++ aren't properly added to Visual Studio solution: https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=vs-2019

Steps to Reproduce (for bugs)

Your Environment