subsurface/profile-widget/CMakeLists.txt
jan Iversen 41d6ff96c1 build-system: move qmlprofile to profile-widgets/CMakeLists.txt
qmlprofile.* is part of profile-widget, and are now defined in the
the corresponding CMakeLists.txt, and thereby making the central
CMakeLists.txt cleaner.

Signed-off-by: Jan Iversen <jan@casacondor.com>
2019-12-24 06:18:36 +09:00

38 lines
860 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
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})