add_library(libslic3r_gui STATIC
    ${LIBDIR}/slic3r/GUI/AboutDialog.cpp
    ${LIBDIR}/slic3r/GUI/AboutDialog.hpp
    ${LIBDIR}/slic3r/GUI/AppConfig.cpp
    ${LIBDIR}/slic3r/GUI/AppConfig.hpp
    ${LIBDIR}/slic3r/GUI/BackgroundSlicingProcess.cpp
    ${LIBDIR}/slic3r/GUI/BackgroundSlicingProcess.hpp
    ${LIBDIR}/slic3r/GUI/BitmapCache.cpp
    ${LIBDIR}/slic3r/GUI/BitmapCache.hpp
    ${LIBDIR}/slic3r/GUI/ConfigSnapshotDialog.cpp
    ${LIBDIR}/slic3r/GUI/ConfigSnapshotDialog.hpp
    ${LIBDIR}/slic3r/GUI/3DScene.cpp
    ${LIBDIR}/slic3r/GUI/3DScene.hpp
    ${LIBDIR}/slic3r/GUI/GLShader.cpp
    ${LIBDIR}/slic3r/GUI/GLShader.hpp    
    ${LIBDIR}/slic3r/GUI/GLCanvas3D.hpp
    ${LIBDIR}/slic3r/GUI/GLCanvas3D.cpp
    ${LIBDIR}/slic3r/GUI/GLCanvas3DManager.hpp
    ${LIBDIR}/slic3r/GUI/GLCanvas3DManager.cpp
    ${LIBDIR}/slic3r/GUI/GLGizmo.hpp
    ${LIBDIR}/slic3r/GUI/GLGizmo.cpp
    ${LIBDIR}/slic3r/GUI/GLTexture.hpp
    ${LIBDIR}/slic3r/GUI/GLTexture.cpp
    ${LIBDIR}/slic3r/GUI/GLToolbar.hpp
    ${LIBDIR}/slic3r/GUI/GLToolbar.cpp
    ${LIBDIR}/slic3r/GUI/Preferences.cpp
    ${LIBDIR}/slic3r/GUI/Preferences.hpp
    ${LIBDIR}/slic3r/GUI/Preset.cpp
    ${LIBDIR}/slic3r/GUI/Preset.hpp
    ${LIBDIR}/slic3r/GUI/PresetBundle.cpp
    ${LIBDIR}/slic3r/GUI/PresetBundle.hpp
    ${LIBDIR}/slic3r/GUI/PresetHints.cpp
    ${LIBDIR}/slic3r/GUI/PresetHints.hpp
    ${LIBDIR}/slic3r/GUI/GUI.cpp
    ${LIBDIR}/slic3r/GUI/GUI.hpp
    ${LIBDIR}/slic3r/GUI/GUI_ObjectParts.cpp
    ${LIBDIR}/slic3r/GUI/GUI_ObjectParts.hpp
    ${LIBDIR}/slic3r/GUI/GUI_Preview.cpp
    ${LIBDIR}/slic3r/GUI/GUI_Preview.hpp
    ${LIBDIR}/slic3r/GUI/GUI_PreviewIface.cpp
    ${LIBDIR}/slic3r/GUI/GUI_PreviewIface.hpp
    ${LIBDIR}/slic3r/GUI/GUI_App.cpp
    ${LIBDIR}/slic3r/GUI/GUI_App.hpp
    ${LIBDIR}/slic3r/GUI/MainFrame.cpp
    ${LIBDIR}/slic3r/GUI/MainFrame.hpp
    ${LIBDIR}/slic3r/GUI/Plater.cpp
    ${LIBDIR}/slic3r/GUI/Plater.hpp
    ${LIBDIR}/slic3r/GUI/LambdaObjectDialog.cpp
    ${LIBDIR}/slic3r/GUI/LambdaObjectDialog.hpp
    ${LIBDIR}/slic3r/GUI/Tab.cpp
    ${LIBDIR}/slic3r/GUI/Tab.hpp
    ${LIBDIR}/slic3r/GUI/TabIface.cpp
    ${LIBDIR}/slic3r/GUI/TabIface.hpp
    ${LIBDIR}/slic3r/GUI/Field.cpp
    ${LIBDIR}/slic3r/GUI/Field.hpp
    ${LIBDIR}/slic3r/GUI/OptionsGroup.cpp
    ${LIBDIR}/slic3r/GUI/OptionsGroup.hpp
    ${LIBDIR}/slic3r/GUI/BedShapeDialog.cpp
    ${LIBDIR}/slic3r/GUI/BedShapeDialog.hpp
    ${LIBDIR}/slic3r/GUI/2DBed.cpp
    ${LIBDIR}/slic3r/GUI/2DBed.hpp
    ${LIBDIR}/slic3r/GUI/wxExtensions.cpp
    ${LIBDIR}/slic3r/GUI/wxExtensions.hpp
    ${LIBDIR}/slic3r/GUI/WipeTowerDialog.cpp
    ${LIBDIR}/slic3r/GUI/WipeTowerDialog.hpp
    ${LIBDIR}/slic3r/GUI/RammingChart.cpp
    ${LIBDIR}/slic3r/GUI/RammingChart.hpp
    ${LIBDIR}/slic3r/GUI/BonjourDialog.cpp
    ${LIBDIR}/slic3r/GUI/BonjourDialog.hpp
    ${LIBDIR}/slic3r/GUI/ButtonsDescription.cpp
    ${LIBDIR}/slic3r/GUI/ButtonsDescription.hpp
    ${LIBDIR}/slic3r/Config/Snapshot.cpp
    ${LIBDIR}/slic3r/Config/Snapshot.hpp
    ${LIBDIR}/slic3r/Config/Version.cpp
    ${LIBDIR}/slic3r/Config/Version.hpp    
    ${LIBDIR}/slic3r/Utils/ASCIIFolding.cpp
    ${LIBDIR}/slic3r/Utils/ASCIIFolding.hpp
    ${LIBDIR}/slic3r/Utils/Serial.cpp
    ${LIBDIR}/slic3r/Utils/Serial.hpp
    ${LIBDIR}/slic3r/GUI/ConfigWizard.cpp
    ${LIBDIR}/slic3r/GUI/ConfigWizard.hpp
    ${LIBDIR}/slic3r/GUI/MsgDialog.cpp
    ${LIBDIR}/slic3r/GUI/MsgDialog.hpp
    ${LIBDIR}/slic3r/GUI/UpdateDialogs.cpp
    ${LIBDIR}/slic3r/GUI/UpdateDialogs.hpp
    ${LIBDIR}/slic3r/GUI/FirmwareDialog.cpp
    ${LIBDIR}/slic3r/GUI/FirmwareDialog.hpp
    ${LIBDIR}/slic3r/GUI/ProgressIndicator.hpp
    ${LIBDIR}/slic3r/GUI/ProgressStatusBar.hpp
    ${LIBDIR}/slic3r/GUI/ProgressStatusBar.cpp
    ${LIBDIR}/slic3r/Utils/Http.cpp
    ${LIBDIR}/slic3r/Utils/Http.hpp
    ${LIBDIR}/slic3r/Utils/FixModelByWin10.cpp
    ${LIBDIR}/slic3r/Utils/FixModelByWin10.hpp
    ${LIBDIR}/slic3r/Utils/PrintHostSendDialog.cpp
    ${LIBDIR}/slic3r/Utils/PrintHostSendDialog.hpp
    ${LIBDIR}/slic3r/Utils/OctoPrint.cpp
    ${LIBDIR}/slic3r/Utils/OctoPrint.hpp
    ${LIBDIR}/slic3r/Utils/Duet.cpp
    ${LIBDIR}/slic3r/Utils/Duet.hpp
    ${LIBDIR}/slic3r/Utils/PrintHost.cpp
    ${LIBDIR}/slic3r/Utils/PrintHost.hpp
    ${LIBDIR}/slic3r/Utils/Bonjour.cpp
    ${LIBDIR}/slic3r/Utils/Bonjour.hpp
    ${LIBDIR}/slic3r/Utils/PresetUpdater.cpp
    ${LIBDIR}/slic3r/Utils/PresetUpdater.hpp
    ${LIBDIR}/slic3r/Utils/Time.cpp
    ${LIBDIR}/slic3r/Utils/Time.hpp
    ${LIBDIR}/slic3r/Utils/HexFile.cpp
    ${LIBDIR}/slic3r/Utils/HexFile.hpp
    ${LIBDIR}/slic3r/AppController.hpp
    ${LIBDIR}/slic3r/AppController.cpp
    ${LIBDIR}/slic3r/AppControllerWx.cpp
)

target_link_libraries(libslic3r_gui libslic3r avrdude)
