subsurface/profile-widget/CMakeLists.txt
Berthold Stoeger 605d7bb2c0 profile: port picture code to qt-quick
This was very painful, because I had to implement rearranging the
paint order of the QSGNodes. The resulting code appears quite
brittle. Let's see where that brings us.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2024-03-30 15:20:27 +01:00

52 lines
1.1 KiB
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
divepixmapitem.cpp
divepixmapitem.h
divepercentageitem.cpp
divepercentageitem.h
diveprofileitem.cpp
diveprofileitem.h
diverectitem.cpp
diverectitem.h
divetextitem.cpp
divetextitem.h
pictureitem.h
pictureitem.cpp
profilescene.cpp
profilescene.h
profiletranslations.h
profileview.cpp
profileview.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}
divehandler.cpp
divehandler.h
ruleritem.cpp
ruleritem.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})