Skip to content

Commit cc495e1

Browse files
committed
fix fpide documentation, we can do includes in fpide
1 parent aded830 commit cc495e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/general.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ file1.c
1414
file1.h
1515
file2.c
1616
file2.h
17+
>-I../include
1718
>-DDEF1=10
1819
>-DDEF2=20
1920
```
20-
Basically they are a list of all files in the project. Lines beginning with `#` are ignored. Lines beginning with `>` indicate compiler configuration or defines; the only such lines flexspin understand are definitions like `-DNAME=value`, which define macros.
21+
Basically they are a list of all files in the project. Lines beginning with `#` are ignored. Lines beginning with `>` indicate compiler configuration or defines. Flexspin understands definitions like `-DNAME=value`, which define macros,
22+
and `-Idirectory` to add an include directory.
2123

2224
When the compiler sees a file with an extension of `.fpide` or `.side` it assumes the file is a project file, and parses it accordingly. Projects may include sub-projects.
2325

0 commit comments

Comments
 (0)