17 lines
482 B
CMake
17 lines
482 B
CMake
# 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})
|
|
add_library (${p} MODULE "${p}.f90")
|
|
endforeach (p)
|
|
|
|
# set libraries/modules for linking
|
|
foreach (p ${KINEMATICS})
|
|
set (AUX_LIB ${AUX_LIB} ${p})
|
|
endforeach (p) |