Skip to content

FsyJerryDev/bazel-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Learn Bazel from examples

Introduction

When I learned cmake a few years ago, I benefitted a lot from the famous Github project cmake-examples. Inspired by this project and learning how to use Bazel from scratch, I think it is a good idea to provide people with some examples which can help them learn Bazel more easily.

Requirements

Every time I prepare to learn some new things which are more than just technology, I wish to have a user-friendly guidance which can help me learn these things more easily. Hence, I wish to provide a user-friendly guidance about how to prepare the environment for Bazel.

Windows:

The basic requirements are:

  • Microsoft Visual C++ Redistributable (you can download from the following link Microsoft Visual C++ Redistributable)

    • For Windows 64, you can select the executable of "X64" in the below image 1:
X64
Image 1
  • Bazel (you can download Bazel from the following link Downloading Bazel)

    • After clicking the above link, please scroll down until the below position in the image 2

    • Then scroll down until you can find the "bazel-8.0.0-windows-x86_64.exe" which is displayed in the image 3

    • Then, you can rename the downloaded executable as "bazel.exe" and add the absolute path of this executable into the system variable of the environmental variable "Path"

    • After that, open a powershell and input "bazel version". You can see some information displayed in the image 4

Show all assets
Image 2
The executable of Bazel for Windows X64
Image 3
The version of Bazel I use
Image 4

About

Learn Bazel from examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published