Building Modern Native Applications with Gradle
summary
Shows concrete Gradle scripts that build C and C++ executables and both static and shared libraries using native executable spec and native library spec, runs Google Test by fetching and building its source with CMake, and composes multi-project builds that link a hello app to a printline library and produce a zip distribution. Demonstrates Gradle wrapper bootstrapping, daemon speed, artifact caching for CI, basic C/C++/Rust cross-platform toolchain configuration, and notes missing Conan integration; all examples compile and run during the demo.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:51About the speaker
- 2:37Gradle for native builds
- 5:10Basic C++ project setup
- 17:01Building a native library
- 26:08Testing with Google Test
- 34:48Multi-project native builds
- 42:33Packaging and distribution
- 47:36Mixing C and C++ code
- 51:32Integrating external tools
- 59:53Bootstrapping dependencies
- 1:01:22Configuring build types
- 1:12:55Building Rust projects
- 1:21:59Q&A and closing
related talks
46mBuilding and Packaging Modern C++
50mModern DevOps in C and C++
27mModern alternatives to make
01h 00mHow to start a modern C++ project
01h 01mGit, CMake, Conan - How to ship and reuse our C++ projects
54mCMake for the Impatient
22mAdvanced Workflows for Multi-Platform Mobile Development
01h 34mThings I Learnt While Trying to Avoid Becoming a CMake Expert
