I'm working on a project and set up my build system. It works perfectly and runs my project when I hit <CTRL><B> when I'm in the project's main file. If I'm in an include file, it tries to pass the include file to the build system.
Without hardcoding the filename into the build system is there a way in the project to specify the "main" file? Maybe create a specific variable in the .sublime-project file that I can pass to the build system?
Thanks in advance!