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)
|
2016-02-25 02:55:57 +05:30
|
|
|
|
|
|
|
# set libraries/modules for linking
|
|
|
|
foreach (p ${VACANCYFLUX})
|
|
|
|
set (AUX_LIB ${AUX_LIB} ${p})
|
|
|
|
endforeach (p)
|