CMakeLists.txt 1.39 KB
Newer Older
1
2
3
4
OPTION( WALBERLA_BLOCKFOREST_PRIMITIVE_BLOCKID "BlockForest: enables/disables BlockID implementation as a primitive data type (uint_t)" ON )

mark_as_advanced( WALBERLA_BLOCKFOREST_PRIMITIVE_BLOCKID )

5
configure_file( CMakeDefs.in.h CMakeDefs.h )
6

7
add_library( blockforest )
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
target_link_libraries( blockforest PUBLIC communication core domain_decomposition stencil )
target_sources( blockforest
      PRIVATE
      AABBRefinementSelection.h
      all.h
      BlockDataHandling.h
      BlockForestEvaluation.h
      BlockForestFile.h
      BlockForest.h
      Block.h
      BlockID.h
      BlockNeighborhoodConstruction.h
      BlockNeighborhoodSection.h
      BlockReconstruction.h
      CMakeDefs.in.h
      GlobalLoadBalancing.h
      HilbertCurveConstruction.h
      Initialization.h
      OutputColor.h
      PhantomBlockForest.h
      PhantomBlock.h
      SetupBlockForest.h
      SetupBlock.h
      StructuredBlockForest.h
      Types.h
      Utility.h
      Block.cpp
      BlockDataHandling.cpp
      BlockForest.cpp
      BlockForestEvaluation.cpp
      BlockID.cpp
      BlockNeighborhoodConstruction.cpp
      BlockReconstruction.cpp
      Initialization.cpp
      OutputColor.cpp
      PhantomBlock.cpp
      PhantomBlockForest.cpp
      SetupBlock.cpp
      SetupBlockForest.cpp
      StructuredBlockForest.cpp
      Utility.cpp
      )

add_subdirectory( communication )
52
add_subdirectory( loadbalancing )