2016-02-24 03:30:41 +05:30
|
|
|
# group sources
|
|
|
|
set (PLASTIC "plastic_dislotwin"
|
|
|
|
"plastic_disloUCLA"
|
|
|
|
"plastic_isotropic"
|
|
|
|
"plastic_j2"
|
|
|
|
"plastic_phenopowerlaw"
|
|
|
|
"plastic_titanmod"
|
|
|
|
"plastic_nonlocal"
|
|
|
|
"plastic_none"
|
|
|
|
"plastic_phenoplus"
|
|
|
|
)
|
2016-02-25 02:55:57 +05:30
|
|
|
|
2016-02-24 03:30:41 +05:30
|
|
|
# compile module
|
|
|
|
foreach (p ${PLASTIC})
|
|
|
|
add_library (${p} MODULE "${p}.f90")
|
|
|
|
endforeach (p)
|
2016-02-25 02:55:57 +05:30
|
|
|
|
|
|
|
# set libraries/modules for linking
|
|
|
|
foreach (p ${PLASTIC})
|
|
|
|
set (AUX_LIB ${AUX_LIB} ${p})
|
|
|
|
endforeach (p)
|