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 valuesSingle
orMultiple
, withMultiple
being the default) denotes whether the framework is built as a single library or a bunch of smaller libraries. -
ARTIFACT_TYPE
(valid valuesStatic
orShared
, withStatic
being the default) denotes the type of the libraries being built.Static
will produce static (*.a
) libraries andShared
will produce dynamic (*.so
on Linux or*.dylib
on 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
.