mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
7787bfbf9e
The file command_private.cpp had functions concerning selections only. To make these functions accessible from outside the undo machinery, turn it into a part of the core-library. Currently, only C++ functions are exported. We might think about also exporting a C interface. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
24 lines
798 B
CMake
24 lines
798 B
CMake
# the undo-commands that perform undoable actions.
|
|
|
|
# models used both mobile and desktop builds
|
|
set(SUBSURFACE_GENERIC_COMMANDS_SRCS
|
|
command_base.cpp
|
|
command_base.h
|
|
command.cpp
|
|
command.h
|
|
command_divelist.cpp
|
|
command_divelist.h
|
|
command_divesite.cpp
|
|
command_divesite.h
|
|
command_edit.cpp
|
|
command_edit.h
|
|
command_edit_trip.cpp
|
|
command_edit_trip.h
|
|
)
|
|
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
|
|
add_library(subsurface_commands_desktop STATIC ${SUBSURFACE_GENERIC_COMMANDS_SRCS})
|
|
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()
|