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

Demonstrate how to configure include path to Windows SDK on `WindowsResourceCompile` #1008

Open lacasseio opened 5 years ago

lacasseio commented 5 years ago

The sample windows-resources is a bit too simplistic and could be improved to show how to configure the WindowsResourceCompile to configure the include path so it include Windows SDK include root to resolve common resource headers like winres.h. The solution in this forum post should do the trick.