forked from deepmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
51 lines (48 loc) · 966 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
51 lines (48 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
list(APPEND objects
esolver_factory.cpp
esolver_ks.cpp
esolver_fp.cpp
esolver_ks_pw.cpp
esolver_ks_lcaopw.cpp
esolver_sdft_pw.cpp
esolver_lj.cpp
esolver_dp.cpp
esolver_nep.cpp
esolver_of.cpp
esolver_of_tddft.cpp
esolver_of_interface.cpp
esolver_of_tool.cpp
pw_others.cpp
esolver_dfpt_pw.cpp
)
if(ENABLE_LCAO)
list(APPEND objects
esolver_ks_lcao.cpp
esolver_ks_lcao_tddft.cpp
esolver_lr_lcao_tddft.cpp
esolver_gets.cpp
lcao_others.cpp
esolver_dm2rho.cpp
esolver_double_xc.cpp
)
if(ENABLE_LIBRI)
list(APPEND objects
esolver_lr_lcao_bse.cpp
)
endif()
endif()
add_library(
esolver
OBJECT
${objects}
../source_pw/module_pwdft/exx_helper.cpp
../source_pw/module_pwdft/exx_helper.h
)
if(ENABLE_COVERAGE)
add_coverage(esolver)
endif()
if(BUILD_TESTING)
if(ENABLE_MPI)
add_subdirectory(test)
endif()
endif()