Hello,
I’m trying to make my own sublime-build that’ll run “g++ -W -Wall -Werror *.cpp” in the directory of the current directory.
For the moment, I’ve this :
{
"cmd": "/usr/bin/g++", "-W", "-Wall", "-Werror", "$file"],
"working_dir": "${file_path}"
}
But it runs only on the current file (g++ -W -Wall -Werror main.cpp)
I’ve already tried :
{
"cmd": "/usr/bin/g++", "-W", "-Wall", "-Werror", "*.cpp"],
"working_dir": "${file_path}"
}
But it tries on a file “*.cpp” not on the pattern *.cpp
i686-apple-darwin11-llvm-g++-4.2: *.cpp: No such file or directory
i686-apple-darwin11-llvm-g++-4.2: no input files