Nim to lib

2021-12-12 Thread ftsf
Hi, You can see the compiler docs here specifically you'll want to compile with `--app:lib` or `--app:staticlib` Any functions you want exported in your library want to have `{.exportc,dynlib,cdecl.}` (you can skip dynlib if it's for a staticlib)

Nim to lib

2021-12-12 Thread archnim
Hello world. Please how to compile my Nim code to static and dynamic lib ? Then, how to load them in a project ? Thanks in advance.