Vix.cpp v2.5.6
Vix.cpp v2.5.6 is a maintenance release focused on improving generated library workflows, CLI diagnostics, and terminal output consistency.
This release fixes the next-step guidance generated by vix new --lib, especially for header-only libraries. The generated instructions now better reflect the current build behavior and recommend vix build --build-target all when building generated library scaffolds.
It also improves diagnostics when a requested Ninja target does not exist. Instead of exposing raw Ninja output such as ninja: error: unknown target, Vix now reports a clearer and more focused message.
Workflow fixes
The main correction in this release is around generated library projects.
Header-only library scaffolds do not always produce a named executable target, so asking users to build a guessed target can lead to confusing errors. Vix.cpp v2.5.6 aligns the generated instructions with the safer CMake target behavior by recommending the generic all target.
This makes the generated project workflow more reliable for both application projects and library projects.
CLI output improvements
Vix.cpp v2.5.6 also improves the formatting of vix new, vix modules init, and vix modules add.
The command output now uses cleaner sections for files, targets, and next steps. Extra spacing was removed so the output feels closer to the rest of the Vix CLI style.
This is a small release, but it improves an important part of the developer experience: what users see immediately after creating or modifying a project.
Highlights
- Fixed
vix new --libnext steps for header-only libraries. - Fixed header-only library build guidance by using
vix build --build-target all. - Fixed generated library test workflow documentation.
- Fixed unknown Ninja target diagnostics.
- Fixed extra spacing in
vix newandvix modulescommand output. - Improved
vix newhelp output for application and header-only library workflows. - Improved generated library README instructions.
- Improved
vix modules initandvix modules addoutput formatting. - Aligned CLI help text with the current
vix buildtarget behavior.
Compatibility
Vix.cpp v2.5.6 introduces no breaking changes.
Existing application projects keep the same vix build, vix run, and vix dev behavior.
Header-only library projects should use:
vix build --build-target allwhen building generated library scaffolds.