circify / compiler

Superseded by https://github.com/circify/circ
https://github.com/circify/circ
5 stars 2 forks source link

Add includes #19

Closed elefthei closed 3 years ago

elefthei commented 3 years ago

Add support for GCC preprocessor options, including the ability to include .h libraries. It will look for imports

  1. In CWD
  2. In the parent directory of the source file
  3. In other directories passed as options --gcc-options="-I/usr/include" in that order.
elefthei commented 3 years ago

@alex-ozdemir We can probably merge this in both repos? It's a small but useful change.