Skip to content

A basic gradle setup for C++ including usage of dynamic libraries as discussed at thoughts-on-cpp.com

License

Notifications You must be signed in to change notification settings

Ben1980/gradleNativ

Repository files navigation

gradleNativ

A gradle native based multi project build setup, as discussed on thoughts-on-coding.com for a C++ command line application.

Getting Started

This is a very basic build setup defined with gradle's native support. To get it up and running you just need to execute ./gradlew build which will build the example application. Tests can be executed via ./gradlew check.

Prerequisites

  • fmt external library used as an example

The {fmt} lib, which is used as an example external library, needs to be on the same directory level as the gradleNative project. In case you want to change the directory make sure to alter the related path defined at at greeter library build.gradle file

def fmtHeaders = file("$rootDir/../fmt/include")

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

About

A basic gradle setup for C++ including usage of dynamic libraries as discussed at thoughts-on-cpp.com

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages