> git clone email@example.com:Loki-Astari/ThorsSerializer.git > cd ThorsSerializer > ./configure --disable-binary > make > sudo make install
By default installation will be in
/usr/local/lib. You can override this with the normal auto-tools defaults. Use
./configure --help to get details.
What is installed:
libThorSerialize14.so is build using
-O3 and thus is fully optimized and debug symbols have been stripped.
libThorSerialize14D.so is build using
-g and is useful for debugging purposes.
What is Downloaded
The configuration processes will download the generic makefiles (using git) from ThorMaker which in turn will download and build google's gtest and vera++ library that is used in running the unit tests.
This library uses features from C++14 so you will need a compiler that supports this. The generic makefile also does code coverage tests so your compiler will also need to support a code coverage tool that has an interface similar to
It has been tested on travis-ci.org using clang 3.5 and g++ 4.9 (on mac and ubuntu). Though clang 3.4 also supports C++14 its code coverage tool is very basic and the generic makefiles will fail when attempting to perform code coverage tests.
The yaml serialization uses libyaml so you will need that installed locally. The configuration files attempt to detect in the default location. If it is not there detailed instructions of your options are provided.
You can disable some of the serialization code with:
Note: Because the binary serialization is still experimental I force you to explicitly turn in on with: