2020-04-27 10:10:25 +02:00
|
|
|
set(resource_directories
|
|
|
|
|
android
|
|
|
|
|
cplusplus
|
|
|
|
|
glsl
|
|
|
|
|
indexer_preincludes
|
|
|
|
|
modeleditor
|
|
|
|
|
qmldesigner
|
|
|
|
|
qmlicons
|
|
|
|
|
qml-type-descriptions
|
|
|
|
|
schemes
|
|
|
|
|
snippets
|
|
|
|
|
styles
|
|
|
|
|
templates
|
|
|
|
|
themes
|
|
|
|
|
)
|
|
|
|
|
|
2022-05-16 10:17:21 +02:00
|
|
|
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
|
2022-08-04 15:40:04 +02:00
|
|
|
debugger/android_stdtypes.py
|
2022-11-29 10:17:28 +01:00
|
|
|
debugger/libcpp_stdtypes.py
|
2022-05-16 10:17:21 +02:00
|
|
|
debugger/stdtypes.py
|
|
|
|
|
debugger/utils.py
|
2023-04-03 18:46:43 +02:00
|
|
|
debugger/loadorder.txt
|
2022-05-16 10:17:21 +02:00
|
|
|
)
|
|
|
|
|
|
2020-04-27 10:10:25 +02:00
|
|
|
# copy resource directories during build
|
2020-04-29 22:09:45 +02:00
|
|
|
qtc_copy_to_builddir(copy_share_to_builddir
|
|
|
|
|
DIRECTORIES ${resource_directories}
|
|
|
|
|
DESTINATION "${IDE_DATA_PATH}"
|
|
|
|
|
CREATE_SUBDIRS
|
|
|
|
|
)
|
2019-05-31 14:23:47 +02:00
|
|
|
|
2022-05-16 10:17:21 +02:00
|
|
|
# copy resource files during build
|
|
|
|
|
qtc_copy_to_builddir(copy_share_files_to_builddir
|
|
|
|
|
FILES ${resource_files}
|
|
|
|
|
DESTINATION ${IDE_DATA_PATH}
|
|
|
|
|
)
|
|
|
|
|
|
2020-04-27 10:10:25 +02:00
|
|
|
# create install rule for resource directories
|
2020-11-11 16:33:36 +01:00
|
|
|
install(
|
|
|
|
|
DIRECTORY ${resource_directories}
|
|
|
|
|
DESTINATION "${IDE_DATA_PATH}"
|
|
|
|
|
USE_SOURCE_PERMISSIONS
|
|
|
|
|
)
|
2019-05-23 15:13:06 +02:00
|
|
|
|
2022-05-16 10:17:21 +02:00
|
|
|
# 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()
|
|
|
|
|
|
|
|
|
|
|
2019-05-23 15:13:06 +02:00
|
|
|
add_subdirectory(translations)
|