CMakeLists.txt 412 Bytes
Newer Older
1 2
project(cxx)

Bram Veenboer's avatar
Bram Veenboer committed
3
# set utility include directory
4
include_directories(${IDG_BIN_UTILITY_INCLUDE_DIR})
Bram Veenboer's avatar
Bram Veenboer committed
5

6 7 8
# set common include directory
include_directories(common)

9 10 11
# set common link libraries
set(LINK_LIBRARIES idg-util)

12 13 14 15 16 17 18 19 20
# add subfolders
add_subdirectory(CPU)
add_subdirectory(Hybrid)
if (BUILD_LIB_CUDA)
add_subdirectory(CUDA)
endif ()
if (BUILD_LIB_OPENCL)
add_subdirectory(OpenCL)
endif ()
21
add_subdirectory(plan)