Files
qt-creator/share/qtcreator/CMakeLists.txt
Marco Bubke 63022d08ea QmlDesigner: QmlPuppet as standalone tool
The qmlpuppet is now a standalone tool. There is new a library too with
the communication code. That is shared between the designer and the
puppet. It's in a .cmake file so it can be included by the standalone
tool if it is not part of a designer build.

Task-number: QDS-5879
Change-Id: I2bc2a0b463fbb3e0c8c23d182abfd368cf87e968
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2022-11-09 12:29:38 +00:00

75 lines
1.5 KiB
CMake

set(resource_directories
android
cplusplus
glsl
indexer_preincludes
modeleditor
qmldesigner
qmlicons
qml-type-descriptions
schemes
snippets
styles
templates
themes
)
set(resource_files
debugger/.pylintrc
debugger/boosttypes.py
debugger/cdbbridge.py
debugger/creatortypes.py
debugger/dumper.py
debugger/gdbbridge.py
debugger/gdbtracepoint.py
debugger/LICENSE.GPL3-EXCEPT
debugger/lldbbridge.py
debugger/misctypes.py
debugger/opencvtypes.py
debugger/pdbbridge.py
debugger/personaltypes.py
debugger/qttypes.py
debugger/README.txt
debugger/setup.cfg
debugger/android_stdtypes.py
debugger/mac_stdtypes.py
debugger/stdtypes.py
debugger/utils.py
)
if (APPLE)
set(resource_directories ${resource_directories} scripts)
endif()
# copy resource directories during build
qtc_copy_to_builddir(copy_share_to_builddir
DIRECTORIES ${resource_directories}
DESTINATION "${IDE_DATA_PATH}"
CREATE_SUBDIRS
)
# copy resource files during build
qtc_copy_to_builddir(copy_share_files_to_builddir
FILES ${resource_files}
DESTINATION ${IDE_DATA_PATH}
)
# create install rule for resource directories
install(
DIRECTORY ${resource_directories}
DESTINATION "${IDE_DATA_PATH}"
USE_SOURCE_PERMISSIONS
)
# create install rule for resource files
foreach(file ${resource_files})
get_filename_component(path "${file}" DIRECTORY)
install(
FILES "${file}"
DESTINATION "${IDE_DATA_PATH}/${path}"
)
endforeach()
add_subdirectory(translations)