Advertisement
Guest User

Untitled

a guest
Apr 30th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. $ tree
  2. .
  3. ├── bar
  4. │   ├── bar.cpp
  5. │   └── BUILD
  6. ├── BUILD
  7. ├── foo.cpp
  8. └── WORKSPACE
  9.  
  10. cc_binary(
  11. name = "foo",
  12. srcs = [ "foo.cpp" ],
  13. deps = [ "//bar" ],
  14. )
  15.  
  16. cc_library(
  17. name = "bar",
  18. srcs = ["bar.cpp"],
  19. )
  20.  
  21. Target '//bar:bar' is not visible from target '//:foo'. Check the visibility declaration of the former target if you think the dependency is legitimate.
  22.  
  23. cc_library(
  24. name = "bar",
  25. srcs = ["bar.cpp"],
  26. visibility = ["//__pkg__"],
  27. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement