mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
3b2ae46eb8
These are the small dots that describe dragable points on the profile when in the planner. It makes no sense to have them in desktop's planner-widget code. They belong to the profile. Therefore, move the code there and compile on mobile. Not everything can be compiled on mobile for now, but it is a start. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
40 lines
892 B
CMake
40 lines
892 B
CMake
# the profile widget
|
|
set(SUBSURFACE_PROFILE_LIB_SRCS
|
|
animationfunctions.cpp
|
|
animationfunctions.h
|
|
divecartesianaxis.cpp
|
|
divecartesianaxis.h
|
|
diveeventitem.cpp
|
|
diveeventitem.h
|
|
divehandler.cpp
|
|
divehandler.h
|
|
divelineitem.cpp
|
|
divelineitem.h
|
|
divepixmapitem.cpp
|
|
divepixmapitem.h
|
|
diveprofileitem.cpp
|
|
diveprofileitem.h
|
|
diverectitem.cpp
|
|
diverectitem.h
|
|
divetextitem.cpp
|
|
divetextitem.h
|
|
divetooltipitem.cpp
|
|
divetooltipitem.h
|
|
profilewidget2.cpp
|
|
profilewidget2.h
|
|
ruleritem.cpp
|
|
ruleritem.h
|
|
tankitem.cpp
|
|
tankitem.h
|
|
)
|
|
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
|
set(SUBSURFACE_PROFILE_LIB_SRCS
|
|
${SUBSURFACE_PROFILE_LIB_SRCS}
|
|
qmlprofile.cpp
|
|
qmlprofile.h
|
|
)
|
|
endif ()
|
|
source_group("Subsurface Profile" FILES ${SUBSURFACE_PROFILE_LIB_SRCS})
|
|
|
|
add_library(subsurface_profile STATIC ${SUBSURFACE_PROFILE_LIB_SRCS})
|
|
target_link_libraries(subsurface_profile ${QT_LIBRARIES})
|