Skip to content

About

A simple example of how to organize a C/C++ project that uses Buck build

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

buck-cpp-example

A simple example of how to organize a C/C++ project that uses Buck build.

This example was written as part of an article.

The project consists of two parts:

  • demo - An executable that computes 3 + 4 and prints the result.
  • mathutils - A library that provides an add function.

This is a contrived example! Buck is capable of building complex projects.

To run the demo:

buck run :demo

To run the tests:

buck test //...

That's it! 🙌

About

A simple example of how to organize a C/C++ project that uses Buck build

Topics

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages