microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.52k stars 1.55k forks source link

Add support for precompiled headers #8355

Open sean-mcmanus opened 2 years ago

sean-mcmanus commented 2 years ago

CMake has added support for precompiled headers since 3.16 (https://cmake.org/cmake/help/latest/command/target_precompile_headers.html), could cpptools utilize such a feature to speed up compilation?

Originally posted by @sam20908 in https://github.com/microsoft/vscode-cpptools/discussions/8338

sean-mcmanus commented 2 years ago

This is related to https://github.com/microsoft/vscode-cpptools/issues/3628, although that issue doesn't mention support for CMake's support (I assume the CMake Tools extension would have to send us the pch data for us to use and/or we'd have to parse it from the compile_commands.json).

github-actions[bot] commented 2 years ago

This feature request is being closed due to insufficient upvotes. When enough upvotes are received, this issue will be eligible for our backlog.

github-actions[bot] commented 1 year ago

This feature request has received enough votes to be added to our backlog.