CMakeLists.txt 558 Bytes
Newer Older
1 2 3
# Copyright (C) 2020 ASTRON (Netherlands Institute for Radio Astronomy)
# SPDX-License-Identifier: GPL-3.0-or-later

4 5
project(cxx)

Bram Veenboer's avatar
Bram Veenboer committed
6
# set utility include directory
7
include_directories(${IDG_BIN_UTILITY_INCLUDE_DIR})
Bram Veenboer's avatar
Bram Veenboer committed
8

9 10 11
# set common include directory
include_directories(common)

12 13 14
# set common link libraries
set(LINK_LIBRARIES idg-util)

15 16 17 18 19 20 21 22 23
# add subfolders
add_subdirectory(CPU)
add_subdirectory(Hybrid)
if (BUILD_LIB_CUDA)
add_subdirectory(CUDA)
endif ()
if (BUILD_LIB_OPENCL)
add_subdirectory(OpenCL)
endif ()
24
add_subdirectory(plan)
25
add_subdirectory(distributed)