thrift
Building Notes
- Build Requirements:
flex
bison
libssl-dev
- Does not support out-of-tree build. * create a build configuration with
top_builddir = ""
to use in-tree build. * The work to make plugins is at the “possibility” phase. Plugins/generators like t_audit are meant to be built separate from the source tree, but include headers that assume it’s built in the source tree. In order to be legitimately separate, they need to include headers using angle brackets, like#include <thrift/version.h>
, and the location of this file needs to be declared with a@THRIFT_CPPFLAGS@
variable, or similar, which is used to create a distict search location for header files (the thrift compiler dev package include directory, ie /usr/include by default).
## Testing Notes
The project uses Older (and discouraged) Serial Test Harness which are not yet supported in the integration extension. Also see issue #5.
As a result, no tests are discovered. The “Autotools: Run all tests” command will run available tests, but their results will not be collected into the Testing Explorer, nor can individual tests be run or debugged easily.
Dry Run Warnings
No rule to make target ‘/tmp/thrift/compiler/cpp/thrift’, needed by ‘gen-c_glib/t_test_container_test_types.c’ * The lib/c_glib/test/Makefile.am
specifies that the thrift compiler ($(THRIFT)
, a build target) is a dependency for generated source gen-c_glib/t_test_container_test_types.c
and others - an out-of-date thrift compiler may be used by the tests that can’t re-build it.