2016-02-24 03:30:41 +05:30
|
|
|
# group sources
|
|
|
|
set (KINEMATICS "kinematics_cleavage_opening"
|
|
|
|
"kinematics_slipplane_opening"
|
|
|
|
"kinematics_thermal_expansion"
|
|
|
|
"kinematics_vacancy_strain"
|
|
|
|
"kinematics_hydrogen_strain"
|
|
|
|
)
|
|
|
|
|
|
|
|
# compile kinamtic modules
|
|
|
|
foreach (p ${KINEMATICS})
|
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 ${KINEMATICS})
|
2016-02-26 21:38:25 +05:30
|
|
|
set (DAMASK_LIB ${DAMASK_LIB} ${p})
|
2016-02-25 02:55:57 +05:30
|
|
|
endforeach (p)
|