|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
set( CALAMARESUI_LIBRARY_TARGET calamaresui )
|
|
|
|
|
project( libcalamaresui CXX )
|
|
|
|
|
|
|
|
|
|
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
|
|
|
|
list( APPEND calamaresui_SOURCES
|
|
|
|
|
modulesystem/CppJobModule.cpp
|
|
|
|
|
modulesystem/Module.cpp
|
|
|
|
|
modulesystem/ModuleManager.cpp
|
|
|
|
@ -29,12 +29,12 @@ list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
|
|
|
|
ViewManager.cpp
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_UI
|
|
|
|
|
list( APPEND calamaresui_UI
|
|
|
|
|
utils/DebugWindow.ui
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
if( WITH_PYTHON )
|
|
|
|
|
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
|
|
|
|
list( APPEND calamaresui_SOURCES
|
|
|
|
|
modulesystem/PythonJobModule.cpp
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
@ -43,7 +43,7 @@ if( WITH_PYTHONQT )
|
|
|
|
|
include_directories(${PYTHON_INCLUDE_DIRS})
|
|
|
|
|
include_directories(${PYTHONQT_INCLUDE_DIR})
|
|
|
|
|
|
|
|
|
|
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
|
|
|
|
list( APPEND calamaresui_SOURCES
|
|
|
|
|
modulesystem/PythonQtViewModule.cpp
|
|
|
|
|
utils/PythonQtUtils.cpp
|
|
|
|
|
viewpages/PythonQtJob.cpp
|
|
|
|
@ -58,9 +58,9 @@ if( WITH_PYTHONQT )
|
|
|
|
|
)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
calamares_add_library( ${CALAMARESUI_LIBRARY_TARGET}
|
|
|
|
|
SOURCES ${${CALAMARESUI_LIBRARY_TARGET}_SOURCES}
|
|
|
|
|
UI ${${CALAMARESUI_LIBRARY_TARGET}_UI}
|
|
|
|
|
calamares_add_library( calamaresui
|
|
|
|
|
SOURCES ${calamaresui_SOURCES}
|
|
|
|
|
UI ${calamaresui_UI}
|
|
|
|
|
EXPORT_MACRO UIDLLEXPORT_PRO
|
|
|
|
|
LINK_PRIVATE_LIBRARIES
|
|
|
|
|
${YAMLCPP_LIBRARY}
|
|
|
|
|