gradle-native
gradle-native copied to clipboard
Native system libraries should be opt-in instead of configured by default
Expected Behavior
As an example, it is possible to build native project without using Windows SDK.
Current Behavior
The system library and the toolchains are tightly couple together which makes it almost impossible to opt-out as expressed in this forum post.
Context
It is completly valid to build application without using the Windows SDK. It also make kernel development more complicated where the Windows DDK should be use instead.
Steps to Reproduce (for bugs)
N/A
Your Environment
See this forum post: https://discuss.gradle.org/t/native-compilation-with-msvc-and-arm/20092
c compiler need to be flexible rather than binding to gcc native toolchain, Solaris compiler CC, cc and etc shall be able to work in gradle as well.
https://discuss.gradle.org/t/use-custom-toolchain-in-gradle-no-gcc-or-clang/21139