Mark Spanbroek
b8b333baa1
Ensure that C includes are relative to the nim source
...
Added code to determine the include directories in compile time, instead of
the default nimterop behaviour, which is to include paths relative to the
current working directory.
2020-09-08 10:57:14 +02:00
Mark Spanbroek
759934a90a
Ensure that static linking is used on Windows
2020-09-08 10:57:14 +02:00
Mark Spanbroek
abe116bb7b
Do not generate {.header.}
...
It was using absolute paths.
2020-09-08 10:57:14 +02:00
Mark Spanbroek
da8939e160
Add {.compile.} pragma's to generated file
2020-09-08 10:57:14 +02:00
Mark Spanbroek
b1f9dd4ab1
Add build script that converts C headers to a single nim source
...
Removes the need to have CMake when requiring this package.
2020-09-08 10:57:14 +02:00