json_spirit package

json_spirit builds out of the box as a cmake project. The only gotcha is that the original source site protects the download URL with a login form, so I have had mirror the original package on my website.

Also not sure what the update target is supposed to do...
On Wed, Aug 20, 2014 at 03:41:39PM -0700, Timothy Gu wrote:
> 
> MXE does support threading (see w32threads and pthreads-win32 packages), and Boost package seems to enable it:
> 
> ```
>         threading=multi \
>         link=$(if $(BUILD_STATIC),static,shared) \
>         threadapi=win32 \
> ```
> 
> So should we define `BOOST_SPIRIT_THREADSAFE`?

Yes we should. Its better to be threadsafe and lose a small amount of
performance than to have the performance on single-threaded apps and
have it blow up when someone compiles a multi-threaded application.

A CMake question: does specifying -DBOOST_SPIRIT_THREADSAFE enable the
compiler option of the same name? Or do I need to do something a
little bit different?

Cheers
-- 

----------------------------------------------------------------------------
Prof Russell Standish                  Phone 0425 253119 (mobile)
Principal, High Performance Coders
Visiting Professor of Mathematics      hpcoder@hpcoders.com.au
University of New South Wales          http://www.hpcoders.com.au

 Latest project: The Amoeba's Secret 
         (http://www.hpcoders.com.au/AmoebasSecret.html)
----------------------------------------------------------------------------