trainings/CreatingReliableSoftwareCpp/Presentation/compilation.md

1.6 KiB

Cloning and building example project


Setup

If you don't have linux, you can use replit

  • Click Create C++
  • Name it and confirm with button Create Repl.
  • Click three dot on the rigt top screen and click upload folder
  • Now find your directory with repo and upload it
  • Congratulation, you can use linux shell wit sanitizers, cmake and valgridn support :)

replit

If you decided to use replit please configure this file: replit.nix:

{ pkgs }: {
	deps = [
		pkgs.clang_12
		pkgs.ccls
		pkgs.gdb
		pkgs.gnumake
		pkgs.vim
		pkgs.valgrind
		pkgs.cmake
	];
}