v1.2.0
v1.2.0
Changes: New advanced CLI example (Task Manager) + improved makefile organization
β¨ What's New
π New Example: Advanced CLI Task Manager
A complete, production-ready command-line task management system demonstrating:
- Object-Oriented Design: Task class with full lifecycle management
- Data Persistence: JSON-based storage using nlohmann/json (header-only)
- CLI Interface: Full command suite with help system
- Cross-Platform: Works on Windows, Linux, and macOS
- Uses Advanced Makefile Template: Shows full capabilities with debug, release, analyze targets
Features:
- β Create, read, update, delete tasks (CRUD operations)
- β Priority levels (Low, Medium, High)
- β Statistics dashboard
- β Persistent storage in user's home directory
- β Rich terminal output with symbols and formatting
Location: examples/task-manager/
Quick Start:
# Build and display help
make run-tm
# Or build separately
make task-manager
./examples/task-manager/build/app/tmπ― WARN_LEVEL Configuration
Control compiler warning strictness with three levels:
| Level | Flags | Best For |
|---|---|---|
| minimal | Base warnings only | Legacy code, third-party libraries |
| normal | + Type conversion, logic, safety | Standard development (recommended) |
| strict | + Code quality (-Wshadow, -Wunused) |
New projects, CI/CD pipelines (default) |
π Automatic LTO Optimization
Compiler-aware LTO selection (no configuration needed):
| Compiler | LTO Type | Benefit |
|---|---|---|
| Clang/clang++ | -flto=thin |
Faster compilation, fewer issues |
| GCC/g++ | -flto=auto |
Better optimization |
π¦ Examples Summary
| Example | Type | Purpose | Location |
|---|---|---|---|
| Donut | CLI | 3D ASCII animation in terminal | examples/donut-basic/ |
| ImGui | GUI | Modern graphical UI demo | examples/ImGui/ |
| Task Manager | CLI | Advanced task management system | examples/task-manager/ |
All examples support advanced Makefile features: debug/release builds, static analysis, profiling, and cross-platform compilation.