blob: 4f1f004b0cda79d1de90f1b7679e9607fdf26b95 [file] [log] [blame]
Austin Schuh85fc6f12018-01-23 21:59:43 -08001licenses(["notice"])
2
3cc_library(
4 name = "matplotlib-cpp",
5 hdrs = [
Austin Schuhdde64052019-12-11 20:28:00 -08006 "matplotlibcpp.h",
Austin Schuh85fc6f12018-01-23 21:59:43 -08007 ],
Austin Schuhc4a833d2020-07-03 18:14:58 -07008 data = [
9 "@matplotlib_repo//:matplotlib3",
10 "@python_repo//:all_files",
11 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080012 target_compatible_with = ["@platforms//os:linux"],
Austin Schuhdde64052019-12-11 20:28:00 -080013 visibility = ["//visibility:public"],
Austin Schuh85fc6f12018-01-23 21:59:43 -080014 deps = [
Austin Schuhc4a833d2020-07-03 18:14:58 -070015 "@python_repo//:python3.5_lib",
Austin Schuh85fc6f12018-01-23 21:59:43 -080016 ],
Austin Schuh85fc6f12018-01-23 21:59:43 -080017)
18
19cc_binary(
20 name = "basic_example",
21 srcs = [
22 "examples/basic.cpp",
23 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080024 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh85fc6f12018-01-23 21:59:43 -080025 deps = [
26 "matplotlib-cpp",
27 ],
Austin Schuh85fc6f12018-01-23 21:59:43 -080028)
29
30cc_binary(
31 name = "animation_example",
32 srcs = [
33 "examples/animation.cpp",
34 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080035 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh85fc6f12018-01-23 21:59:43 -080036 deps = [
37 "matplotlib-cpp",
38 ],
Austin Schuh85fc6f12018-01-23 21:59:43 -080039)