Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GN example

This project contains most simple example of project with GN build system.

Building

Before building, you should make sure that you have installed C++ compiler, for example, MinGW (https://www.mingw-w64.org/downloads), Ninja build system (https://github.com/ninja-build/ninja), GN meta build system (https://gn.googlesource.com/gn/).

  1. Generate main.o file with GCC compile:
gcc -Wall -c -o out/main.o main.cc
  1. Generate ninja files with GN:
gn gen out
  1. Compile proj with Ninja:
ninja -C out hello
  1. Run compiled .exe file:
out/hello

About Chromium project structure

You can read about Chromium GN project structure here.

About

Example of usage GN meta build system with explaining of Chromium structure.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages