Skip to content

t4n0/matplotplusplus-bazel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

These instructions will provide a bazel target for matplot++.

Integrate

  1. Add these lines to your WORKSPACE file:
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")

new_git_repository(
    name = "matplot",
    branch = "master",
    build_file = "//:BUILD.matplot",
    remote = "https://github.com/alandefreitas/matplotplusplus",
)
  1. Copy the file BUILD.matplot to your workspace root.

Use

You may now depend on @matplot from other targets. Refer to files example.cpp and BUILD to inspect an exemplary usage.

Caveat

  • Note that matplot++ has certain system dependencies (e.g. gnuplot).
  • Only the gnuplot backend from matplot++ is supported.
  • Only the X11 window system is supported.

Contribute

Feel free to reach out if you have any suggestions for improvement. Thanks!

About

Bazel target for matplotplusplus.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages