Skip to content

Instantly share code, notes, and snippets.

View zpervan's full-sized avatar
:shipit:

Zvonimir Pervan zpervan

:shipit:
  • Old Crow
  • Croatia
View GitHub Profile
@zpervan
zpervan / bazel_sfml_imgui.md
Last active October 25, 2024 17:31
Integrate Bazel with your SFML/Imgui projects on Ubuntu 20.04

Integrate Bazel into your Imgui/SFML projects on Ubuntu 20.04

Why use Bazel in the first place?

Some of you may ask why to use Bazel to build your project, aren't there already in-place solutions with CMake examples? And, to be honest, I thought the same, but in the end two major factors prevailed - curiosity and challenge! Also, as Bazel is slowly prying around the corner to be a popular build system, the syntax is more intuitive, readability is high and it's well documented on their official sites (but misses more examples IMHO). If you're interested what the cons and pros for Bazel against CMake are you can look up this page and check it in detail. 

Ok, I get it, now show me the how-to guide

First of all, you need Bazel installed on your system. Bazel's documentation is generous in these manners and you can look up the installation page for your OS and or, in our case, it's

@zpervan
zpervan / stm32_manjaro_setup.md
Created December 11, 2020 20:46
Setup STM32 developement on Manjaro 20.2

STM32 developement environment setup on Manjaro 20.2

This is a guide on how to install the developement environment for STM32. Any suggestions or enhancements are welcome :)

Prerequisite

In order to complete this, you need to install the yay package manager.
Also, don't forget to install the fakeroot lib in order to properly execute the yay library.

Downloads