mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
76f2c88eda
Summary: Adds a new flag to allow for a mode where #include statements in generated c++ will include path context information. For example, if my .thrift file includes "foo/bar/baz.thrift", the generated source files will contain #include statements like: #include "foo/bar/gen-cpp/baz_types.h" instead of just: #include "baz_types.h" -cpp_use_include_prefix is OFF by default. Reviewed By: dreiss Test Plan: Tested against multiple thrift input files both with and without the new flag. Revert: OK DiffCamp Revision: 5522 git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665431 13f79535-47bb-0310-9956-ffa450edef68 |
||
---|---|---|
.. | ||
src | ||
Makefile.am | ||
README |
Thrift Code Compiler Author: Mark Slee (mcslee@facebook.com) Last Modified: 2007-Mar-06 Thrift is distributed under the Thrift open source software license. Please see the included LICENSE file. Thrift Code Compiler ==================== This compiler takes thrift files as input and generates output code across various programming languages. To build and install it, do this: ./bootstrap.sh ./configure make sudo make install It requires some form of LEX and YACC to be installed, which should be picked up by autoconf. Not much else to report here. You'll have to look at the code to get your questions answered. Or just run the executable after you build and take a look at the usage message.