Build and Run - marcelstoltz00/Photosyntech GitHub Wiki

📋 Available Make Commands

Build Commands

Command Description
make test-run Build and run tests in one command
make clean or make c Remove all build artifacts
make info Display build configuration and available commands

Documentation Commands

Command Description
make docs or make doxygen Generate Doxygen documentation

Code Quality Commands

Command Description
make cov Generate code coverage report (requires gcovr)
make leaks Run memory leak detection (macOS)
make valgrind or make v Run Valgrind memory check (Linux)

TUI Commands

Command Description
make tui-manager Build and launch the TUI plant manager
make tui Full TUI build (clone, configure, compile)
make tui-clean Clean TUI build directory
make tui-full Complete TUI setup from scratch

🎯 Usage Examples

Run All Tests

make test-run

Generate Documentation

make docs
# Documentation will be available at: docs/doxygen/html/index.html

Launch TUI Plant Manager

make tui-manager

Generate Coverage Report

make cov
cat coverage.txt

Clean Build Artifacts

make clean

Check Build Information

make info