mathworks / libmexclass

libmexclass is a MATLAB framework which enables users to implement the functionality of MATLAB classes in terms of equivalent C++ classes using MEX.
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Copy only the shared object and MATLAB executable files while building the example #28

Closed sreeharihegden closed 1 year ago

sreeharihegden commented 1 year ago

In the libmexclass/example/CMakeLists.txt, currently after building the example using CMake, the entire built artifacts are being copied over to the libmexclass folder in the install location.

This might not be necessary.

Copy only the libmexclass.so and gateway.mexa64, or the equivalent on other platforms (e.g.: libmexclass.sln and gateway.mexw64 on Windows) to the destination install folder.