DAMASK_EICMD/code/vacancyflux/CMakeLists.txt

15 lines
377 B
CMake
Raw Normal View History

2016-02-24 02:57:37 +05:30
# group source file
set (VACANCYFLUX "vacancyflux_isoconc"
"vacancyflux_isochempot"
"vacancyflux_cahnhilliard"
)
# compiler as module
foreach (p ${VACANCYFLUX})
add_library (${p} MODULE "${p}.f90")
endforeach (p)
# set libraries/modules for linking
foreach (p ${VACANCYFLUX})
set (AUX_LIB ${AUX_LIB} ${p})
endforeach (p)