mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 20:06:04 +08:00
Added CmakeLists.txt file for ability to open and search through files in Qtcreator
This commit is contained in:
parent
fd5d029c4b
commit
000390966e
@ -4,6 +4,13 @@ cmake_minimum_required(VERSION 2.8.12)
|
|||||||
|
|
||||||
include(GNUInstallDirs)
|
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(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")
|
set(CURA_VERSION "master" CACHE STRING "Version name of Cura")
|
||||||
@ -60,6 +67,9 @@ if(NOT APPLE AND NOT WIN32)
|
|||||||
install(DIRECTORY cura DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages FILES_MATCHING PATTERN *.py)
|
install(DIRECTORY cura DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages FILES_MATCHING PATTERN *.py)
|
||||||
install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura)
|
install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py DESTINATION lib/python${PYTHON_VERSION_MAJOR}/dist-packages/cura)
|
||||||
install(FILES cura.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
install(FILES cura.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
||||||
|
install(FILES cura.sharedmimeinfo
|
||||||
|
DESTINATION ${CMAKE_INSTALL_DATADIR}/mime/packages/
|
||||||
|
RENAME cura.xml )
|
||||||
else()
|
else()
|
||||||
install(DIRECTORY cura DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages FILES_MATCHING PATTERN *.py)
|
install(DIRECTORY cura DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages FILES_MATCHING PATTERN *.py)
|
||||||
install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura)
|
install(FILES ${CMAKE_BINARY_DIR}/CuraVersion.py DESTINATION lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/cura)
|
||||||
|
21
cura/CMakeLists.txt
Normal file
21
cura/CMakeLists.txt
Normal file
@ -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
|
||||||
|
)
|
8
icons/CMakeLists.txt
Normal file
8
icons/CMakeLists.txt
Normal file
@ -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
|
||||||
|
)
|
4
plugins/3MFReader/CMakeLists.txt
Normal file
4
plugins/3MFReader/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
add_custom_target( ThreeMFReader SOURCES
|
||||||
|
__init__.py
|
||||||
|
ThreeMFReader.py
|
||||||
|
)
|
13
plugins/CMakeLists.txt
Normal file
13
plugins/CMakeLists.txt
Normal file
@ -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 )
|
6
plugins/ChangeLogPlugin/CMakeLists.txt
Normal file
6
plugins/ChangeLogPlugin/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
add_custom_target( ChangeLog SOURCES
|
||||||
|
__init__.py
|
||||||
|
ChangeLog.py
|
||||||
|
ChangeLog.txt
|
||||||
|
ChangeLog.qml
|
||||||
|
)
|
8
plugins/CuraEngineBackend/CMakeLists.txt
Normal file
8
plugins/CuraEngineBackend/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
add_custom_target( CuraEngineBackend SOURCES
|
||||||
|
__init__.py
|
||||||
|
CuraEngineBackend.py
|
||||||
|
Cura_pb2.py
|
||||||
|
ProcessGCodeJob.py
|
||||||
|
ProcessSlicedObjectListJob.py
|
||||||
|
StartSliceJob.py
|
||||||
|
)
|
3
plugins/GCodeReader/CMakeLists.txt
Normal file
3
plugins/GCodeReader/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
add_custom_target( GCodeReader SOURCES
|
||||||
|
|
||||||
|
)
|
4
plugins/GCodeWriter/CMakeLists.txt
Normal file
4
plugins/GCodeWriter/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
add_custom_target( GCodeWriter SOURCES
|
||||||
|
__init__.py
|
||||||
|
GCodeWriter.py
|
||||||
|
)
|
6
plugins/LayerView/CMakeLists.txt
Normal file
6
plugins/LayerView/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
add_custom_target( LayerView SOURCES
|
||||||
|
__init__.py
|
||||||
|
LayerView.py
|
||||||
|
LayerView.qml
|
||||||
|
LayerViewProxy.py
|
||||||
|
)
|
7
plugins/PerObjectSettingsTool/CMakeLists.txt
Normal file
7
plugins/PerObjectSettingsTool/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
add_custom_target( PerObjectSettingsTool SOURCES
|
||||||
|
__init__.py
|
||||||
|
PerObjectSettingsModel.py
|
||||||
|
PerObjectSettingsPanel.qml
|
||||||
|
PerObjectSettingsTool.py
|
||||||
|
SettingOverrideModel.py
|
||||||
|
)
|
8
plugins/RemovableDriveOutputDevice/CMakeLists.txt
Normal file
8
plugins/RemovableDriveOutputDevice/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
add_custom_target( RemovableDriveOutputDevice SOURCES
|
||||||
|
__init__.py
|
||||||
|
LinuxRemovableDrivePlugin.py
|
||||||
|
OSXRemovableDrivePlugin.py
|
||||||
|
RemovableDriveOutputDevice.py
|
||||||
|
RemovableDrivePlugin.py
|
||||||
|
WindowsRemovableDrivePlugin.py
|
||||||
|
)
|
4
plugins/SliceInfoPlugin/CMakeLists.txt
Normal file
4
plugins/SliceInfoPlugin/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
add_custom_target( SliceInfoPlugin SOURCES
|
||||||
|
__init__.py
|
||||||
|
SliceInfo.py
|
||||||
|
)
|
4
plugins/SolidView/CMakeLists.txt
Normal file
4
plugins/SolidView/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
add_custom_target( SolidView SOURCES
|
||||||
|
__init__.py
|
||||||
|
SolidView.py
|
||||||
|
)
|
9
plugins/USBPrinting/CMakeLists.txt
Normal file
9
plugins/USBPrinting/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
add_custom_target( USBPrinting SOURCES
|
||||||
|
__init__.py
|
||||||
|
ControlWindow.qml
|
||||||
|
FirmwareUpdateWindow.qml
|
||||||
|
PrinterConnection.py
|
||||||
|
USBPrinterManager.py
|
||||||
|
)
|
||||||
|
|
||||||
|
|
9
plugins/USBPrinting/avr_isp/CMakeLists.txt
Normal file
9
plugins/USBPrinting/avr_isp/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
add_custom_target( avr_isp SOURCES
|
||||||
|
__init__.py
|
||||||
|
chipDB.py
|
||||||
|
intelHex.py
|
||||||
|
ispBase.py
|
||||||
|
stk500v2.py
|
||||||
|
)
|
||||||
|
|
||||||
|
|
9
plugins/XRayView/CMakeLists.txt
Normal file
9
plugins/XRayView/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
add_custom_target( XRayView SOURCES
|
||||||
|
__init__.py
|
||||||
|
xray.shader
|
||||||
|
xray_composite.shader
|
||||||
|
XRayPass.py
|
||||||
|
XRayView.py
|
||||||
|
)
|
||||||
|
|
||||||
|
subdirs( avr_isp )
|
1
plugins/XRayView/avr_isp/CMakeLists.txt
Normal file
1
plugins/XRayView/avr_isp/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
9
resources/CMakeLists.txt
Normal file
9
resources/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
subdirs( i18n )
|
||||||
|
subdirs( images )
|
||||||
|
subdirs( machines )
|
||||||
|
subdirs( meshes )
|
||||||
|
subdirs( profiles )
|
||||||
|
subdirs( qml )
|
||||||
|
subdirs( settings )
|
||||||
|
subdirs( shaders )
|
||||||
|
subdirs( themes )
|
6
resources/i18n/CMakeLists.txt
Normal file
6
resources/i18n/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
add_custom_target( i18n SOURCES
|
||||||
|
cura.pot
|
||||||
|
fdmprinter.json.pot
|
||||||
|
)
|
||||||
|
|
||||||
|
subdirs( en )
|
9
resources/images/CMakeLists.txt
Normal file
9
resources/images/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
add_custom_target( images SOURCES
|
||||||
|
cura.png
|
||||||
|
cura-icon.png
|
||||||
|
MakerStarterbackplate.png
|
||||||
|
Ultimaker2backplate.png
|
||||||
|
Ultimaker2Extendedbackplate.png
|
||||||
|
Ultimaker2Gobackplate.png
|
||||||
|
UltimakerPlusbackplate.png
|
||||||
|
)
|
2
resources/machines/CMakeLists.txt
Normal file
2
resources/machines/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
add_custom_target( machines SOURCES
|
||||||
|
)
|
2
resources/meshes/CMakeLists.txt
Normal file
2
resources/meshes/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
add_custom_target( meshes SOURCES
|
||||||
|
)
|
2
resources/profiles/CMakeLists.txt
Normal file
2
resources/profiles/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
add_custom_target( profiles SOURCES
|
||||||
|
)
|
18
resources/qml/CMakeLists.txt
Normal file
18
resources/qml/CMakeLists.txt
Normal file
@ -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
|
||||||
|
)
|
7
resources/qml/WizardPages/CMakeLists.txt
Normal file
7
resources/qml/WizardPages/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
add_custom_target( WizardPages SOURCES
|
||||||
|
AddMachine.qml
|
||||||
|
Bedleveling.qml
|
||||||
|
SelectUpgradedParts.qml
|
||||||
|
UltimakerCheckup.qml
|
||||||
|
UpgradeFirmware.qml
|
||||||
|
)
|
2
resources/settings/CMakeLists.txt
Normal file
2
resources/settings/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
add_custom_target( settings SOURCES
|
||||||
|
)
|
2
resources/shaders/CMakeLists.txt
Normal file
2
resources/shaders/CMakeLists.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
add_custom_target( shaders SOURCES
|
||||||
|
)
|
4
resources/themes/CMakeLists.txt
Normal file
4
resources/themes/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
add_custom_target( themes SOURCES
|
||||||
|
)
|
||||||
|
|
||||||
|
subdirs( cura )
|
6
resources/themes/cura/CMakeLists.txt
Normal file
6
resources/themes/cura/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
add_custom_target( themes_cura SOURCES
|
||||||
|
styles.qml
|
||||||
|
theme.json
|
||||||
|
)
|
||||||
|
|
||||||
|
subdirs( icons )
|
54
resources/themes/cura/icons/CMakeLists.txt
Normal file
54
resources/themes/cura/icons/CMakeLists.txt
Normal file
@ -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
|
||||||
|
)
|
Loading…
x
Reference in New Issue
Block a user