Filter out empty CMake variables from CMake presets

nRF Connect for VS Code

tags
nRF Connect for VS Code

We fixed a bug where passing -DSHIELDS="" to a CMake variable would be invalid, but would still be added to the CMake preset. This was an issue because the CMake preset would start looking for a shield that had no name. Now, empty CMake variables without values will not be added to the CMake preset.