What do I need to do to enable execution support on a local instance of Compiler Explorer? My particular setup is on Windows 11, currently testing with MSVC 2022, with cl.exe version 19.35.32019.
I tried to enable execution in the web GUI of my local instance of Compiler Explorer but found the option grayed out. I expected it to be enabled by default.
The secret is to set the following options per compiler, in your c++.local.properties file.
For example, if you have vs2022 installed, this file might look like this, in part:
In particular, note the last two lines. Also note the libPath and includePath and adjust according to what you have installed.