Here is my build system:-
{
"target": "terminus_exec",
"cancel": "terminus_cancel_build",
"name": "Build single file",
"shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c++",
},
But is there any way so that when I will use this build system, there will be a popup(like when we press ctrl+shift+p there is a thing like popup, or when I create a folder in the directory it asks me that what will be the name of my folder (in sidebarenhancement) and I will put the name of executable file I want to create? Or, is there anyway so that the exe file will be named same as the folder that contains the executable file, for example: If my .cpp file is in CPPProject folder then, when I will compile my .cpp file, the executable file will be named as CPPProject.exe (assuming I am using Windows)?