aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: 011d2343996702cf5d85ee8f58688913445267f9 (plain) (blame)
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
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

project(pqf)

add_library(pqf src/pqf.c)
target_include_directories(
    pqf
    PRIVATE
    include
    .
)

add_executable(ut
    test/ut.c
    test/ut_dca_pr.c
    test/ut_dca_pr_long.c
    test/common.c)

add_executable(plottool
    test/plottool.c
    test/ut_dca_pr.c
    test/ut_dca_pr_long.c
    test/common.c)


target_include_directories(
    ut
    PRIVATE
    include
    .
)
target_link_libraries(ut pqf m)
target_link_libraries(plottool pqf m)