|
[Sponsors] |
August 18, 2020, 07:22 |
How dependency file is generated in OpenFOAM
|
#1 |
New Member
saurabh
Join Date: May 2020
Posts: 2
Rep Power: 0 |
Hi all.
I wanted to know, how OpenFoam selects the .C or .H files while generating dependency (.dep) for any source file. I am asking this as i have added some .cpp files which i want to be in the dependency list in the same way as .H and .C files are added. I have just started working on OpenFOAM and very new to its code structure. It would be helpful if some info is available regarding this. Thanks and Regards, |
|
August 18, 2020, 16:31 |
|
#2 |
Senior Member
|
Often a file Make/files exists. The files Make/files and Make/options are used by wmake (a shell around make, see e.g. https://en.wikipedia.org/wiki/Make_(software) ) to manage the compilation.
|
|
September 6, 2020, 04:20 |
|
#3 |
Member
Rahul Vadrabade
Join Date: Apr 2018
Posts: 46
Rep Power: 8 |
Leave it to wmake to build dependency list.
Add as many .C files in Make/files (file name is EXE=) and all includes (EXE_INC) with library(EXE_LIBS) to be linked in Make/options. I hope you are well aware of https://cfd.direct/openfoam/user-gui...-applications/ |
|
Tags |
community contribution, developers, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 11:59 |