./deps.sh
#On linux:
sudo apt-get install libasound-dev libx11-dev libxft-dev
-
git clone --depth 1 --single-branch -b cpp14 https://github.com/dyu/gn-build
-
echo 'buildconfig = "//gn-build/config/BUILDCONFIG.gn"' > .gn
On windows, exclude the single quote. -
On linux:
gn gen gn-out --args='gcc_cc="gcc" gcc_cxx="g++" symbol_level=0 is_debug=false is_clang=false is_official_build=true'
On windows:
gn gen gn-out --args="visual_studio_path=\"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\" visual_studio_version=\"2015\" symbol_level=0 is_debug=false is_clang=false is_official_build=true"
-
ninja -C gn-out