ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.06k stars 413 forks source link

How to compile the library as a shared object file (.so) #36

Closed frallain closed 6 years ago

frallain commented 6 years ago

I am not well-versed into the compilation process with cmake/make and the current process gives a list of Object files (.o) i.e.

git clone https://github.com/ermig1979/Simd.git
cd Simd/prj/cmake/
cmake . -DTOOLCHAIN="" -DTARGET="" -DCMAKE_BUILD_TYPE="Release"
make

What should be done to link all these object files into one shared object .so file? Thanks in advance

ermig1979 commented 6 years ago

cmake . -DTOOLCHAIN="" -DTARGET="" -DCMAKE_BUILD_TYPE="Release" -DLIBRARY="SHARED"

frallain commented 6 years ago

fixed with commit 0b24b5ca7f2205b1af1ad75972759a2b312ddd69 on 2017-12-13