2016-02-24 03:30:41 +05:30
|
|
|
# group sources
|
|
|
|
set (DAMAGE "damage_none"
|
|
|
|
"damage_local"
|
|
|
|
"damage_nonlocal"
|
|
|
|
)
|
|
|
|
|
|
|
|
# compile damage module
|
|
|
|
foreach (p ${DAMAGE})
|
|
|
|
add_library (${p} MODULE "${p}.f90")
|
|
|
|
endforeach (p)
|
2016-02-25 02:55:57 +05:30
|
|
|
|
|
|
|
# set libraries for linking
|
|
|
|
foreach (p ${DAMAGE})
|
|
|
|
set (AUX_LIB ${AUX_LIB} ${P})
|
|
|
|
endforeach (p)
|