|
[Sponsors] |
September 16, 2008, 17:14 |
hi everyone!
I'm curious wh
|
#1 |
Member
Maxim Loginov
Join Date: Mar 2009
Posts: 33
Rep Power: 17 |
hi everyone!
I'm curious why in source code developers use simply #include "someFile.H" and add many -I$(LIB_SRC)/path/to/include to compiler options, instead of inclusion the path directly into the source file, like #include "path/to/include/someFile.H" and add only one option -I$(LIB_SRC). this makes code more readable and facilitate code browsing with various code analyzers. is there a particular reason for this type of inclusion? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set compiler paths | r08n | OpenFOAM Installation | 0 | April 1, 2008 11:11 |
Trouble running wmakewrong include paths | philippose | OpenFOAM Installation | 1 | October 13, 2006 13:50 |
CFD Career Paths? Wise choice? | boyz_99 | Main CFD Forum | 3 | August 29, 2006 15:55 |
import particle paths | Marie | Main CFD Forum | 0 | August 22, 2006 15:26 |