* [FEATURE] Allow build of pe-sieve as static library
Add a CMake flag for building pe-sieve as a static library. This
includes exporting the library headers.
Export locations are adjusted to use GNU standards.
* [FEATURE] Provide static library headers
When compiling for a static library, use default calling convention
and offer C compatible header files.
Note that any user of the static library has to specify
PESIEVE_STATIC_LIB as a compile definition.
* [FEATURE] Add option to link statically
Add an option to link statically against the compiler libraries.
This is useful for cross compiling where the compiler libraries
won't necessarily be available on the target platform.
Co-authored-by: hasherezade <hasherezade@users.noreply.github.com>