Skip to content

njlr/buck-cpp-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published