mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Move most of the QtQuick code to its own directory, so that it can be reused in the future for the chart. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
19 lines
435 B
CMake
19 lines
435 B
CMake
# code for qt-quick based charts
|
|
include_directories(.
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_BINARY_DIR}
|
|
)
|
|
|
|
set(SUBSURFACE_QTQUICK_SRCS
|
|
chartitem.cpp
|
|
chartitem.h
|
|
chartitemhelper.h
|
|
chartitem_ptr.h
|
|
chartview.cpp
|
|
chartview.h
|
|
)
|
|
|
|
source_group("Subsurface qtquick sourcecode" FILES ${SUBSURFACE_QTQUICK_SRCS})
|
|
|
|
add_library(subsurface_qtquick STATIC ${SUBSURFACE_QTQUICK_SRCS})
|
|
target_link_libraries(subsurface_qtquick ${QT_LIBRARIES})
|