zqrtalent / BazelCppApp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BazelCppApp

BazelCppApp is a sample C++ app using bazel in dockers environment.

Startup development environment

  • Make sure that project path is shared with docker engine otherwise docker container won't be able to see project files. Docker: Preferences > Resources > File Sharing.
  • Run vscode task 'Startup Docker Container' or run command make docker_run_it_build

Build application

Run vscode task 'Build (In Docker)' or run command 'make docker_it_build_app'

Debug the application

Run vscode task 'Run debug (Docker)'

Run the application

Run vscode task 'Run app (Docker)' or run command 'make docker_it_run_app'

About


Languages

Language:Makefile 68.0%Language:Starlark 27.2%Language:Shell 3.3%Language:C++ 1.5%