I would like to create a library specific to a set of applications I have written and am considering porting some of it to Nim.
I have a small collection of source files in a separate directory that I would like to compile either to object files or go one step further an turn the object files into a library, shared or static. I'm describing something very standard in the C world. I'll ask the simple question first -- how do I compile a nim source file into an object file? I've tried --noMain and --noLinking, to --noAvail :-)
Once I have the .o files, how do I make them available for importing by source that will be compiled into an executable?
I know about Nimble packages, but that seems like over-kill for what I want to do here, since the shared code is specific to this suite of applications and not generally useful.