File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -868,6 +868,8 @@ if(ENABLE_LCAO)
868868 target_link_libraries (
869869 ${ABACUS_BIN_NAME}
870870 hamilt_lcao
871+ operator_ks_lcao
872+ lcao_extrap
871873 tddft
872874 orb
873875 gint
Original file line number Diff line number Diff line change @@ -7,25 +7,8 @@ add_subdirectory(module_deltaspin)
77if (ENABLE_LCAO)
88 add_subdirectory (module_operator_lcao )
99 add_subdirectory (module_extrap )
10- list ( APPEND objects
10+ set (hamilt_lcao_sources
1111 hamilt_lcao.cpp
12- module_operator_lcao/operator_lcao.cpp
13- module_operator_lcao/veff_lcao.cpp
14- module_operator_lcao/meta_lcao.cpp
15- module_operator_lcao/op_dftu_lcao.cpp
16- module_operator_lcao/deepks_lcao.cpp
17- module_operator_lcao/op_exx_lcao.cpp
18- module_operator_lcao/overlap.cpp
19- module_operator_lcao/ekinetic.cpp
20- module_operator_lcao/nonlocal.cpp
21- module_operator_lcao/td_ekinetic_lcao.cpp
22- module_operator_lcao/td_nonlocal_lcao.cpp
23- module_operator_lcao/td_pot_hybrid.cpp
24- module_operator_lcao/dspin_lcao.cpp
25- module_operator_lcao/dftu_lcao.cpp
26- module_operator_lcao/operator_force_stress_utils.cpp
27- module_extrap/wf_history_lcao.cpp
28- module_extrap/wf_orthonormalize_lcao.cpp
2912 dftu_lcao.cpp
3013 pulay_fs_center2.cpp
3114 FORCE_STRESS.cpp
@@ -61,7 +44,7 @@ if(ENABLE_LCAO)
6144 add_library (
6245 hamilt_lcao
6346 OBJECT
64- ${objects }
47+ ${hamilt_lcao_sources }
6548 )
6649
6750 if (ENABLE_COVERAGE)
Original file line number Diff line number Diff line change 1- set (objects
2- wf_history_lcao.cpp
3- wf_orthonormalize_lcao.cpp
4- )
5-
61add_library (
72 lcao_extrap
83 OBJECT
9- ${objects}
4+ wf_history_lcao.cpp
5+ wf_orthonormalize_lcao.cpp
106)
117
128if (BUILD_TESTING)
Original file line number Diff line number Diff line change 11add_library (
22 operator_ks_lcao
33 OBJECT
4+ operator_lcao.cpp
45 op_exx_lcao.cpp
56 op_dftu_lcao.cpp
67 meta_lcao.cpp
You can’t perform that action at this time.
0 commit comments