DAMASK_EICMD/code/thermal/CMakeLists.txt

15 lines
360 B
CMake
Raw Normal View History

2016-02-24 02:57:37 +05:30
# group source related themal module
set (THERMAL "thermal_isothermal"
"thermal_adiabatic"
"thermal_conduction"
)
# compiler theraml module
foreach (p ${THERMAL})
add_library (${p} "${p}.f90")
2016-02-24 02:57:37 +05:30
endforeach (p)
# set libraries/modules for linking
foreach (p ${THERMAL})
set (DAMASK_LIB ${DAMASK_LIB} ${p})
endforeach (p)