subsurface/profile-widget/CMakeLists.txt
Berthold Stoeger bece0a0652 profile: port basic dive editing to QtQuick
This needed a bit of refactoring of the ChartItem code, because
we have to be signaled on drag start. Currently only one handle
can be selected at a time. This was (implicitly) the case anyway,
as far as I can tell.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-09-12 15:17:15 +02:00

47 lines
1,023 B
CMake

# the profile widget
set(SUBSURFACE_PROFILE_LIB_SRCS
animationfunctions.cpp
animationfunctions.h
divecartesianaxis.cpp
divecartesianaxis.h
diveeventitem.cpp
diveeventitem.h
divelineitem.cpp
divelineitem.h
divepixmapcache.cpp
divepixmapcache.h
divepercentageitem.cpp
divepercentageitem.h
diveprofileitem.cpp
diveprofileitem.h
divetextitem.cpp
divetextitem.h
handleitem.cpp
handleitem.h
pictureitem.h
pictureitem.cpp
profilescene.cpp
profilescene.h
profiletranslations.h
profileview.cpp
profileview.h
ruleritem.cpp
ruleritem.h
tankitem.cpp
tankitem.h
tooltipitem.h
tooltipitem.cpp
)
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
set(SUBSURFACE_PROFILE_LIB_SRCS
${SUBSURFACE_PROFILE_LIB_SRCS}
)
else ()
set(SUBSURFACE_PROFILE_LIB_SRCS
${SUBSURFACE_PROFILE_LIB_SRCS}
)
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})