CMakeLists.txt 1.22 KB
Newer Older
1
2
3
4
5
6
7
set(analyzer_lib_srcs
    core/product.cpp
    core/productschemaentry.cpp

    rest/restapi.cpp
    rest/restclient.cpp
    rest/serverinfo.cpp
8
9

    model/productmodel.cpp
10
11
12
13
14
15
)

add_library(UserFeedbackAnalyzer STATIC ${analyzer_lib_srcs})
target_link_libraries(UserFeedbackAnalyzer Qt5::Network)
target_include_directories(UserFeedbackAnalyzer PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};>")

16
set(analyzer_srcs
17
    aggregateddatamodel.cpp
18
    categoryaggregationmodel.cpp
Volker Krause's avatar
Volker Krause committed
19
    chart.cpp
20
21
22
23
    connectdialog.cpp
    datamodel.cpp
    main.cpp
    mainwindow.cpp
24
    numericaggregationmodel.cpp
25
    ratioset.cpp
26
    ratiosetaggregationmodel.cpp
Volker Krause's avatar
Volker Krause committed
27
    sample.cpp
28
    schemamodel.cpp
29
    schemaeditwidget.cpp
30
31
    schemaentryitemeditorfactory.cpp
    schemaentrytypecombobox.cpp
Volker Krause's avatar
Volker Krause committed
32
    survey.cpp
33
    surveydialog.cpp
Volker Krause's avatar
Volker Krause committed
34
    surveymodel.cpp
35
    timeaggregationmodel.cpp
36
37
)

38
39
40
add_executable(UserFeedbackAnalyzerApplication ${analyzer_srcs})
set_target_properties(UserFeedbackAnalyzerApplication PROPERTIES OUTPUT_NAME UserFeedbackAnalyzer)
target_link_libraries(UserFeedbackAnalyzerApplication Qt5::Widgets Qt5::Network Qt5::Charts UserFeedbackWidgets UserFeedbackAnalyzer)
41

42
install(TARGETS UserFeedbackAnalyzerApplication ${INSTALL_TARGETS_DEFAULT_ARGS})