ENH: use foamVersion::api internally in etcFiles searching (#1010)
- prefer this to using the OPENFOAM define since this improves the internal consistency with the build information. The API information could change between builds without the etcFiles.C being recompiled whereas the value of Foam::foamVersion::api is force updated during the build (triggers recompilation of globals.Cver)
Showing
- applications/test/etcFiles/Test-etcFiles.C 13 additions, 2 deletionsapplications/test/etcFiles/Test-etcFiles.C
- src/OpenFOAM/global/argList/argList.C 9 additions, 3 deletionssrc/OpenFOAM/global/argList/argList.C
- src/OpenFOAM/global/etcFiles/etcFiles.C 47 additions, 3 deletionssrc/OpenFOAM/global/etcFiles/etcFiles.C
- src/OpenFOAM/global/etcFiles/etcFiles.H 15 additions, 7 deletionssrc/OpenFOAM/global/etcFiles/etcFiles.H
Please register or sign in to comment