tree: e0ec4bb8eb2d37681a776bd7a98b479aa38776c0 [path history] [tgz]
  1. BUILD.gn
  2. README.md
third_party/glfw/README.md

GLFW Library

This folder holds the GN build file for the GLFW library.

Setup Instructions

  1. Install glfw.

    pw package install glfw
    
  2. Install host OS requirements (only required for Linux) shown below.

Linux

  • Debian / Ubuntu

    sudo apt install libglfw3-dev libglfw3
    
  • Arch Linux

    sudo pacman -S glfw-x11
    

Building

The build file requires the dir_pw_third_party_glfw be set. This can be done as so:

gn gen out --export-compile-commands --args="
  dir_pw_third_party_glfw=\"//environment/packages/glfw\"
"
ninja -C out