4ec72f4afb
Now linking with -Wl,--no-undefined! Moved find_package KF5 from the root CMakeLists.txt to the partitioning module where it belongs. KF5 deps should be limited to plugins. Lots of random fixage to make stuff link. Removed CalamaresApplication reference from Settings. Removed the use of AbstractPage, we don't need it right now.
31 lines
694 B
CMake
31 lines
694 B
CMake
set( CALAMARESUI_LIBRARY_TARGET calamaresui )
|
|
|
|
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_SOURCES
|
|
modulesystem/Module.cpp
|
|
modulesystem/ModuleManager.cpp
|
|
modulesystem/ViewModule.cpp
|
|
|
|
utils/CalamaresUtilsGui.cpp
|
|
utils/YamlUtils.cpp
|
|
|
|
viewpages/AbstractPage.cpp
|
|
viewpages/ViewStep.cpp
|
|
|
|
Settings.cpp
|
|
ViewManager.cpp
|
|
)
|
|
|
|
list( APPEND ${CALAMARESUI_LIBRARY_TARGET}_UI
|
|
|
|
)
|
|
|
|
calamares_add_library( ${CALAMARESUI_LIBRARY_TARGET}
|
|
SOURCES ${${CALAMARESUI_LIBRARY_TARGET}_SOURCES}
|
|
UI ${${CALAMARESUI_LIBRARY_TARGET}_UI}
|
|
EXPORT_MACRO UIDLLEXPORT_PRO
|
|
LINK_LIBRARIES
|
|
yaml-cpp
|
|
EXPORT CalamaresLibraryDepends
|
|
VERSION ${CALAMARES_VERSION_SHORT}
|
|
)
|