intel / ipu6-camera-hal

Apache License 2.0
39 stars 32 forks source link

cmake: build libcamhal.so from static lib #5

Closed vicamo closed 2 years ago

vicamo commented 2 years ago

This PR builds libcamhal.so directly from already built libcamhal.a to save some compile time and to make sure static/shared libraries have the same object code.

vicamo commented 2 years ago

update: Fix undefined symbols. Don't touch target_link_libraries statements for libcamhal shared library.

alex-tu-cc commented 2 years ago

@hao-yao could you please help to review this PR? It reduces the compiling time so that we save time during Debian packing.