DAMASK_EICMD/code/homogenization/CMakeLists.txt

16 lines
416 B
CMake

# group sources
set (HOMOGENIZATION "homogenization"
"homogenization_RGC"
"homogenization_isostrain"
"homogenization_none"
)
# compile modules
foreach (p ${HOMOGENIZATION})
add_library (${p} "${p}.f90")
endforeach (p)
# set libraries/modules for linking
foreach (p ${HOMOGENIZATION})
set (DAMASK_LIB ${DAMASK_LIB} ${p})
endforeach (p)