subsurface/qt-models/CMakeLists.txt
Tomaz Canabrava 3c3f91dcb2 Move model code to models
This makes it easery to use it on Qml.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-05-27 07:46:01 -07:00

30 lines
756 B
CMake

# the data models that will interface
# with the views.
set(SUBSURFACE_MODELS_LIB_SRCS
cleanertablemodel.cpp
cylindermodel.cpp
diveplannermodel.cpp
models.cpp
filtermodels.cpp
tankinfomodel.cpp
weigthsysteminfomodel.cpp
weightmodel.cpp
divecomputermodel.cpp
treemodel.cpp
yearlystatisticsmodel.cpp
divetripmodel.cpp
divecomputerextradatamodel.cpp
completionmodels.cpp
divepicturemodel.cpp
diveplotdatamodel.cpp
divelocationmodel.cpp
divesitepicturesmodel.cpp
ssrfsortfilterproxymodel.cpp
divelistmodel.cpp
gpslistmodel.cpp
diveimportedmodel.cpp
)
source_group("Subsurface Models" FILES ${SUBSURFACE_MODELS})
add_library(subsurface_models STATIC ${SUBSURFACE_MODELS_LIB_SRCS})
target_link_libraries(subsurface_models ${QT_LIBRARIES})