DAMASK_EICMD/code/damage/CMakeLists.txt

15 lines
313 B
CMake
Raw Normal View History

# group sources
set (DAMAGE "damage_none"
"damage_local"
"damage_nonlocal"
)
# compile damage module
foreach (p ${DAMAGE})
add_library (${p} MODULE "${p}.f90")
endforeach (p)
# set libraries for linking
foreach (p ${DAMAGE})
set (AUX_LIB ${AUX_LIB} ${P})
endforeach (p)