Actually **header** pragma will be converted to **#include "header"**, so C
compiler is looking it in current directory and directories specified in **-I**
argument. So you can easily **{.passC:"-I/some/directory/you/want".}** and it
will start looking for your headers not only in 'nimcache' directory. This must
work for GCC and MSVC compilers.
- Re: How to embed a header file into a .nim file mratsim
- Re: How to embed a header file into a .nim file cheatfate
