DAMASK_EICMD/code/plastic/CMakeLists.txt

21 lines
523 B
CMake
Raw Normal View History

# group sources
set (PLASTIC "plastic_dislotwin"
"plastic_disloUCLA"
"plastic_isotropic"
"plastic_j2"
"plastic_phenopowerlaw"
"plastic_titanmod"
"plastic_nonlocal"
"plastic_none"
"plastic_phenoplus"
)
# compile module
foreach (p ${PLASTIC})
add_library (${p} MODULE "${p}.f90")
endforeach (p)
# set libraries/modules for linking
foreach (p ${PLASTIC})
set (AUX_LIB ${AUX_LIB} ${p})
endforeach (p)