Sublime Forum

How do I include compiler flags?

#1

This link shows what I’m talking about://puu.sh/2zF59
I have the .sublime-build file I’m using, but I’m not sure where I should add the --enable-auto-import linker flag?
I looked at sublimetext.com/docs/build but couldn’t find what I’m looking for.

0 Likes

#2

Those docs are out dated. I really do hope jps either takes them down, or adds some kind of deprecated banner (Request to take down ST1 Documentation). Here are the updated docs. Hopefully they will be more helpful.

docs.sublimetext.info/en/latest/ … stems.html

The command being run is just an array of strings, so you should be able to add your flag there.

0 Likes