mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CMake: add headers to targets
Signed-off-by: Rolf Eike Beer <eike@sf-mail.de>
This commit is contained in:
parent
8526fea973
commit
7635ee3e77
5 changed files with 246 additions and 78 deletions
|
|
@ -3,36 +3,58 @@
|
|||
|
||||
# models used both mobile and desktop builds
|
||||
set(SUBSURFACE_GENERIC_MODELS_LIB_SRCS
|
||||
diveplotdatamodel.cpp
|
||||
diveimportedmodel.cpp
|
||||
completionmodels.cpp
|
||||
completionmodels.h
|
||||
diveimportedmodel.cpp
|
||||
diveimportedmodel.h
|
||||
divelocationmodel.cpp
|
||||
divelocationmodel.h
|
||||
diveplotdatamodel.cpp
|
||||
diveplotdatamodel.h
|
||||
maplocationmodel.cpp
|
||||
maplocationmodel.h
|
||||
)
|
||||
|
||||
# models exclusively used in desktop builds
|
||||
set(SUBSURFACE_DESKTOP_MODELS_LIB_SRCS
|
||||
divepicturemodel.cpp
|
||||
cleanertablemodel.cpp
|
||||
models.cpp
|
||||
tankinfomodel.cpp
|
||||
treemodel.cpp
|
||||
cleanertablemodel.h
|
||||
cylindermodel.cpp
|
||||
yearlystatisticsmodel.cpp
|
||||
weightsysteminfomodel.cpp
|
||||
weightmodel.cpp
|
||||
filtermodels.cpp
|
||||
divecomputermodel.cpp
|
||||
divetripmodel.cpp
|
||||
diveplannermodel.cpp
|
||||
cylindermodel.h
|
||||
divecomputerextradatamodel.cpp
|
||||
divecomputerextradatamodel.h
|
||||
divecomputermodel.cpp
|
||||
divecomputermodel.h
|
||||
divepicturemodel.cpp
|
||||
divepicturemodel.h
|
||||
diveplannermodel.cpp
|
||||
diveplannermodel.h
|
||||
divetripmodel.cpp
|
||||
divetripmodel.h
|
||||
filtermodels.cpp
|
||||
filtermodels.h
|
||||
models.cpp
|
||||
models.h
|
||||
tankinfomodel.cpp
|
||||
tankinfomodel.h
|
||||
treemodel.cpp
|
||||
treemodel.h
|
||||
weightmodel.cpp
|
||||
weightmodel.h
|
||||
weightsysteminfomodel.cpp
|
||||
weightsysteminfomodel.h
|
||||
yearlystatisticsmodel.cpp
|
||||
yearlystatisticsmodel.h
|
||||
)
|
||||
|
||||
# models exclusively used in mobile builds
|
||||
set(SUBSURFACE_MOBILE_MODELS_LIB_SRCS
|
||||
divelistmodel.cpp
|
||||
messagehandlermodel.cpp
|
||||
divelistmodel.h
|
||||
gpslistmodel.cpp
|
||||
gpslistmodel.h
|
||||
messagehandlermodel.cpp
|
||||
messagehandlermodel.h
|
||||
)
|
||||
|
||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue