2015-09-03 18:56:37 +00:00
|
|
|
# the profile widget
|
|
|
|
set(SUBSURFACE_PROFILE_LIB_SRCS
|
|
|
|
animationfunctions.cpp
|
2019-03-25 21:47:44 +00:00
|
|
|
animationfunctions.h
|
2015-09-03 18:56:37 +00:00
|
|
|
divecartesianaxis.cpp
|
2019-03-25 21:47:44 +00:00
|
|
|
divecartesianaxis.h
|
2015-09-03 18:56:37 +00:00
|
|
|
diveeventitem.cpp
|
2019-03-25 21:47:44 +00:00
|
|
|
diveeventitem.h
|
|
|
|
divelineitem.cpp
|
|
|
|
divelineitem.h
|
|
|
|
divepixmapitem.cpp
|
|
|
|
divepixmapitem.h
|
|
|
|
diveprofileitem.cpp
|
|
|
|
diveprofileitem.h
|
|
|
|
diverectitem.cpp
|
|
|
|
diverectitem.h
|
|
|
|
divetextitem.cpp
|
|
|
|
divetextitem.h
|
2015-09-03 18:56:37 +00:00
|
|
|
divetooltipitem.cpp
|
2019-03-25 21:47:44 +00:00
|
|
|
divetooltipitem.h
|
2021-06-05 16:42:56 +00:00
|
|
|
profilescene.cpp
|
|
|
|
profilescene.h
|
2015-09-03 18:56:37 +00:00
|
|
|
tankitem.cpp
|
2019-03-25 21:47:44 +00:00
|
|
|
tankitem.h
|
2015-09-03 18:56:37 +00:00
|
|
|
)
|
2019-12-22 12:15:10 +00:00
|
|
|
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
|
|
|
set(SUBSURFACE_PROFILE_LIB_SRCS
|
|
|
|
${SUBSURFACE_PROFILE_LIB_SRCS}
|
|
|
|
qmlprofile.cpp
|
|
|
|
qmlprofile.h
|
|
|
|
)
|
2021-08-04 07:11:32 +00:00
|
|
|
else ()
|
|
|
|
set(SUBSURFACE_PROFILE_LIB_SRCS
|
|
|
|
${SUBSURFACE_PROFILE_LIB_SRCS}
|
|
|
|
divehandler.cpp
|
|
|
|
divehandler.h
|
|
|
|
profilewidget2.cpp
|
|
|
|
profilewidget2.h
|
|
|
|
ruleritem.cpp
|
|
|
|
ruleritem.h
|
|
|
|
)
|
2019-12-22 12:15:10 +00:00
|
|
|
endif ()
|
2015-09-03 18:56:37 +00:00
|
|
|
source_group("Subsurface Profile" FILES ${SUBSURFACE_PROFILE_LIB_SRCS})
|
|
|
|
|
|
|
|
add_library(subsurface_profile STATIC ${SUBSURFACE_PROFILE_LIB_SRCS})
|
2015-11-06 00:04:36 +00:00
|
|
|
target_link_libraries(subsurface_profile ${QT_LIBRARIES})
|