| Pascal Bach | 6eb015a | 2014-04-17 16:19:07 +0200 | [diff] [blame^] | 1 | # Build compiler using CMake |
| 2 | |
| 3 | Use the following steps to build using cmake |
| 4 | |
| 5 | mkdir build |
| 6 | cd build |
| 7 | cmake .. |
| 8 | make |
| 9 | |
| 10 | ## Build on windows |
| 11 | |
| 12 | In order to build on windows a few additional steps are necessary |
| 13 | |
| 14 | 1. Download winflexbison from http://sourceforge.net/projects/winflexbison/ |
| 15 | 2. Extract the winflex bison files to for e.g. C:\winflexbison |
| 16 | 3. Make the CMake variables point to the correct binaries. |
| 17 | * FLEX_EXECUTBALE = C:/winbuild/win_flex.exe |
| 18 | * BISON_EXECUTBALE = C:/winbuild/win_bison.exe |
| 19 | |