Repository: thrift
Updated Branches:
  refs/heads/master cd9dd515b -> 746952efc


compiler: move README_Windows.md content to README.md


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/746952ef
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/746952ef
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/746952ef

Branch: refs/heads/master
Commit: 746952efc182d0b391539aeaec96a0cc6183bd40
Parents: cd9dd51
Author: Roger Meier <[email protected]>
Authored: Sat Jun 14 21:59:24 2014 +0200
Committer: Roger Meier <[email protected]>
Committed: Sat Jun 14 21:59:24 2014 +0200

----------------------------------------------------------------------
 compiler/cpp/README.md         | 41 +++++++++++++++++++++++++++++++++----
 compiler/cpp/README_Windows.md | 34 ------------------------------
 2 files changed, 37 insertions(+), 38 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/746952ef/compiler/cpp/README.md
----------------------------------------------------------------------
diff --git a/compiler/cpp/README.md b/compiler/cpp/README.md
index 452a49c..8d9eb50 100644
--- a/compiler/cpp/README.md
+++ b/compiler/cpp/README.md
@@ -2,10 +2,10 @@
 
 Use the following steps to build using cmake
 
-mkdir build
-cd build
-cmake ..
-make
+    mkdir build
+    cd build
+    cmake ..
+    make
 
 ## Build on windows
 
@@ -17,3 +17,36 @@ In order to build on windows a few additional steps are 
necessary
   * FLEX_EXECUTBALE = C:/winbuild/win_flex.exe
   * BISON_EXECUTBALE = C:/winbuild/win_bison.exe
 
+# Building the Thrift IDL compiler in Windows
+
+The Visual Studio project contains pre-build commands to generate the
+thriftl.cc, thrifty.cc and thrifty.hh files which are necessary to build
+the compiler. These depend on bison, flex and their dependencies to
+work properly. If this doesn't work on a system, try these manual
+pre-build steps.
+
+Open compiler.sln and remove the Pre-build commands under the project's
+ Properties -> Build Events -> Pre-Build Events.
+
+Download flex & bison from 
http://jaisantonyk.wordpress.com/2008/03/16/lex-and-yaccbison-in-windows/
+Download bison.simple in addition to bison.exe . This build of bison is easier 
to use
+than the one on sourceforge which has a myriad of dependencies.
+Place these binaries somewhere in the path.
+
+From a command prompt:
+> cd thrift/compiler/cpp
+> flex -osrc\thriftl.cc src\thriftl.ll
+In the generated thriftl.cc, comment out #include <unistd.h>
+
+Place a copy of bison.simple in thrift/compiler/cpp
+> bison -y -o "src/thrifty.cc" --defines src/thrifty.yy
+> move src\thrifty.cc.hh  src\thrifty.hh
+
+Bison might generate the yacc header file "thrifty.cc.h" with just one h ".h" 
extension; in this case you'll have to rename to "thrifty.h".
+
+> move src\windows\version.h.in src\windows\version.h
+
+Download inttypes.h from the interwebs and place it in an include path
+location (e.g. thrift/compiler/cpp/src).
+
+Build the compiler in Visual Studio.

http://git-wip-us.apache.org/repos/asf/thrift/blob/746952ef/compiler/cpp/README_Windows.md
----------------------------------------------------------------------
diff --git a/compiler/cpp/README_Windows.md b/compiler/cpp/README_Windows.md
deleted file mode 100644
index a19f83d..0000000
--- a/compiler/cpp/README_Windows.md
+++ /dev/null
@@ -1,34 +0,0 @@
-Building the Thrift IDL compiler in Windows
--------------------------------------------
-
-The Visual Studio project contains pre-build commands to generate the
-thriftl.cc, thrifty.cc and thrifty.hh files which are necessary to build
-the compiler. These depend on bison, flex and their dependencies to
-work properly. If this doesn't work on a system, try these manual
-pre-build steps.
-
-Open compiler.sln and remove the Pre-build commands under the project's
- Properties -> Build Events -> Pre-Build Events.
-
-Download flex & bison from 
http://jaisantonyk.wordpress.com/2008/03/16/lex-and-yaccbison-in-windows/
-Download bison.simple in addition to bison.exe . This build of bison is easier 
to use
-than the one on sourceforge which has a myriad of dependencies.
-Place these binaries somewhere in the path.
-
-From a command prompt:
-> cd thrift/compiler/cpp
-> flex -osrc\thriftl.cc src\thriftl.ll
-In the generated thriftl.cc, comment out #include <unistd.h>
-
-Place a copy of bison.simple in thrift/compiler/cpp
-> bison -y -o "src/thrifty.cc" --defines src/thrifty.yy
-> move src\thrifty.cc.hh  src\thrifty.hh
-
-Bison might generate the yacc header file "thrifty.cc.h" with just one h ".h" 
extension; in this case you'll have to rename to "thrifty.h".
-
-> move src\windows\version.h.in src\windows\version.h
-
-Download inttypes.h from the interwebs and place it in an include path
-location (e.g. thrift/compiler/cpp/src).
-
-Build the compiler in Visual Studio.

Reply via email to