[Lldb-commits] [PATCH] D14790: cmake: add -DLLDB_ALLOW_STATIC_BINDINGS=1, defaults off

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 19 07:34:20 PST 2015


tfiala added a subscriber: tfiala.
tfiala added a comment.

Moot point now, but thanks.

The reason for the flag name is that the prepare_bindings.py script as it
stands will always generate the bindings with swig if a swig is either
specified or allowed to be found in some common places.  So the
"USE_STATIC_BINDINGS" would be misleading --- they wouldn't necessarily be
used - only when a swig could not be found.  So that flag literally
controlled whether static bindings were even permitted (i.e. allowed) to be
used, not that they would be.


http://reviews.llvm.org/D14790





More information about the lldb-commits mailing list