Reduce duplicated lists.

This commit is contained in:
Ye Luo 2021-12-22 11:17:26 -06:00
parent 10dda1a497
commit 6a0d4bbc7f
5 changed files with 50 additions and 91 deletions

View File

@ -404,17 +404,7 @@ target_link_libraries(qe_gww_pw4gww_exe
###########################################################
qe_install_targets(
# Libraries
qe_gww
qe_gww_pw4gww
qe_gww_bse
qe_gww_head
qe_gww_minpack
qe_gww_simple
qe_gww_simplebse
qe_gww_simpleip
# Executables
set(GWW_EXE_TARGETS
qe_gww_pw4gww_exe
qe_gww_util_grap_exe
qe_gww_util_abcoefftoeps_exe
@ -427,16 +417,21 @@ qe_install_targets(
qe_gww_simple_bse_exe
qe_gww_simple_ip_exe)
qe_install_targets(
# Libraries
qe_gww
qe_gww_pw4gww
qe_gww_bse
qe_gww_head
qe_gww_minpack
qe_gww_simple
qe_gww_simplebse
qe_gww_simpleip
# Executables
${GWW_EXE_TARGETS})
add_custom_target(gwl
DEPENDS
qe_gww_util_grap_exe
qe_gww_util_abcoefftoeps_exe
qe_gww_util_memorypw4gww_exe
qe_gww_bse_bse_main_exe
qe_gww_gww_exe
qe_gww_gww_fit_exe
qe_gww_head_exe
qe_gww_simple_bse_exe
qe_gww_simple_ip_exe
${GWW_EXE_TARGETS}
COMMENT
"GW with Lanczos chains")

View File

@ -449,13 +449,7 @@ target_link_libraries(qe_phonon_fdifc_exe
###########################################################
qe_install_targets(
# Libraries
qe_phonon_ph
qe_phonon_phaux
qe_phonon_gamma
qe_phonon_fd
# Executables
set(PH_EXE_TARGETS
qe_phonon_ph_exe
qe_phonon_phcg_exe
qe_phonon_dynmat_exe
@ -472,21 +466,17 @@ qe_install_targets(
qe_phonon_fdifc_exe
qe_phonon_postahc_exe)
qe_install_targets(
# Libraries
qe_phonon_ph
qe_phonon_phaux
qe_phonon_gamma
qe_phonon_fd
# Executables
${PH_EXE_TARGETS})
add_custom_target(ph
DEPENDS
qe_phonon_ph_exe
qe_phonon_dynmat_exe
qe_phonon_q2r_exe
qe_phonon_dvscf_q2r_exe
qe_phonon_matdyn_exe
qe_phonon_q2qstar_exe
qe_phonon_lambda_exe
qe_phonon_alpha2f_exe
qe_phonon_epa_exe
qe_phonon_fqha_exe
qe_phonon_fd_exe
qe_phonon_fdef_exe
qe_phonon_fdifc_exe
qe_phonon_postahc_exe
${PH_EXE_TARGETS}
COMMENT
"phonon code, Gamma-only and third-order derivatives")

View File

@ -494,10 +494,7 @@ target_link_libraries(qe_pp_st_ef_exe
###########################################################
qe_install_targets(
# Libraries
qe_pp
# Executables
set(PP_EXE_TARGETS
qe_pp_exe
qe_pp_opengrid_exe
qe_pp_average_exe
@ -532,34 +529,14 @@ qe_install_targets(
qe_pp_st_fermiint0_exe
qe_pp_st_fermiint1_exe)
qe_install_targets(
# Libraries
qe_pp
# Executables
${PP_EXE_TARGETS})
add_custom_target(pp
DEPENDS
qe_pp_exe
qe_pp_opengrid_exe
qe_pp_average_exe
qe_pp_bands_exe
qe_pp_dos_exe
qe_pp_pawplot_exe
qe_pp_planavg_exe
qe_pp_plotband_exe
qe_pp_plotproj_exe
qe_pp_plotrho_exe
qe_pp_pmw_exe
qe_pp_projwfc_exe
qe_pp_pw2wannier90_exe
qe_pp_pw2critic_exe
qe_pp_wfck2r_exe
qe_pp_initial_state_exe
qe_pp_pw2gw_exe
qe_pp_sumpdos_exe
qe_pp_epsilon_exe
qe_pp_wannierham_exe
qe_pp_wannierplot_exe
qe_pp_molecularpdos_exe
qe_pp_pw2bgw_exe
qe_pp_fermivelocity_exe
qe_pp_fermisurface_exe
qe_pp_fermiproj_exe
qe_pp_ppacf_exe
${PP_EXE_TARGETS}
COMMENT
"postprocessing programs")

View File

@ -420,10 +420,7 @@ target_link_libraries(qe_pw_tools_scan_ibrav_exe
###########################################################
qe_install_targets(
# Libraries
qe_pw
# Executables
set(PW_EXE_TARGETS
qe_pw_exe
qe_pw_tools_ibrav2cell_exe
qe_pw_tools_cell2ibrav_exe
@ -432,13 +429,14 @@ qe_install_targets(
qe_pw_tools_pwi2xsf_exe
qe_pw_tools_scan_ibrav_exe)
qe_install_targets(
# Libraries
qe_pw
# Executables
${PW_EXE_TARGETS})
add_custom_target(pw
DEPENDS
qe_pw_exe
qe_pw_tools_ibrav2cell_exe
qe_pw_tools_cell2ibrav_exe
qe_pw_tools_ev_exe
qe_pw_tools_kpoints_exe
qe_pw_tools_pwi2xsf_exe
${PW_EXE_TARGETS}
COMMENT
"basic code for scf, structure optimization, MD")

View File

@ -158,22 +158,21 @@ target_link_libraries(qe_tddfpt_turbospectrum_exe
###########################################################
qe_install_targets(
# Libraries
qe_tddfpt
# Executables
set(TDDFPT_EXE_TARGETS
qe_tddfpt_turbolanczos_exe
qe_tddfpt_turbodavidson_exe
qe_tddfpt_turboeels_exe
qe_tddfpt_turbomagnons_exe
qe_tddfpt_turbospectrum_exe)
qe_install_targets(
# Libraries
qe_tddfpt
# Executables
${TDDFPT_EXE_TARGETS})
add_custom_target(tddfpt
DEPENDS
qe_tddfpt_turbolanczos_exe
qe_tddfpt_turbodavidson_exe
qe_tddfpt_turboeels_exe
qe_tddfpt_turbospectrum_exe
qe_tddfpt_turbomagnons_exe
${TDDFPT_EXE_TARGETS}
COMMENT
"time dependent dft code")