--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/eaffb512-e843-473e-ae4e-2b65f84e846en%40googlegroups.com.
Thanks!I have it running both cmake and make.But, the cmake step builds the makefiles. Then I need the make step to run INSIDE the cmake's output.It's running on its own copy of the code, so no makefiles are present.Is there a way to have the cmake step export the entire tree as output, and have make use that as it's source?I see there are lib-out, header-out etc... options....
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAEQeahDd6K-Q%3Dw9yFgHwmwrJhg5j0F%2Bw_mvNiLKpDS461dvpbg%40mail.gmail.com.
I've been told that the cmake rule actually does 3 steps, cmake, build and install.So it should be running the make step for me.I have tested this on the command line, and it does work.Here's my cmake rule, can anyone help me figure out why it's not doing the build step?filegroup(name = "srcs",srcs = glob(["**"]),visibility = ["//visibility:private"],)cmake(name = "cbor",cache_entries = {"CMAKE_MACOSX_RPATH": "True","CMAKE_BUILD_TYPE": "Release","CBOR_CUSTOM_ALLOC": "ON",},lib_source = ":srcs",out_lib_dir = "src",out_static_libs = ["libcbor.a"],visibility = ["//visibility:public"],)