<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 18, 2015 at 11:15 AM Todd Fiala <<a href="mailto:todd.fiala@gmail.com">todd.fiala@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><br></div></div></div><div dir="ltr"><div class="gmail_extra">My intent here is to only provide the --allow-static-binding option on cmake if it is explicitly turned on.  And it will be off by default.</div></div></blockquote><div>I know, but I don't really like adding options that nobody is going to use, because it makes maintaining the build files more difficult, and when people ask questions on the list about how to use various options, chances are nobody is going to know because there's nobody maintaining that codepath.  So I lean on the side of not even having the option.  There's already a bunch of paths in the CMake build that don't even work because they're not maintained and nobody uses them.  I'd actually like to go through and remove that complexity from the CMake build at some point.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br clear="all"><div><br></div><div>Tell me more about the service idea.  How would you envision it working?</div></div></div></blockquote><div>Well, pretty much like I described earlier.  I write a python script, called swig-bot.py.  You run it like this (I've fabricated an example of what the output of the tool might look like):</div><div><br></div><div>~/lldb$ scripts/swig-bot.py --lang Python --outdir scripts/Python/bindings scripts/lldb.swig </div><div>swig-bot packaging up input files</div><div>scripts/lldb.swig</div><div><div>scripts/SBAddress.i</div><div>scripts/SBAttachInfo.i</div><div>scripts/SBBlock.i</div><div>scripts/SBBreakpoint.i</div><div>scripts/SBBreakpointLocation.i</div><div>scripts/SBBroadcaster.i</div><div>scripts/SBCommandInterpreter.i</div><div>scripts/SBCommandReturnObject.i</div><div>scripts/SBCommunication.i</div><div>scripts/SBCompileUnit.i</div><div>scripts/SBData.i</div><div>scripts/SBDebugger.i</div><div>...</div></div><div>transmitting input files...</div><div>awaiting response...</div><div>Generation</div><div>Output: scripts/Python/bindings/LLDBWrapPython.cpp</div><div>Output: scripts/Python/bindings/lldb.py</div><div><br></div><div>Now you add the 2 output files to your CL, diff them to verify sanity, and submit.</div></div></div>