Let's configure our Build Task in Visual Studio Code. INFO: Running command line: C:/users/shanee/_bazel_shane/rimt6fvp/execroot/_maINFO: Build completed successfully, 6 total actions INFO: Build completed successfully, 6 total actions INFO: Elapsed time: 49.794s, Critical Path: 4.01s Ĭ:/users/shanee/_bazel_shanee/rimt6fvp/execroot/_main_/bazel-out/圆4_windows-fastbuild/bin/example.exe INFO: Analyzed target //:example (10 packages loaded, 76 targets configured ). Starting local Bazel server and connecting to it. MainĬ: \Projects \example> bazel run :example So simply create an empty file named WORKSPACE. You must have an existing WORKSPACE file to build with Bazel, but it can be empty. Skip this step if you already know Bazel and have a project you're working with. In this section we'll create a super basic C project in Bazel so we can demonstrate our build and debugging. Now we can do the fun part! Setting up a Bazel project Ok, that wasn't as clean as installing Visual Studio Code, and admittingly I deferred most of the instructions, but hopefully you got it through.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |