Debian Codegraph @

hic/tests/CMakeLists.txt

raw
1 # (C) Copyright 2024 ECMWF.
2 #
3 # This software is licensed under the terms of the Apache Licence Version 2.0
4 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5 # In applying this licence, ECMWF does not waive the privileges and immunities
6 # granted to it by virtue of its status as an intergovernmental organisation nor
7 # does it submit to any jurisdiction.
8
9 ecbuild_add_test( TARGET hic_test_dummy
10 SOURCES test_hic_dummy.cc
11 LIBS hic
12 DEFINITIONS HIC_BACKEND_DUMMY=1
13 )
14
15 if( HAVE_HIP OR HAVE_CUDA )
16 ecbuild_add_test( TARGET hic_test_hic
17 SOURCES test_hic.cc
18 LIBS hic
19 )
20
21 ecbuild_add_test( TARGET hic_test_hicsparse
22 SOURCES test_hicsparse.cc
23 LIBS hicsparse
24 )
25 endif()
26
27 add_subdirectory(test_find_hic)