Commit 718a8b3
committed
fix: optimize plugin installation to avoid redundant files
Changed the CMake installation directives for dock, notification center,
and notification plugin modules to use FILES_MATCHING with specific
patterns instead of installing entire directories. This prevents
redundant files from being installed during repeated builds, which was
causing compilation issues.
The modification specifies that only QML-related files (qmldir,
*.qmltypes, *.qml, *.js) should be installed from the build
directories, rather than copying all files. This resolves the problem
where unnecessary files were being repeatedly installed, leading to
compilation conflicts and build inconsistencies.
Influence:
1. Verify that dock panel still loads and functions correctly
2. Test notification center display and interaction
3. Check notification plugin behavior
4. Ensure all QML components are properly installed and accessible
5. Test repeated builds to confirm no installation conflicts occur
fix: 优化插件安装以避免冗余文件
修改了dock、通知中心和通知插件模块的CMake安装指令,使用FILES_MATCHING和
特定模式替代安装整个目录。这防止了在重复构建期间安装冗余文件,该问题曾导
致编译问题。
此修改指定仅应从构建目录安装QML相关文件(qmldir、*.qmltypes、*.qml、
*.js),而不是复制所有文件。这解决了因重复安装不必要文件而导致的编译冲突
和构建不一致问题。
Influence:
1. 验证dock面板仍能正确加载和运行
2. 测试通知中心的显示和交互
3. 检查通知插件行为
4. 确保所有QML组件正确安装并可访问
5. 测试重复构建以确认没有安装冲突发生1 parent 413823d commit 718a8b3
File tree
5 files changed
+19
-3
lines changed- panels
- dock
- tray
- quickpanel
- notification
- center
- plugin
5 files changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
59 | 63 | | |
60 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments