Add Windows paths to design/units.md

This commit is contained in:
Sasha Koshka 2024-03-27 13:38:13 -04:00
parent 76615df4d4
commit 43ed297a12
1 changed files with 9 additions and 1 deletions

View File

@ -38,7 +38,15 @@ in order of preference:
- `/usr/src/fspl`
- `/usr/include/fspl`
Files in `include` directories should *not* include program code, and should
On windows, these are used instead:
- `%LOCALAPPDATA%\\fspl\\src`
- `%LOCALAPPDATA%\\fspl\\include`
- `%ALLUSERSPROFILE%\\fspl\\src`
- `%ALLUSERSPROFILE%\\fspl\\include`
- `%ProgramFiles%\\fspl\\src`
- `%ProgramFiles%\\fspl\\include`
Files in `include` directories *should not* include program code, and should
only define types and external functions and methods, similar to header files in
C. They may have a corresponding shared object file that programs can
dynamically link against.