All I need is to clone the repository, build the static library and copy it and 
the C header file in a directory that can be found by the Nim bindings, so 
probably within the `nimble path mylib`? It should take a user specified 
argument about the target platform. I would also like to be able to get the 
correct path without user intervention. Should I avoid installing it globally 
or not?! What happens on Windows?

Using a nimble task or a nimscript file from the client package proved 
problematic because I can't get the path to the installed library. 
mymodule.nims wouldn't execute when importing mymodule. A library nimble task 
doesn't look like it takes parameters but I guess I could resort to defining 
multiple tasks like buildAndroid, buildDesktop. Any examples I can use? Or 
better alternatives? 

Reply via email to