blob: 452a49cd028c98103275be920f0bd4082ad82bab [file] [log] [blame] [view]
Pascal Bach6eb015a2014-04-17 16:19:07 +02001# Build compiler using CMake
2
3Use the following steps to build using cmake
4
5mkdir build
6cd build
7cmake ..
8make
9
10## Build on windows
11
12In order to build on windows a few additional steps are necessary
13
141. Download winflexbison from http://sourceforge.net/projects/winflexbison/
152. Extract the winflex bison files to for e.g. C:\winflexbison
163. 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