summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 76eb685b09184caa8ce8e192d80a37db1c9c436e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

cmake_minimum_required(VERSION 3.7)
project(fracture)

include_directories(src ~/.local/include)
link_directories(~/.local/lib)

file(GLOB SOURCES lib/*.c)
add_executable(fracture src/fracture.c ${SOURCES})
add_executable(big_anal_process src/big_anal_process.c ${SOURCES})
add_executable(anal_process src/anal_process.c ${SOURCES})
add_executable(cen_anal_process src/cen_anal_process.c ${SOURCES})
add_executable(long_anal_process src/long_anal_process.c ${SOURCES})
add_executable(corr_test src/corr_test.c ${SOURCES})

target_link_libraries(fracture gsl c cblas lapack dl pthread cholmod amd colamd suitesparseconfig camd ccolamd rt metis m jst tcmalloc profiler)
target_link_libraries(big_anal_process gsl c cblas lapack dl pthread cholmod amd colamd suitesparseconfig camd ccolamd rt metis m jst tcmalloc profiler)
target_link_libraries(cen_anal_process gsl c cblas lapack dl pthread cholmod amd colamd suitesparseconfig camd ccolamd rt metis m jst tcmalloc profiler)
target_link_libraries(long_anal_process gsl c cblas lapack dl pthread cholmod amd colamd suitesparseconfig camd ccolamd rt metis m jst tcmalloc profiler)
target_link_libraries(corr_test gsl c cblas lapack dl pthread cholmod amd colamd suitesparseconfig camd ccolamd rt metis m jst tcmalloc profiler)
target_link_libraries(anal_process gsl c cblas lapack dl pthread cholmod amd colamd suitesparseconfig camd ccolamd rt metis m jst tcmalloc profiler)