Skip to content

v1.2.0

Choose a tag to compare

@DMsuDev DMsuDev released this 06 Feb 04:20
· 29 commits to main since this release

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.