I’m working on a CMake project in Visual Studio Code that’s cross-compiling for another platform. Consequently when I whack a keystroke to execute the command “CMake: Run Without Debugging” it attempts to launch an executable that can’t be run on the host system and fails.
I’ve written a script that will execute the project’s output in an emulated environment, so when I use my keyboard shortcut to run, I just want it to execute that script. But so far I can’t figure out how to do that!
Is there a setting somewhere that lets me specify exactly which executable will be executed either a) when I type the keystroke to run my project, or b) when Visual Studio Code executes the “CMake: Run Without Debugging” command?