DAMASK_EICMD/code/thermal/CMakeLists.txt

15 lines
361 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} MODULE "${p}.f90")
endforeach (p)
# set libraries/modules for linking
foreach (p ${THERMAL})
set (AUX_LIB ${AUX_LIB} ${p})
endforeach (p)