calamares/src/libcalamaresui/CMakeLists.txt

52 lines
1.2 KiB
CMake
Raw Normal View History

set( CALAMARESUI_LIBRARY_TARGET calamaresui )
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
modulesystem/Module.cpp
modulesystem/ModuleManager.cpp
modulesystem/ProcessJobModule.cpp
modulesystem/ViewModule.cpp
utils/CalamaresUtilsGui.cpp
2015-03-04 19:35:10 +01:00
utils/DebugWindow.cpp
utils/ImageRegistry.cpp
utils/YamlUtils.cpp
2015-03-04 20:22:58 +01:00
utils/qjsonmodel.cpp
utils/qjsonitem.cpp
viewpages/AbstractPage.cpp
viewpages/ViewStep.cpp
widgets/ClickableLabel.cpp
2014-08-21 17:44:35 +02:00
widgets/QtWaitingSpinner.cpp
widgets/WaitingWidget.cpp
2014-08-21 17:44:35 +02:00
InstallationViewStep.cpp
Branding.cpp
Settings.cpp
ViewManager.cpp
)
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_UI
2015-03-04 19:35:10 +01:00
utils/DebugWindow.ui
)
if( WITH_PYTHON )
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
modulesystem/PythonJobModule.cpp
)
endif()
calamares_add_library( ${CALAMARESUI_LIBRARY_TARGET}
SOURCES ${${CALAMARESUI_LIBRARY_TARGET}_SOURCES}
UI ${${CALAMARESUI_LIBRARY_TARGET}_UI}
EXPORT_MACRO UIDLLEXPORT_PRO
LINK_LIBRARIES
yaml-cpp
Qt5::Svg
Qt5::QuickWidgets
RESOURCES libcalamaresui.qrc
EXPORT CalamaresLibraryDepends
VERSION ${CALAMARES_VERSION_SHORT}
)