mirror of
https://github.com/RPCS3/glslang.git
synced 2025-02-17 09:27:48 +00:00
Add a note to README.md about how to build the bison grammar
This commit is contained in:
parent
768fb8b49e
commit
ac13240328
14
README.md
14
README.md
@ -47,6 +47,20 @@ CMake: The currently maintained and preferred way of building is through CMake.
|
||||
In MSVC, after running CMake, you may need to use the Configuration Manager to
|
||||
check the INSTALL project.
|
||||
|
||||
The grammar in glslang/MachineIndependent/glslang.y has to be recompiled with
|
||||
bison if it changes, the output files are committed to the repo to avoid every
|
||||
developer needing to have bison configured to compile the project when grammar
|
||||
changes are quite infrequent. For windows you can get binaries from
|
||||
[GnuWin32](http://gnuwin32.sourceforge.net/packages/bison.htm).
|
||||
|
||||
The command to rebuild is:
|
||||
|
||||
```
|
||||
bison --defines=MachineIndependent/glslang_tab.cpp.h
|
||||
-t MachineIndependent/glslang.y
|
||||
-o MachineIndependent/glslang_tab.cpp
|
||||
```
|
||||
|
||||
Programmatic Interfaces
|
||||
-----------------------
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user