Skip to content

Commit 5065730

Browse files
committed
add CmakeLists.txt
1 parent 79a48f0 commit 5065730

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
add_definitions(-D__NORMAL)
2+
if (USE_CUDA)
3+
AddTest(
4+
TARGET pw_test_gpu
5+
LIBS parameter ${math_libs} planewave device FFTW3::FFTW3_FLOAT
6+
SOURCES ../../../module_base/matrix.cpp ../../../module_base/complexmatrix.cpp ../../../module_base/matrix3.cpp ../../../module_base/tool_quit.cpp
7+
../../../module_base/mymath.cpp ../../../module_base/timer.cpp ../../../module_base/memory.cpp ../../../module_base/blas_connector.cpp
8+
../../../module_base/libm/branred.cpp ../../../module_base/libm/sincos.cpp
9+
../../../module_base/module_device/memory_op.cpp
10+
depend_mock.cpp pw_test.cpp pw_basis_C2C.cpp pw_basis_C2R.cpp pw_basis_k_C2C.cpp
11+
test_tool.cpp
12+
)
13+
endif()
14+

0 commit comments

Comments
 (0)