MSVC cl.exe and clang-cl Purpose Guide agents through Windows C/C++ compilation: MSVC , as MSVC-compatible driver, MSBuild project settings, and runtime library choices. Triggers - "How do I compile with MSVC from the command line?" - "What is the MSVC equivalent of ?" - "/MT vs /MD — which do I use?" - "How do I use clang-cl instead of cl.exe?" - "I'm getting LNK errors on Windows" - "How do I generate PDB files?" Workflow 1. Set up the environment MSVC requires the Visual Studio environment variables. Use the Developer Command Prompt or set up manually: In CMake, use the "Visual Studio 17 2…