Skip to content

LimeSuite should build both Dynamic and Static libraries by default #241

@racerxdl

Description

@racerxdl

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions