CMakeLists.txt 1.05 KB
Newer Older
Praetorius, Simon's avatar
Praetorius, Simon committed
1
2
add_executable("vtkwriter" vtkwriter.cc)
target_link_dune_default_libraries("vtkwriter")
3
target_link_libraries("vtkwriter" dunevtk)
Praetorius, Simon's avatar
Praetorius, Simon committed
4
5
6

add_executable("vtkreader" vtkreader.cc)
target_link_dune_default_libraries("vtkreader")
7
8
target_link_libraries("vtkreader" dunevtk)

9
10
11
12
13
14
15
16
17
18
19
20
add_executable("benchmark" benchmark.cc)
target_link_dune_default_libraries("benchmark")
target_link_libraries("benchmark" dunevtk)

add_executable("datacollector" datacollector.cc)
target_link_dune_default_libraries("datacollector")
target_link_libraries("datacollector" dunevtk)

add_executable("quadratic" quadratic.cc)
target_link_dune_default_libraries("quadratic")
target_link_libraries("quadratic" dunevtk)

21
22
23
24
add_executable("structuredgridwriter" structuredgridwriter.cc)
target_link_dune_default_libraries("structuredgridwriter")
target_link_libraries("structuredgridwriter" dunevtk)

25
26
27
28
29
30
if (dune-polygongrid_FOUND)
  add_executable("polygongrid" polygongrid.cc)
  target_link_dune_default_libraries("polygongrid")
  target_link_libraries("polygongrid" dunevtk dunepolygongrid)
endif ()

31
add_subdirectory(test)