2016-02-24 03:30:41 +05:30
|
|
|
# group sources
|
|
|
|
set (POROSITY "porosity_none"
|
|
|
|
"porosity_phasefield"
|
|
|
|
)
|
|
|
|
|
|
|
|
# compile porosity modules
|
|
|
|
foreach (p ${POROSITY})
|
2016-02-26 21:38:25 +05:30
|
|
|
add_library (${p} "${p}.f90")
|
2016-02-24 03:30:41 +05:30
|
|
|
endforeach (p)
|
2016-02-25 02:55:57 +05:30
|
|
|
|
|
|
|
# set libraries/modules for linking
|
|
|
|
foreach (p ${POROSITY})
|
2016-02-26 21:38:25 +05:30
|
|
|
set (DAMASK_LIB ${DAMASK_LIB} ${p})
|
2016-02-25 02:55:57 +05:30
|
|
|
endforeach (p)
|