That depends, usually, the program has a "make uninstall" function, or script. Just cd to the directory, the src directory in which you have builted(sp?) the program and type that, or RTFM . Take a ...
Here is a list of the best tools that let you uninstall Programs and Microsoft Store apps in batch from your Windows 11/10 PC: Bulk Crap Uninstaller (or BCUninstaller) is an open-source tool that lets ...