aboutsummaryrefslogtreecommitdiffstats
path: root/profile-widget/CMakeLists.txt
blob: 73807fbd7161a328a4e1fdc1dc47c1e9847ff3d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# the profile widget
set(SUBSURFACE_PROFILE_LIB_SRCS
	profilewidget2.cpp
	diverectitem.cpp
	divepixmapitem.cpp
	divelineitem.cpp
	divetextitem.cpp
	animationfunctions.cpp
	divecartesianaxis.cpp
	diveprofileitem.cpp
	diveeventitem.cpp
	divetooltipitem.cpp
	ruleritem.cpp
	tankitem.cpp
)
source_group("Subsurface Profile" FILES ${SUBSURFACE_PROFILE_LIB_SRCS})
if (SUBSURFACE_MOBILE)
	add_definitions(-DSUBSURFACE_MOBILE=1)
endif()

add_library(subsurface_profile STATIC ${SUBSURFACE_PROFILE_LIB_SRCS})
target_link_libraries(subsurface_profile ${QT_LIBRARIES})