fstiewitz / build-tools-cpp

Build your projects in atom
https://atom.io/packages/build-tools
MIT License
31 stars 6 forks source link

Filename in build command #2

Closed xrocket closed 10 years ago

xrocket commented 10 years ago

How can I make build command like: g++ ${FileBaseName}.cpp -o ${FileBaseName} Where ${FileBaseName} is the name of current open file ? Note: I am not (yet) familiar with coffeescript | atom (and English), but I think it is not hard to implement this feature. Thank you.

fstiewitz commented 10 years ago

Thank you @xrocket for the idea. In your case you can use something like g++ %c -o %n. You should also take a look at README.md for details.