summaryrefslogtreecommitdiffstats
path: root/profile-widget/CMakeLists.txt
blob: 2f5ea0378cb65a641f709542127c37a6db7b71c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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})