mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
build-system: remove pointless distinction between desktop and mobile
It's the same sources, the same library. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0720e74c1a
commit
053356c49b
2 changed files with 4 additions and 9 deletions
|
@ -314,7 +314,7 @@ if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
||||||
subsurface_mapwidget
|
subsurface_mapwidget
|
||||||
subsurface_backend_shared
|
subsurface_backend_shared
|
||||||
subsurface_models_mobile
|
subsurface_models_mobile
|
||||||
subsurface_commands_mobile
|
subsurface_commands
|
||||||
subsurface_corelib
|
subsurface_corelib
|
||||||
${SUBSURFACE_LINK_LIBRARIES}
|
${SUBSURFACE_LINK_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
@ -339,7 +339,7 @@ elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
|
||||||
subsurface_mapwidget
|
subsurface_mapwidget
|
||||||
subsurface_backend_shared
|
subsurface_backend_shared
|
||||||
subsurface_models_desktop
|
subsurface_models_desktop
|
||||||
subsurface_commands_desktop
|
subsurface_commands
|
||||||
subsurface_corelib
|
subsurface_corelib
|
||||||
${SUBSURFACE_LINK_LIBRARIES}
|
${SUBSURFACE_LINK_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,10 +15,5 @@ set(SUBSURFACE_GENERIC_COMMANDS_SRCS
|
||||||
command_edit_trip.cpp
|
command_edit_trip.cpp
|
||||||
command_edit_trip.h
|
command_edit_trip.h
|
||||||
)
|
)
|
||||||
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
|
add_library(subsurface_commands STATIC ${SUBSURFACE_GENERIC_COMMANDS_SRCS})
|
||||||
add_library(subsurface_commands_desktop STATIC ${SUBSURFACE_GENERIC_COMMANDS_SRCS})
|
target_link_libraries(subsurface_commands ${QT_LIBRARIES})
|
||||||
target_link_libraries(subsurface_commands_desktop ${QT_LIBRARIES})
|
|
||||||
elseif (SUBSURFACE_TARGET_EXECUTABLE MATCHES "MobileExecutable")
|
|
||||||
add_library(subsurface_commands_mobile STATIC ${SUBSURFACE_GENERIC_COMMANDS_SRCS})
|
|
||||||
target_link_libraries(subsurface_commands_mobile ${QT_LIBRARIES})
|
|
||||||
endif()
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue