I am trying to switch from CMakeSettings.json
to CMakePresets.json
in a Visual Studio CMake project targetting Linux.
In my current CMakeSettings.json
, I used to activate a Conda environment before generating the CMake cache on remote systems (including WSL) with:
{
...
"remotePreGenerateCommand": "conda activate foobar",
}
What would be the equivalent feature with CMakePresets.json
? I could not find anything similar in the Visual Studio Remote Settings vendor map.