DAMASK_EICMD/code/kinematics/CMakeLists.txt

17 lines
481 B
CMake
Raw Normal View History

# 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} "${p}.f90")
endforeach (p)
# set libraries/modules for linking
foreach (p ${KINEMATICS})
set (DAMASK_LIB ${DAMASK_LIB} ${p})
endforeach (p)