subsurface/stats/CMakeLists.txt
Berthold Stoeger a034014a6a statistics: implement a structure representing the chart state
The StatsState structure fully describes the current state of
the chart: the selected axes, operations and additional chart
features, such as legend or labels.

The code implements sanity checks and reacts accordingly,
if an invalid combination of variables and charts is chosen.

The chart and variable lists to be displayed can be queried
and are encapsulated in the StatsState::UIState structure.

Some variable / chart combinations are possible, but not
recommended, which is represented by a warning flag.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-02 11:04:03 -08:00

36 lines
679 B
CMake

# the stats-graph widget
include_directories(.
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
)
set(SUBSURFACE_STATS_SRCS
barseries.h
barseries.cpp
boxseries.h
boxseries.cpp
informationbox.h
informationbox.cpp
legend.h
legend.cpp
pieseries.h
pieseries.cpp
scatterseries.h
scatterseries.cpp
statsaxis.h
statsaxis.cpp
statscolors.h
statscolors.cpp
statsseries.h
statsseries.cpp
statsstate.h
statsstate.cpp
statsvariables.h
statsvariables.cpp
zvalues.h
)
source_group("Subsurface statistics sourcecode" FILES ${SUBSURFACE_STATS_SRCS})
add_library(subsurface_stats STATIC ${SUBSURFACE_STATS_SRCS})
target_link_libraries(subsurface_stats ${QT_LIBRARIES})