CMakeLists.txt 562 Bytes
Newer Older
1
#------------------------------------------------------------------------------
2
set(sources
3 4
  parallel_3D.c
  histogram.cpp)
5

6 7 8
if(ENABLE_SENSEI)
  list(APPEND sources
    DataAdaptor.h
9 10 11
    DataAdaptor.cxx
    Bridge.h
    Bridge.cxx)
12 13
endif()

14 15 16
#------------------------------------------------------------------------------
add_executable(3D_Grid ${sources})
target_compile_definitions(3D_Grid PRIVATE _FILE_OFFSET_BITS=64 _LARGEFILE64_SOURCE)
Utkarsh Ayachit's avatar
Utkarsh Ayachit committed
17
target_link_libraries(3D_Grid PRIVATE m mpi)
18 19

if(ENABLE_SENSEI)
20
  target_link_libraries(3D_Grid PRIVATE sensei)
21
endif()