[mlpack-git] [mlpack/mlpack] Allow to build dlls (#620)

xantares notifications at github.com
Fri Apr 15 16:30:07 EDT 2016


I don't think it's too complicated, ugly for sure if you come from linux, but it's a pretty standard method ot handle things with windows "compilers", and for (b) that's a job of the continuous integration.

Unfortunately, this is only implemented for native windows tools, maybe you'll want to try this (with cmake -DCMAKE_BUILD_SHARED_LIBS=ON):
```
add_library(mlpack ${MLPACK_SRCS})
set_target_properties(mlpack PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
```
As for mingw, turns out I can generate dlls with "--export-all-symbols" linker flag.


---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/620#issuecomment-210632077
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160415/1f434dc3/attachment.html>


More information about the mlpack-git mailing list