Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112205
D145.1732278113.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
870 B
Referenced Files
None
Subscribers
None
D145.1732278113.diff
View Options
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -5,6 +5,7 @@
cmake_parse_arguments(PARSE_ARGV 0 kazv_add_qml_files "${options}" "${oneValueArgs}" "${multiValueArgs}")
set(target "${kazv_add_qml_files_UNPARSED_ARGUMENTS}")
+ set(allSources)
foreach(source ${kazv_add_qml_files_SOURCES})
message(STATUS "Adding source: ${kazv_add_qml_files_BASE_DIRECTORY} / ${source}")
set_source_files_properties(
@@ -12,11 +13,12 @@
PROPERTIES
QT_RESOURCE_ALIAS "${source}"
)
- qt_target_qml_sources(
- "${target}"
- QML_FILES "${kazv_add_qml_files_BASE_DIRECTORY}/${source}"
- )
+ list(APPEND allSources "${kazv_add_qml_files_BASE_DIRECTORY}/${source}")
endforeach()
+ qt_target_qml_sources(
+ "${target}"
+ QML_FILES ${allSources}
+ )
endfunction()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 4:21 AM (16 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38836
Default Alt Text
D145.1732278113.diff (870 B)
Attached To
Mode
D145: Reduce calls to qt_target_qml_sources()
Attached
Detach File
Event Timeline
Log In to Comment