mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
662e2a0ff3
This way we can conditionally compile out more dependencies on desktop widgets. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
22 lines
558 B
CMake
22 lines
558 B
CMake
# 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})
|