DAMASK_EICMD/code/spectral/CMakeLists.txt

18 lines
489 B
CMake
Raw Normal View History

2016-02-24 02:57:37 +05:30
# group source for sepctral solver driver
set (SPECTRAL "spectral_damage"
"spectral_mech_AL"
"spectral_mech_Basic"
"spectral_mech_Polarisation"
"spectral_thermal"
"spectral_utilities"
2016-02-24 02:57:37 +05:30
)
# compile spectral solver driver module
foreach (p ${SPECTRAL})
add_library (${p} "${p}.f90")
2016-02-24 02:57:37 +05:30
endforeach (p)
# set libraries/modules for linking
foreach (p ${SPECTRAL})
set (DAMASK_LIB ${DAMASK_LIB} ${p})
endforeach (p)