DAMASK_EICMD/code/porosity/CMakeLists.txt

14 lines
304 B
CMake
Raw Normal View History

# group sources
set (POROSITY "porosity_none"
"porosity_phasefield"
)
# compile porosity modules
foreach (p ${POROSITY})
add_library (${p} "${p}.f90")
endforeach (p)
# set libraries/modules for linking
foreach (p ${POROSITY})
set (DAMASK_LIB ${DAMASK_LIB} ${p})
endforeach (p)