18
The Gradle and a great ally in java and android development. I was looking at the site and realized that it can also manage projects in c++.
How can I use it to compile a super simple project (hello word)?
18
The Gradle and a great ally in java and android development. I was looking at the site and realized that it can also manage projects in c++.
How can I use it to compile a super simple project (hello word)?
1
// build.gradle
apply plugin: 'cpp'
libraries {
hello {}
}
executables {
main {
binaries.all {
lib libraries.hello.shared
}
}
}
Browser other questions tagged c++ gradle
You are not signed in. Login or sign up in order to post.
https://docs.gradle.org/current/userguide/native_software.html
– M8n
In English.
– DaviAragao
Rodrigo, did these links resolve the doubt? If yes, please post a reply explaining! Thank you.
– Genos
At the address below, available on github, you will find several examples of settings available for Android NDK and Gradle. https://github.com/googlesamples/android-ndk. You will also find several examples of "Hello"
– Carlos Rabelo
Did or did not?
– Murillo Goulart
no ... but I would still like to see the answer
– Rodrigo Santiago