Open Metsuro opened 9 years ago
The build system included in this package is an example and must be adapted per project.
In this specific case the build system will use g++ ('g++') with the c++11 syntax definition ('-std=c++11'), warn you for all errors ('-Wall').
Then it will compile all the .cpp files inside your working directory ('.cpp'), include a folder a level above called "header" ('-I','../header') and output it as you specified ('-o', 'E:\Programming\Metsuro\Stack/main').
If your setup is not exactly that one it won't work. I hope it help.
Thank you for your support.
Not sure really what to say here. Using the build system from the package it does this.
g++: error: .cpp: Invalid argument [Finished in 0.7s with exit code 1] [cmd: ['g++', '-std=c++11', '-Wall', '.cpp', '-I', '../header', '-o', 'E:\Programming\Metsuro\Stack/main']]
Using something like this http://shishtpal.blogspot.com/2015/01/custom-build-system-for-c11-sublime.html should fix the issue while still being set for all the systems in use?