summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: 9a7ce20f9cfdcb4528d32cf3d648832cd8c5177c (plain)
1
2
3
4
5
6
7
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

add_library(analysis_tools analysis_tools.cpp)
target_link_libraries(analysis_tools frac)

add_library(measurements measurements.cpp)
target_link_libraries(measurements frac analysis_tools)

add_library(perc_meas perc_meas.cpp)
target_link_libraries(perc_meas frac analysis_tools)

add_library(animate animate.cpp)
target_link_libraries(animate frac analysis_tools GL GLU glut)

add_library(sample sample.cpp)
target_link_libraries(sample frac)

add_executable(fracture fracture.cpp)
target_link_libraries(fracture frac measurements fftw3 cholmod profiler GL GLU glut)

add_executable(fracture_square fracture_square.cpp)
target_link_libraries(fracture_square frac measurements fftw3 cholmod profiler GL GLU glut)

add_executable(animate_fracture animate_fracture.cpp)
target_link_libraries(animate_fracture frac animate fftw3 cholmod profiler GL GLU glut)

add_executable(animate_fracture_square animate_fracture_square.cpp)
target_link_libraries(animate_fracture_square frac animate fftw3 cholmod profiler GL GLU glut)

add_executable(sample_fracture sample_fracture.cpp)
target_link_libraries(sample_fracture frac sample cholmod)

add_executable(sample_fracture_square sample_fracture_square.cpp)
target_link_libraries(sample_fracture_square frac sample cholmod)

add_executable(percolation percolation.cpp)
target_link_libraries(percolation frac perc_meas fftw3 cholmod profiler GL GLU glut)