mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
89eed5d36e
with the adittion of gpslistmodel/location, the libraries qt-models had a direct dependency on subsurface-core, and subsurface-core had a direct dependency on qt-models, this is bad. Moving a bit of code around I'v managed to clean this out, and also to clear a bit of uneeded code (GpsTracker and gpsTracker where basically the same thing.) Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
29 lines
733 B
CMake
29 lines
733 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
|
|
)
|
|
|
|
source_group("Subsurface Models" FILES ${SUBSURFACE_MODELS})
|
|
add_library(subsurface_models STATIC ${SUBSURFACE_MODELS_LIB_SRCS})
|
|
target_link_libraries(subsurface_models ${QT_LIBRARIES})
|