- Install Docker:
- On Linux, use your package manager.
- On Windows, install WSL (Windows Subsystem for Linux), then install Docker Desktop.
In the main directory (HardwareDataLogger), run:
docker-compose build dev && docker-compose up -d --remove-orphans && docker-compose exec dev bash
It takes time to build the image the first time, but once it's done, you should be logged in with the entire environment set up.
cd /workspace/build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. && ninja test_biz && ninja test_dev && ninja test_drv
cd /workspace/build && cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug .. && ninja CMakeFiles/cstatic
cd /workspace/build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. && ninja pstatic
cd /workspace/build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. && ninja test_biz && ninja test_dev && ninja test_drv && ninja cov
cd /workspace/build && cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug .. && ninja docs