Currently its only possible to build Dynamic or Static at a time. Ideally the default compilantion should generate both .so and .a files for both static linking and dynamic linking, keeping the choice of the target compiled program.
So far I can archieve that by running two compilations:
# Compile Static
cmake .. -DBUILD_SHARED_LIBS=OFF
make -j8
sudo make install
# Build Dynamic
cmake .. -DBUILD_SHARED_LIBS=ON
make -j8
sudo make install
That leaves both libLimeSuite.a and libLimeSuite.so at /usr/lib/.
PS: I will check if I can do that in CMakeLists, but looks like a lot of code is bound to LIME_DLL define.
Currently its only possible to build Dynamic or Static at a time. Ideally the default compilantion should generate both .so and .a files for both static linking and dynamic linking, keeping the choice of the target compiled program.
So far I can archieve that by running two compilations:
That leaves both
libLimeSuite.aandlibLimeSuite.soat/usr/lib/.PS: I will check if I can do that in CMakeLists, but looks like a lot of code is bound to
LIME_DLLdefine.