Is there any way currently in Nim to get the current file path at compile time? For example, I'd like to load a header from the path where my library is installed (either in a local directory or in the nimble directory). Something like so:
{.stdcall, importc: "functionName", header: staticGetFileDir() & "/library/path.h".}
Nimgen also does something similar, check out one of the generated source files.