mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 14:55:27 +00:00
30c7499a3c
Create a new translation unit for event-related undo commands. Create a base class of commands that add events and one subclass that adds a bookmark event. Use this command in the profile-widget. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
21 lines
527 B
CMake
21 lines
527 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
|
|
)
|
|
add_library(subsurface_commands STATIC ${SUBSURFACE_GENERIC_COMMANDS_SRCS})
|
|
target_link_libraries(subsurface_commands ${QT_LIBRARIES})
|