2017-09-21 10:53:09 +02:00
|
|
|
set( calamaresui_SOURCES
|
2016-09-25 03:20:50 +02:00
|
|
|
modulesystem/CppJobModule.cpp
|
2014-07-03 18:00:40 +02:00
|
|
|
modulesystem/Module.cpp
|
|
|
|
modulesystem/ModuleManager.cpp
|
2014-07-10 17:11:03 +02:00
|
|
|
modulesystem/ProcessJobModule.cpp
|
2017-11-30 18:42:59 +01:00
|
|
|
modulesystem/Requirement.cpp
|
2019-02-20 11:48:15 +01:00
|
|
|
modulesystem/RequirementsChecker.cpp
|
2014-07-03 18:00:40 +02:00
|
|
|
modulesystem/ViewModule.cpp
|
|
|
|
|
|
|
|
utils/CalamaresUtilsGui.cpp
|
2015-03-04 19:35:10 +01:00
|
|
|
utils/DebugWindow.cpp
|
2014-08-26 15:18:30 +02:00
|
|
|
utils/ImageRegistry.cpp
|
2014-07-03 18:00:40 +02:00
|
|
|
|
2015-03-04 20:22:58 +01:00
|
|
|
utils/qjsonmodel.cpp
|
|
|
|
utils/qjsonitem.cpp
|
|
|
|
|
2018-06-13 11:11:31 +02:00
|
|
|
viewpages/BlankViewStep.cpp
|
2014-07-03 18:00:40 +02:00
|
|
|
viewpages/ViewStep.cpp
|
|
|
|
|
2014-09-03 17:56:46 +02:00
|
|
|
widgets/ClickableLabel.cpp
|
2015-06-20 01:04:54 +02:00
|
|
|
widgets/FixedAspectRatioLabel.cpp
|
2017-09-19 15:56:29 +02:00
|
|
|
widgets/waitingspinnerwidget.cpp
|
2014-09-03 17:56:46 +02:00
|
|
|
widgets/WaitingWidget.cpp
|
2014-08-21 17:44:35 +02:00
|
|
|
|
2015-09-09 19:01:34 +02:00
|
|
|
ExecutionViewStep.cpp
|
2014-10-10 18:18:35 +02:00
|
|
|
Branding.cpp
|
2014-07-03 18:00:40 +02:00
|
|
|
ViewManager.cpp
|
|
|
|
)
|
|
|
|
|
2017-09-21 10:53:09 +02:00
|
|
|
# Don't warn about third-party sources
|
|
|
|
mark_thirdparty_code(
|
|
|
|
utils/ImageRegistry.cpp
|
|
|
|
utils/qjsonitem.cpp
|
|
|
|
utils/qjsonmodel.cpp
|
|
|
|
widgets/waitingspinnerwidget.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set( calamaresui_UI
|
2015-03-04 19:35:10 +01:00
|
|
|
utils/DebugWindow.ui
|
2014-07-03 18:00:40 +02:00
|
|
|
)
|
|
|
|
|
2014-07-16 16:09:53 +02:00
|
|
|
if( WITH_PYTHON )
|
2017-09-18 12:12:10 +02:00
|
|
|
list( APPEND calamaresui_SOURCES
|
2014-07-16 16:09:53 +02:00
|
|
|
modulesystem/PythonJobModule.cpp
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2016-10-02 19:14:56 +02:00
|
|
|
if( WITH_PYTHONQT )
|
|
|
|
include_directories(${PYTHON_INCLUDE_DIRS})
|
2018-09-03 12:26:26 +02:00
|
|
|
# *_DIRS because we also use extensions
|
|
|
|
include_directories(${PYTHONQT_INCLUDE_DIRS})
|
2016-10-02 19:14:56 +02:00
|
|
|
|
2017-09-18 12:12:10 +02:00
|
|
|
list( APPEND calamaresui_SOURCES
|
2016-10-02 19:14:56 +02:00
|
|
|
modulesystem/PythonQtViewModule.cpp
|
2016-10-07 18:41:05 +02:00
|
|
|
utils/PythonQtUtils.cpp
|
2016-10-27 15:13:05 +02:00
|
|
|
viewpages/PythonQtJob.cpp
|
2016-10-04 15:29:17 +02:00
|
|
|
viewpages/PythonQtViewStep.cpp
|
2016-10-21 16:38:49 +02:00
|
|
|
viewpages/PythonQtGlobalStorageWrapper.cpp
|
|
|
|
viewpages/PythonQtUtilsWrapper.cpp
|
2016-10-02 19:14:56 +02:00
|
|
|
)
|
|
|
|
set( OPTIONAL_PRIVATE_LIBRARIES
|
|
|
|
${OPTIONAL_PRIVATE_LIBRARIES}
|
|
|
|
${PYTHON_LIBRARIES}
|
|
|
|
${PYTHONQT_LIBRARIES}
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2017-09-18 12:12:10 +02:00
|
|
|
calamares_add_library( calamaresui
|
|
|
|
SOURCES ${calamaresui_SOURCES}
|
|
|
|
UI ${calamaresui_UI}
|
2014-07-03 18:00:40 +02:00
|
|
|
EXPORT_MACRO UIDLLEXPORT_PRO
|
2016-12-07 16:37:29 +01:00
|
|
|
LINK_PRIVATE_LIBRARIES
|
2017-10-24 18:53:20 +02:00
|
|
|
${OPTIONAL_PRIVATE_LIBRARIES}
|
|
|
|
LINK_LIBRARIES
|
2014-08-26 15:18:30 +02:00
|
|
|
Qt5::Svg
|
2016-12-07 16:37:29 +01:00
|
|
|
Qt5::QuickWidgets
|
2014-08-26 15:18:30 +02:00
|
|
|
RESOURCES libcalamaresui.qrc
|
2014-07-03 18:00:40 +02:00
|
|
|
EXPORT CalamaresLibraryDepends
|
|
|
|
VERSION ${CALAMARES_VERSION_SHORT}
|
|
|
|
)
|