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
92 stars 8 forks source link

Unknown operating system should fail at configuration time #981

Open lacasseio opened 5 years ago

lacasseio commented 5 years ago

Thanks to https://github.com/gradle/gradle-native/issues/961, Gradle now fails when facing unknown architecture at configuration time. There is no support for unknown operating systems. All target machines specifying a custom operating system that is not the current operating system is simply considered unsupported. Gradle should be more demanding that tool chains are declared expressing their intent on what they can build. Alternatively, Gradle should try his best to detect possible target operating system when discovering tool chains and their capabilities. It should also be possible to declare tool chain supporting target machine is a general way.