Sublime Forum

Default run file for project

#1

I’m working on a project and set up my build system. It works perfectly and runs my project when I hit 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?

(SublimeText2)

Thanks in advance!

0 Likes