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"
|
|
|
|
)
|
|
|
|
|
2016-03-01 00:27:15 +05:30
|
|
|
# compile module and cumulatively link the
|
|
|
|
# compiled libraries
|
2016-02-24 03:30:41 +05:30
|
|
|
foreach (p ${KINEMATICS})
|
2016-02-26 21:38:25 +05:30
|
|
|
add_library (${p} "${p}.f90")
|
2016-03-01 00:27:15 +05:30
|
|
|
target_link_libraries(${p} DAMASK_DRIVERS)
|
|
|
|
add_library (DAMASK_DRIVERS ALIAS ${p})
|
2016-02-25 02:55:57 +05:30
|
|
|
endforeach (p)
|