GN, Custom Build Tools & Visual Studio

38 views
Skip to first unread message

Aaron Gray

unread,
May 28, 2021, 12:08:41 PMMay 28
to ninja-build
I am working on a compiler-compiler with multiple bootstrap stages.

I am hoping to use Googles gn (Generate Ninja) for my build system, which currently is using Visual Studio 2019.

I am trying to work out if I can create Custom Build Tools for my tool stages. OR jst be able to create tools on the fly from executables, that will manifest as Visual Studio Custom Build Tools in the IDE's build system.

Hoping this can be done !

Many thanks in advance,

Aaron

Brett Wilson

unread,
May 28, 2021, 11:41:23 PMMay 28
to Aaron Gray, ninja-build
GN does not attempt to be a real meta build tool (there are some GN concepts that are not expressible in Visual Studio). The Visual Studio projects it generates actually use Ninja to do the build. So there is also integration with any VS custom build steps.

Brett

Aaron Gray

unread,
Jun 8, 2021, 10:07:00 AMJun 8
to ninja-build
Many thanks, have looked properly at Ninja now so know so can see its level, and also looked at its source code.
Reply all
Reply to author
Forward
0 new messages