HoneaDevWrx Logo HoneaDevWrx Documentation
Developer Support • CMakeVis

CMakeVis Support, FAQ & Troubleshooting

For technical assistance or to report a CMake parser issue, contact honeadevwrx@outlook.com with your operating system, CMake version, and a concise description of the behavior observed.

Configuring MSVC and clang-cl Toolchains with CMake Presets

Modern CMake projects—particularly those integrating vcpkg—define generator selection, CMAKE_TOOLCHAIN_FILE, compiler executables, C runtime linkage, and preserved environment variables (VCPKG_KEEP_ENV_VARS) inside CMakePresets.json. Select the target configure preset in the Build & Toolchain ribbon (or open Presets & Inheritance... to generate host defaults) so CMakeVis invokes cmake -S <root> --preset <name> with Windows vcvarsall.bat environment variables captured automatically.

Chaining vcpkg and Conan Toolchains Simultaneously

Open Environment & Toolchain → CMake Presets & Inheritance (or Build & Toolchain → Presets & Inheritance...), select the target preset, and choose Both: vcpkg + Conan Chained. CMakeVis assigns toolchainFile to the vcpkg toolchain script and sets VCPKG_CHAINLOAD_TOOLCHAIN_FILE to Conan's generated conan_toolchain.cmake, automatically running conan install prior to CMake configuration.

Preserving Hand-Authored CMakeLists.txt Files During Export

On repositories loaded from disk, Export Per-Subproject and Scoped Export avoid overwriting custom CMake logic. Modified option(...) and set(...) declarations are patched in place, while newly added files, target overrides, and new targets are written inside delimited # BEGIN CMAKEVIS OVERRIDES … # END CMAKEVIS OVERRIDES sections. If you prefer a unified single-file script generated directly from the visual model, switch the Export Mode selector to Export: Single Combined CMake.

Reset Properties to Defaults vs. Revert to Loaded CMake

Inside Target Properties & Files, Reset Properties to Defaults resets C/C++ standards, custom properties, compile/link options, and precompiled headers to CMake defaults while preserving assigned source files and dependency links. Revert to Loaded CMake restores the target completely to the baseline snapshot captured when the repository was opened from disk.

Managing OBJECT Libraries Outside the Primary Dependency Canvas

Repositories containing numerous OBJECT libraries introduce excessive visual edge density when rendered directly alongside final Executables and Shared or Static libraries. CMakeVis manages OBJECT libraries under Explorer → Object Libraries → Manage (and within each consuming target's Properties modal) while excluding synthetic pass-through edges and internal CMake targets (*_autogen, ZERO_CHECK) from the canvas.

Controlling Build Console Auto-Scroll Behavior

Scrolling upward or clicking inside the build terminal automatically disables Auto-scroll so the viewport remains stationary while reviewing compiler output. Select Scroll to Bottom (or press Ctrl+End) to jump to the latest log entry and re-enable live scrolling.

Resolving CMakeVis Executable Discovery in Visual Studio Code

If the companion extension reports that the CMakeVis binary cannot be located, select Browse... in the Visual Studio Code prompt and designate your CMakeVis.exe (Windows) or CMakeVis.Linux (Linux) executable, or assign cmakevis.executablePath in Visual Studio Code User Settings.