diff --git a/CMakeLists.txt b/CMakeLists.txt index 9384c58ff4..7f4989b5a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,13 @@ cmake_minimum_required(VERSION 2.8.12) include(GNUInstallDirs) +#################### +subdirs( cura ) +subdirs( icons ) +subdirs( plugins ) +subdirs( resources) +#################### + set(URANIUM_SCRIPTS_DIR "${CMAKE_SOURCE_DIR}/../uranium/scripts" CACHE DIRECTORY "The location of the scripts directory of the Uranium repository") set(CURA_VERSION "master" CACHE STRING "Version name of Cura") diff --git a/cura/CMakeLists.txt b/cura/CMakeLists.txt new file mode 100644 index 0000000000..3e9d89c2eb --- /dev/null +++ b/cura/CMakeLists.txt @@ -0,0 +1,21 @@ +add_custom_target( cura SOURCES + BuildVolume.py + CameraAnimation.py + ConvexHullDecorator.py + ConvexHullJob.py + ConvexHullNode.py + CrashHandler.py + CuraActions.py + CuraApplication.py + CuraSplashScreen.py + CuraVersion.py.in + __init__.py + LayerData.py + LayerDataDecorator.py + MultiMaterialDecorator.py + OneAtATimeIterator.py + PlatformPhysics.py + PlatformPhysicsOperation.py + PrintInformation.py + ZOffsetDecorator.py +) diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt new file mode 100644 index 0000000000..57e34cf6cf --- /dev/null +++ b/icons/CMakeLists.txt @@ -0,0 +1,8 @@ +add_custom_target( icons SOURCES + cura.icns + cura.ico + cura-32.png + cura-48.png + cura-64.png + cura-128.png +) diff --git a/plugins/3MFReader/CMakeLists.txt b/plugins/3MFReader/CMakeLists.txt new file mode 100644 index 0000000000..618c6428cf --- /dev/null +++ b/plugins/3MFReader/CMakeLists.txt @@ -0,0 +1,4 @@ +add_custom_target( ThreeMFReader SOURCES + __init__.py + ThreeMFReader.py +) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt new file mode 100644 index 0000000000..697b739466 --- /dev/null +++ b/plugins/CMakeLists.txt @@ -0,0 +1,13 @@ + +subdirs( 3MFReader ) +subdirs( ChangeLogPlugin ) +subdirs( CuraEngineBackend ) +subdirs( GCodeReader ) +subdirs( GCodeWriter ) +subdirs( LayerView ) +subdirs( PerObjectSettingsTool ) +subdirs( RemovableDriveOutputDevice ) +subdirs( SliceInfoPlugin ) +subdirs( SolidView ) +subdirs( USBPrinting ) +subdirs( XRayView ) diff --git a/plugins/ChangeLogPlugin/CMakeLists.txt b/plugins/ChangeLogPlugin/CMakeLists.txt new file mode 100644 index 0000000000..13e552f360 --- /dev/null +++ b/plugins/ChangeLogPlugin/CMakeLists.txt @@ -0,0 +1,6 @@ +add_custom_target( ChangeLog SOURCES + __init__.py + ChangeLog.py + ChangeLog.txt + ChangeLog.qml +) diff --git a/plugins/CuraEngineBackend/CMakeLists.txt b/plugins/CuraEngineBackend/CMakeLists.txt new file mode 100644 index 0000000000..bc22d1fb9b --- /dev/null +++ b/plugins/CuraEngineBackend/CMakeLists.txt @@ -0,0 +1,8 @@ +add_custom_target( CuraEngineBackend SOURCES + __init__.py + CuraEngineBackend.py + Cura_pb2.py + ProcessGCodeJob.py + ProcessSlicedObjectListJob.py + StartSliceJob.py +) diff --git a/plugins/GCodeReader/CMakeLists.txt b/plugins/GCodeReader/CMakeLists.txt new file mode 100644 index 0000000000..f903641924 --- /dev/null +++ b/plugins/GCodeReader/CMakeLists.txt @@ -0,0 +1,3 @@ +add_custom_target( GCodeReader SOURCES + +) diff --git a/plugins/GCodeWriter/CMakeLists.txt b/plugins/GCodeWriter/CMakeLists.txt new file mode 100644 index 0000000000..0adb073fb2 --- /dev/null +++ b/plugins/GCodeWriter/CMakeLists.txt @@ -0,0 +1,4 @@ +add_custom_target( GCodeWriter SOURCES + __init__.py + GCodeWriter.py +) diff --git a/plugins/LayerView/CMakeLists.txt b/plugins/LayerView/CMakeLists.txt new file mode 100644 index 0000000000..67296bd81e --- /dev/null +++ b/plugins/LayerView/CMakeLists.txt @@ -0,0 +1,6 @@ +add_custom_target( LayerView SOURCES + __init__.py + LayerView.py + LayerView.qml + LayerViewProxy.py +) diff --git a/plugins/PerObjectSettingsTool/CMakeLists.txt b/plugins/PerObjectSettingsTool/CMakeLists.txt new file mode 100644 index 0000000000..43d1d7cea8 --- /dev/null +++ b/plugins/PerObjectSettingsTool/CMakeLists.txt @@ -0,0 +1,7 @@ +add_custom_target( PerObjectSettingsTool SOURCES + __init__.py + PerObjectSettingsModel.py + PerObjectSettingsPanel.qml + PerObjectSettingsTool.py + SettingOverrideModel.py +) diff --git a/plugins/RemovableDriveOutputDevice/CMakeLists.txt b/plugins/RemovableDriveOutputDevice/CMakeLists.txt new file mode 100644 index 0000000000..8c7300f142 --- /dev/null +++ b/plugins/RemovableDriveOutputDevice/CMakeLists.txt @@ -0,0 +1,8 @@ +add_custom_target( RemovableDriveOutputDevice SOURCES + __init__.py + LinuxRemovableDrivePlugin.py + OSXRemovableDrivePlugin.py + RemovableDriveOutputDevice.py + RemovableDrivePlugin.py + WindowsRemovableDrivePlugin.py +) diff --git a/plugins/SliceInfoPlugin/CMakeLists.txt b/plugins/SliceInfoPlugin/CMakeLists.txt new file mode 100644 index 0000000000..45c9b2e906 --- /dev/null +++ b/plugins/SliceInfoPlugin/CMakeLists.txt @@ -0,0 +1,4 @@ +add_custom_target( SliceInfoPlugin SOURCES + __init__.py + SliceInfo.py +) diff --git a/plugins/SolidView/CMakeLists.txt b/plugins/SolidView/CMakeLists.txt new file mode 100644 index 0000000000..bfd8cf4bab --- /dev/null +++ b/plugins/SolidView/CMakeLists.txt @@ -0,0 +1,4 @@ +add_custom_target( SolidView SOURCES + __init__.py + SolidView.py +) diff --git a/plugins/USBPrinting/CMakeLists.txt b/plugins/USBPrinting/CMakeLists.txt new file mode 100644 index 0000000000..715eb8530b --- /dev/null +++ b/plugins/USBPrinting/CMakeLists.txt @@ -0,0 +1,9 @@ +add_custom_target( USBPrinting SOURCES + __init__.py + ControlWindow.qml + FirmwareUpdateWindow.qml + PrinterConnection.py + USBPrinterManager.py +) + + diff --git a/plugins/USBPrinting/avr_isp/CMakeLists.txt b/plugins/USBPrinting/avr_isp/CMakeLists.txt new file mode 100644 index 0000000000..1c5963b134 --- /dev/null +++ b/plugins/USBPrinting/avr_isp/CMakeLists.txt @@ -0,0 +1,9 @@ +add_custom_target( avr_isp SOURCES + __init__.py + chipDB.py + intelHex.py + ispBase.py + stk500v2.py +) + + diff --git a/plugins/XRayView/CMakeLists.txt b/plugins/XRayView/CMakeLists.txt new file mode 100644 index 0000000000..7cd0d3b8ea --- /dev/null +++ b/plugins/XRayView/CMakeLists.txt @@ -0,0 +1,9 @@ +add_custom_target( XRayView SOURCES + __init__.py + xray.shader + xray_composite.shader + XRayPass.py + XRayView.py +) + +subdirs( avr_isp ) diff --git a/plugins/XRayView/avr_isp/CMakeLists.txt b/plugins/XRayView/avr_isp/CMakeLists.txt new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/plugins/XRayView/avr_isp/CMakeLists.txt @@ -0,0 +1 @@ + diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt new file mode 100644 index 0000000000..e9f03b19ae --- /dev/null +++ b/resources/CMakeLists.txt @@ -0,0 +1,9 @@ +subdirs( i18n ) +subdirs( images ) +subdirs( machines ) +subdirs( meshes ) +subdirs( profiles ) +subdirs( qml ) +subdirs( settings ) +subdirs( shaders ) +subdirs( themes ) diff --git a/resources/i18n/CMakeLists.txt b/resources/i18n/CMakeLists.txt new file mode 100644 index 0000000000..5d391fc93e --- /dev/null +++ b/resources/i18n/CMakeLists.txt @@ -0,0 +1,6 @@ +add_custom_target( i18n SOURCES + cura.pot + fdmprinter.json.pot +) + +subdirs( en ) diff --git a/resources/images/CMakeLists.txt b/resources/images/CMakeLists.txt new file mode 100644 index 0000000000..79d85ec3df --- /dev/null +++ b/resources/images/CMakeLists.txt @@ -0,0 +1,9 @@ +add_custom_target( images SOURCES + cura.png + cura-icon.png + MakerStarterbackplate.png + Ultimaker2backplate.png + Ultimaker2Extendedbackplate.png + Ultimaker2Gobackplate.png + UltimakerPlusbackplate.png +) diff --git a/resources/machines/CMakeLists.txt b/resources/machines/CMakeLists.txt new file mode 100644 index 0000000000..8d89436dc9 --- /dev/null +++ b/resources/machines/CMakeLists.txt @@ -0,0 +1,2 @@ +add_custom_target( machines SOURCES +) diff --git a/resources/meshes/CMakeLists.txt b/resources/meshes/CMakeLists.txt new file mode 100644 index 0000000000..c9625e24c4 --- /dev/null +++ b/resources/meshes/CMakeLists.txt @@ -0,0 +1,2 @@ +add_custom_target( meshes SOURCES +) diff --git a/resources/profiles/CMakeLists.txt b/resources/profiles/CMakeLists.txt new file mode 100644 index 0000000000..a18616c389 --- /dev/null +++ b/resources/profiles/CMakeLists.txt @@ -0,0 +1,2 @@ +add_custom_target( profiles SOURCES +) diff --git a/resources/qml/CMakeLists.txt b/resources/qml/CMakeLists.txt new file mode 100644 index 0000000000..2a4cf7ca74 --- /dev/null +++ b/resources/qml/CMakeLists.txt @@ -0,0 +1,18 @@ +add_custom_target( qml SOURCES + AboutDialog.qml + Actions.qml + AddMachineWizard.qml + Cura.qml + EngineLog.qml + GeneralPage.qml + JobSpecs.qml + ProfileSetup.qml + SaveButton.qml + Sidebar.qml + SidebarAdvanced.qml + SidebarHeader.qml + SidebarSimple.qml + SidebarTooltip.qml + Toolbar.qml + Toolbar.qml +) diff --git a/resources/qml/WizardPages/CMakeLists.txt b/resources/qml/WizardPages/CMakeLists.txt new file mode 100644 index 0000000000..f05d414dac --- /dev/null +++ b/resources/qml/WizardPages/CMakeLists.txt @@ -0,0 +1,7 @@ +add_custom_target( WizardPages SOURCES + AddMachine.qml + Bedleveling.qml + SelectUpgradedParts.qml + UltimakerCheckup.qml + UpgradeFirmware.qml +) diff --git a/resources/settings/CMakeLists.txt b/resources/settings/CMakeLists.txt new file mode 100644 index 0000000000..a0273028bf --- /dev/null +++ b/resources/settings/CMakeLists.txt @@ -0,0 +1,2 @@ +add_custom_target( settings SOURCES +) diff --git a/resources/shaders/CMakeLists.txt b/resources/shaders/CMakeLists.txt new file mode 100644 index 0000000000..e84a4810ec --- /dev/null +++ b/resources/shaders/CMakeLists.txt @@ -0,0 +1,2 @@ +add_custom_target( shaders SOURCES +) diff --git a/resources/themes/CMakeLists.txt b/resources/themes/CMakeLists.txt new file mode 100644 index 0000000000..c306fe5240 --- /dev/null +++ b/resources/themes/CMakeLists.txt @@ -0,0 +1,4 @@ +add_custom_target( themes SOURCES +) + +subdirs( cura ) diff --git a/resources/themes/cura/CMakeLists.txt b/resources/themes/cura/CMakeLists.txt new file mode 100644 index 0000000000..1eea58c7aa --- /dev/null +++ b/resources/themes/cura/CMakeLists.txt @@ -0,0 +1,6 @@ +add_custom_target( themes_cura SOURCES + styles.qml + theme.json +) + +subdirs( icons ) diff --git a/resources/themes/cura/icons/CMakeLists.txt b/resources/themes/cura/icons/CMakeLists.txt new file mode 100644 index 0000000000..8c56fdafa0 --- /dev/null +++ b/resources/themes/cura/icons/CMakeLists.txt @@ -0,0 +1,54 @@ +add_custom_target( themes_cura_icons SOURCES + application.svg + arrow_bottom.svg + arrow_left.svg + arrow_right.svg + arrow_top.svg + basic.svg + category_adhesion.svg + category_blackmagic.svg + category_cool.svg + category_dual.svg + category_fixes.svg + category_infill.svg + category_layer_height.svg + category_material.svg + category_shell.svg + category_shield.svg + category_speed.svg + category_support.svg + category_travel.svg + category_unknown.svg + check.svg + cross1.svg + cross2.svg + dense.svg + dot.svg + hollow.svg + load.svg + mirror.svg + open.svg + plugin.svg + plus.svg + printsetup.svg + print_time.svg + quick.svg + reset.svg + rotate.svg + rotate_layflat.svg + rotate_reset.svg + save.svg + save_sd.svg + scale.svg + scale_max.svg + scale_reset.svg + setting_per_object.svg + settings.svg + solid.svg + sparse.svg + ulti.svg + view_layer.svg + viewmode.svg + view_normal.svg + view_xray.svg +)