Sublime Forum

How to add msys2/Mingw-w64-x86_64's include folder to all .c and .cpp files?

#1

I need to know how can I make a custom build for C/C++ that includes msys2’s include folder?
But I don’t know the syntax and there aren’t any examples of how to add additional external include folders.

do I need to install a specific package?

0 Likes

#2

I would suggest getting your command working on the command line and then making a custom build system (or using a proper build system like make that you can trigger from Sublime Text).

2 Likes