mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
e61641c79c
Even though the functionality is seemingly trivial, this is a bit invasive, as the code has to be split into two distinct parts: 1) Post undo command 2) React to changes to the divelist Don't compile that code on mobile. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
23 lines
569 B
CMake
23 lines
569 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
|
|
command_event.cpp
|
|
command_event.h
|
|
command_pictures.cpp
|
|
command_pictures.h
|
|
)
|
|
add_library(subsurface_commands STATIC ${SUBSURFACE_GENERIC_COMMANDS_SRCS})
|
|
target_link_libraries(subsurface_commands ${QT_LIBRARIES})
|