New Artifact Build Options
Removes the BUILD_SHARED_LIBS and BUILD_SINGLE_SHARED_LIB cmake build options and replaces them with ARTIFACT_MODE and ARTIFACT_TYPE. Reason for the change is that I have a little side project I'm working on and I was having trouble with the LLVM command line arguments when trying to link to link with Parabix from an external project (probably something that should be looked into). I was able to work around the issue by compiling the framework as a single static library which this changes now allows for.
-
ARTIFACT_MODE(valid valuesSingleorMultiple, withMultiplebeing the default) denotes whether the framework is built as a single library or a bunch of smaller libraries. -
ARTIFACT_TYPE(valid valuesStaticorShared, withStaticbeing the default) denotes the type of the libraries being built.Staticwill produce static (*.a) libraries andSharedwill produce dynamic (*.soon Linux or*.dylibon macOS).
The file name for the single framework library has also been changed from libparabix_framwork.a (.so/.dylib for shared) to just libparabix.a.