Targeting macOS from Visual Studio
summary
Visual Studio 17.3 Preview 2+ uses CMake integration to build, run, and debug on a remote Mac by pushing a CMake/Ninja build to the Mac, running the app there, and connecting the Windows IDE for breakpoints and variable inspection; IntelliSense works locally while the binary executes remotely. Requirements: CMake presets, Ninja and lldb/remote debugger installed on the Mac, remote login enabled, and Intel x64 macOS 10.15+ (M1 via Rosetta as a workaround).
AI-written summary · about
chapters (6)
- 0:00Introduction to feature
- 0:35Prerequisites and setup
- 1:25Configuring the Mac host
- 2:01Connecting Visual Studio
- 3:22Building and running app
- 4:02Debugging and limitations
related talks
06mCMake Debugger for Projects Targeting Remote Linux Systems
11mC++ with Visual Studio 2019: target Linux and Windows, and be more productive with IntelliCode
36mC++ Development with Visual Studio Code
11mSimplifying your Cross-Platform Development with Visual Studio
30mWhat's New in Visual Studio Code - Remote Dev, IntelliSense, Build/Debug...
01h 04mLatest & Greatest in Visual Studio 2019 for C++ developers
24mC++ Cross-Platform Development with Visual Studio and WSL
11mA Year in Review: Microsoft's Latest CMake Improvements in Visual Studio and VS Code
