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 build 32-bit and 64-bit during the same execution run #1066

Open lacasseio opened 4 years ago

lacasseio commented 4 years ago

This is currently possible but isn't provided out of the box. A build author needs to: 1) Create a custom lifecycle task 2) Configure each binaries of choice (any binaries can be select, for this demonstration, it's the 32/64 bit binaries) 3) For each binaries, configure the lifecycle task to depends on the link or create tasks 4) Execute Gradle for the custom lifecycle task