I try to make sublime work with my custom scons building file but without success.
My scons I have written is:
- Code: Select all
Program('monster_program',Glob("*.cpp"))
and my build file is this:
- Code: Select all
{
"cmd": ["scons", "monster_program", "$file"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${project_path:${folder:${file_path}}}",
"variants":
[
{
"name": "Clean",
"cmd": ["scons", "-c"]
}
]
}
But I get the following error:
[Errno 2] No such file or directory
[cmd: [u'scons', u'monster_program', u'']]
[dir: /Users/rogerkueng/myGit/project]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]
If I type in the same direcotry in the terminal just:
- Code: Select all
scons monster_program
it works without a problem.
What am I missing? any help would be appreciated.