mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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>
This commit is contained in:
parent
d1490776e2
commit
41d6ff96c1
2 changed files with 7 additions and 2 deletions
|
@ -304,7 +304,6 @@ if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
|||
mobile-widgets/qml/kirigami/src/libkirigami/tabletmodewatcher.cpp
|
||||
subsurface-mobile-main.cpp
|
||||
subsurface-helper.cpp
|
||||
profile-widget/qmlprofile.cpp
|
||||
map-widget/qmlmapwidgethelper.cpp
|
||||
)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/mobile-widgets/qml/kirigami/src/libkirigami)
|
||||
|
|
|
@ -20,12 +20,18 @@ set(SUBSURFACE_PROFILE_LIB_SRCS
|
|||
divetooltipitem.h
|
||||
profilewidget2.cpp
|
||||
profilewidget2.h
|
||||
# qmlprofile.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})
|
||||
|
|
Loading…
Reference in a new issue