Skip to content

Latest commit

 

History

2,811 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy browser engine

codecov

Building

Requirements

Compiler

Right now GCC 13, Clang 19, and MSVC are tested against. The project makes use of C++23 features, so a reasonably recent compiler is required.

Build system

Bazel is used as the build system. I recommend using Bazelisk as that will pick up the Bazel version to use from the .bazelversion file in the repository root.

Per-developer configuration (e.g. compiler used and build type) is managed in a gitignored .bazelrc.local file. To set this up for your environment, copy .bazelrc.local.example to .bazelrc.local and edit to suit your compiler of choice.

Process

The following assumes that you either have Bazel or Bazelisk under the name bazel on your PATH and that you have set up your .bazelrc.local file.

Listing build targets

bazel query //...

Building all targets

bazel build //...

Building a single target

bazel build //html

Running all tests

bazel test //...

Running the browser engine

bazel run //browser

Generate json compilation database

Follow the instructions at robinlinden/bazel-compile-commands.

About

A web browser.

Topics

Resources

Stars

36 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages