summaryrefslogtreecommitdiff
path: root/compiler/cpp/README.md
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2014-04-17 16:19:07 +0200
committerone <one@dev.sbt.siemens.com>2014-06-10 13:33:58 +0200
commit6eb015aa555ba120c156e21a8a9ecff15589c7b0 (patch)
tree89476e68bc705d271635d2a38e93a531f374b8e6 /compiler/cpp/README.md
parentfaf52db2160df39289550cb6ba714adc47c395cf (diff)
downloadthrift-6eb015aa555ba120c156e21a8a9ecff15589c7b0.tar.gz
Add CMake file for the thrift compiler
Diffstat (limited to 'compiler/cpp/README.md')
-rw-r--r--compiler/cpp/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/compiler/cpp/README.md b/compiler/cpp/README.md
index e69de29bb..452a49cd0 100644
--- a/compiler/cpp/README.md
+++ b/compiler/cpp/README.md
@@ -0,0 +1,19 @@
+# Build compiler using CMake
+
+Use the following steps to build using cmake
+
+mkdir build
+cd build
+cmake ..
+make
+
+## Build on windows
+
+In order to build on windows a few additional steps are necessary
+
+1. Download winflexbison from http://sourceforge.net/projects/winflexbison/
+2. Extract the winflex bison files to for e.g. C:\winflexbison
+3. Make the CMake variables point to the correct binaries.
+ * FLEX_EXECUTBALE = C:/winbuild/win_flex.exe
+ * BISON_EXECUTBALE = C:/winbuild/win_bison.exe
+