File: CMakeLists.txt

package info (click to toggle)
labplot 2.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,500 kB
  • sloc: cpp: 241,048; ansic: 6,324; python: 915; xml: 400; yacc: 237; sh: 221; awk: 35; makefile: 11
file content (93 lines) | stat: -rw-r--r-- 3,094 bytes parent folder | download | duplicates (2)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
option(ENABLE_TEST_IMPORTEXPORT "Enable Import/Export Tests" ON)

if(ENABLE_TEST_IMPORTEXPORT)
    option(ENABLE_TEST_IMPORTEXPORT_ASCII "Enable Ascii Tests" ON)
    if(ENABLE_TEST_IMPORTEXPORT_ASCII)
        add_subdirectory(ASCII)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_BINARY "Enable Binary Tests" ON)
    if(ENABLE_TEST_IMPORTEXPORT_BINARY)
        add_subdirectory(Binary)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_CAN "Enable CAN Bus related Tests" ON)
    if(ENABLE_TEST_IMPORTEXPORT_CAN)
        add_subdirectory(CAN)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_CFITSIO "Enable CFitsio Tests" ON)
    if(CFITSIO_FOUND AND ENABLE_TEST_IMPORTEXPORT_CFITSIO)
        add_subdirectory(FITS)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_DATASET "Enable Dataset Tests" ON)
    if(ENABLE_TEST_IMPORTEXPORT_DATASET)
        add_subdirectory(Datasets)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_HDF5 "Enable HDF5 Tests" ON)
    if(HDF5_FOUND AND ENABLE_TEST_IMPORTEXPORT_HDF5)
        add_subdirectory(HDF5)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_JSON "Enable Json Tests" ON)
    if(ENABLE_TEST_IMPORTEXPORT_JSON)
        add_subdirectory(JSON)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_MATIO "Enable Matio Tests" ON)
    if(MATIO_FOUND AND ENABLE_TEST_IMPORTEXPORT_MATIO)
        add_subdirectory(Matio)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_MCAP "Enable MCAP Tests" ON)
    if(ENABLE_MCAP AND ENABLE_TEST_IMPORTEXPORT_MCAP)
        add_subdirectory(MCAP)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_MQTT "Enable MQTT Tests" ON)
    if(Qt${QT_VERSION_MAJOR}Mqtt_FOUND AND ENABLE_TEST_IMPORTEXPORT_MQTT)
    add_subdirectory(MQTT)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_NETCDF "Enable Netcdf Tests" ON)
    if(NETCDF_FOUND AND ENABLE_TEST_IMPORTEXPORT_NETCDF)
        add_subdirectory(NetCDF)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_ODS "Enable ODS Tests" ON)
    if(ORCUS_FOUND AND ENABLE_TEST_IMPORTEXPORT_ODS)
        add_subdirectory(Ods)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_PROJECT "Enable Project import Tests" ON)
    if (ENABLE_TEST_IMPORTEXPORT_PROJECT)
        add_subdirectory(Project)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_SPICE "Enable Spice Tests" ON)
    if (ENABLE_TEST_IMPORTEXPORT_SPICE)
        add_subdirectory(Spice)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_SQL_DATABASE "Enable SQL Database Tests" ON)
    if (ENABLE_TEST_IMPORTEXPORT_SQL_DATABASE)
        add_subdirectory(SQL)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_READSTAT "Enable Readstat Tests" ON)
    if((READSTAT_FOUND OR BUILD_READSTAT) AND ENABLE_TEST_IMPORTEXPORT_READSTAT)
        add_subdirectory(ReadStat)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_ROOT "Enable Root Tests" ON)
    if(ZLIB_FOUND AND LZ4_FOUND AND ENABLE_TEST_IMPORTEXPORT_ROOT)
        add_subdirectory(ROOT)
    endif()

    option(ENABLE_TEST_IMPORTEXPORT_XLSX "Enable XLSX Tests" ON)
    if((QXLSX_FOUND OR BUILD_QXLSX) AND ENABLE_TEST_IMPORTEXPORT_XLSX)
        add_subdirectory(XLSX)
    endif()
endif()