rules_foreign_cc
rules_foreign_cc copied to clipboard
How to Reference Shared Library from cmake?
Hi, if I’m trying to set an environment variable within cmake for rules_foreign_cc based on the output of another shared_lib generated by cmake, what would be the proper way to do so?
cmake( name = "lib", cache_entries = { "path_to_shared_lib": "<What do I put here to set path to libfake.so>" } )
cmake( name = "fake", ... out_shared_libs = [ "libfake.so", ], visibility = ["//visibility:public"], )