Skip to content

pikoTutorial

  • Privacy Policy

bazel compile switch

Separating builds for different configs with Bazel
Posted in
  • C++

Separating builds for different configs with Bazel

Welcome to the next pikoTutorial ! Let’s consider a simple project with the following structure: The main function has 2 compile switches: And we have 2 separate Bazel configurations including these switches: When we build the application with the following command: I can run the application by invoking: But as…

Separating builds for different configs with Bazel Read More
Copyright © 2026 pikoTutorial.
Powered by WordPress and HybridMag.
  • Privacy Policy