BUILD NOTES
static site checker
https://ssc.lu/
(c) 2020 Dylan Harris


Introduction
------------
SSC can be built from the unix command line using CMake, or with Visual Studios 2015 / 2017 / 2019 under Windows.


Boost
-----
Before you can build SSC, you may find you need to install and build boost version 1.71 or better
(I use version 1.74).

You may need to set two environment variables:
SSCPATH to point to the ssc directory;
BOOST to point to the boost root directory.


Windows
-------
To build from Visual Studio, navigate to recipe\tea, open the appropriate .sln file, then build.
Both 32bit and 64bit builds work. However, the 32bit executable cannot analyse large websites.
Visual Studios 2015, 2017 & 2019 have been built & tested, for Windows 7, 8.1 & 10 respectively.


Unix Flavours
--------------
You will need CMake 3.11 or better on your system.

From the home ssc directory, compile thus:

cd recipe/tea
cmake .
make
ctest
make install

If everything works correctly, then everything will be built, a series of tests run, with a final result
at the very end saying no failures. Having said that, given SSC is prealpha, dont be too surprised to
see some warnings or some final test errors.

The following have successfully built:
Linux: Centos 8 amd64, Ubuntu Server 20.10
OpenBSD 6.8: amd64
MacOS: intel Big Sur, Catalina, Mojave, & High Sierra x64


OpenBSD amd64
-------------

The versions of boost and cmake in packages are sufficient.
Significantly increase available memory in login.conf for your account.

