2020-07-04 18:43:08 +00:00
|
|
|
list(APPEND client_HEADERS
|
|
|
|
TopBar.h
|
|
|
|
StatusBar.h
|
|
|
|
GuiApplication.h
|
|
|
|
TabbedPanelWidget.h
|
|
|
|
text_editor/TextEditorView.h
|
|
|
|
text_editor/TextEditorModel.h
|
|
|
|
text_editor/TextEditorController.h
|
|
|
|
text_editor/PlainTextDocument.h
|
|
|
|
audio_editor/AudioEditorView.h
|
|
|
|
image_editor/ImageEditorView.h
|
|
|
|
web_client/WebClientView.h)
|
|
|
|
|
2020-06-27 09:47:30 +00:00
|
|
|
list(APPEND client_LIB_INCLUDES
|
|
|
|
TopBar.cpp
|
|
|
|
StatusBar.cpp
|
|
|
|
GuiApplication.cpp
|
|
|
|
TabbedPanelWidget.cpp
|
|
|
|
text_editor/TextEditorView.cpp
|
|
|
|
text_editor/TextEditorModel.cpp
|
|
|
|
text_editor/TextEditorController.cpp
|
|
|
|
text_editor/PlainTextDocument.cpp
|
|
|
|
audio_editor/AudioEditorView.cpp
|
|
|
|
image_editor/ImageEditorView.cpp
|
|
|
|
web_client/WebClientView.cpp)
|
2020-05-02 07:31:03 +00:00
|
|
|
|
2020-07-04 18:43:08 +00:00
|
|
|
add_library(client SHARED ${client_LIB_INCLUDES} ${client_HEADERS})
|
2020-05-02 07:31:03 +00:00
|
|
|
|
|
|
|
target_link_libraries(client ui_elements windows core console database geometry)
|
|
|
|
|
|
|
|
target_include_directories(client PUBLIC
|
2020-06-27 09:47:30 +00:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/text_editor"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/audio_editor"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/image_editor"
|
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/web_client"
|
|
|
|
"${PROJECT_SOURCE_DIR}/src/console"
|
|
|
|
"${PROJECT_SOURCE_DIR}/src/ui_elements/widgets"
|
2020-07-04 18:43:08 +00:00
|
|
|
)
|
|
|
|
set_property(TARGET client PROPERTY FOLDER src)
|
|
|
|
set_target_properties( client PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )
|