Home Download Buy Blog Forum Support

SCons buildscript

SCons buildscript

Postby kallisti5 on Wed Jul 11, 2012 3:19 pm

SCons is an alternative python based build system used by quite a few projects including mine.

Here is my SCons Sublime Text 2 build script:
Code: Select all
{
   "cmd": ["scons", "-j2", "debug=1"],
   "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
   "working_dir": "${project_path:${folder:${file_path}}}",
   "variants":
   [
      {
         "name": "Clean",
         "cmd": ["scons", "-c"]
      }
   ]
}



place this in ~/.config/sublime-text-2/Packages/User/SCons.sublime-build

Adds a "SCons" option to the build system selection

UPDATE: Added file_regex to parse the gcc error output
kallisti5
 
Posts: 4
Joined: Thu Mar 08, 2012 3:55 pm

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 5 guests