Adds integration of Buck2's C++ targets into Visual Studio. Includes support for launching targets attached to the debugger, target platforms and tests.
Adds integration of Buck2's C++ targets into Visual Studio. It integrates into the "Open Folder" mode, meaning you need to click "File" > "Open" > "Folder..." and then open the folder with the .buckconfig.
This is still a beta version
Known issues
If using the Google Test adapter, the setting "Use new test execution framework (experimental)" in "Tools" > "Options..." -> "Test Adapter for Google Test" needs to be set to "False".
The working directory with which the tests execute is decided by the test adapter. For example, the Google Test adapter uses the executable folder as the working directory. On the other hand, by default, Buck2 uses the repository root as the working directory. To reproduce Buck2's default behavior, the setting "Working directory" needs to be set to "$(SolutionDir)" in "Tools" > "Options..." -> "Test Adapter for Google Test".
The addition of new target platforms requires Visual Studio to be restarted.
The build errors and warnings are only reported at the end of the build.
I haven't tested in repositories with non-alphanumerical folder or target names.