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 building an Objective-C library #1051

Open lacasseio opened 4 years ago

lacasseio commented 4 years ago

A user can build an Objective-C library (shared and static) for the major operating system. Let's focus on building an approximation of what the objective-c-library plugin could look like. Avoid all configuration for now and focus on the source being in a single location (e.g. src/main/objective-c) and configuring the compiler flag by configuring the task directly (e.g. tasks.withType(ObjectiveCCompile)).