Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
4c41b145
Commit
4c41b145
authored
6 years ago
by
Guillaume Pasero
Browse files
Options
Downloads
Patches
Plain Diff
PKG: analyse dependencies of Qt plugins
parent
dfc4e77e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Packaging/install_rule.cmake
+6
-0
6 additions, 0 deletions
Packaging/install_rule.cmake
Packaging/prepare_file_list.cmake
+9
-0
9 additions, 0 deletions
Packaging/prepare_file_list.cmake
with
15 additions
and
0 deletions
Packaging/install_rule.cmake
+
6
−
0
View file @
4c41b145
...
...
@@ -29,6 +29,9 @@ function(install_rule src_file)
get_filename_component
(
src_file_NAME_WE
${
src_file
}
NAME_WE
)
get_filename_component
(
src_file_PATH
${
src_file
}
PATH
)
get_filename_component
(
src_file_GPATH
${
src_file_PATH
}
PATH
)
get_filename_component
(
src_file_GNAME
${
src_file_GPATH
}
NAME
)
file
(
GLOB src_file_star
"
${
src_file_PATH
}
/
${
src_file_NAME_WE
}
*"
)
foreach
(
sfile
${
src_file_star
}
)
get_filename_component
(
sfile_NAME
${
sfile
}
NAME
)
...
...
@@ -51,6 +54,9 @@ function(install_rule src_file)
message
(
"SKIP INSTALL for
${
sfile_NAME_LOWER
}
"
)
endif
()
continue
()
elseif
((
"
${
sfile_ABS_LOWER
}
"
MATCHES
"(
\\
${
LIB_EXT
}
)$"
)
AND
(
src_file_GNAME STREQUAL
"plugins"
))
# special case: Qt plugins are installed by install_qtdev_files
continue
()
elseif
(
"
${
sfile_ABS_LOWER
}
"
MATCHES
"(
\\
.exe)$"
)
set
(
install_type PROGRAMS
)
set
(
install_dir bin
)
...
...
This diff is collapsed.
Click to expand it.
Packaging/prepare_file_list.cmake
+
9
−
0
View file @
4c41b145
...
...
@@ -95,5 +95,14 @@ function(prepare_file_list file_list_result)
list
(
APPEND file_list
"libEGL.dll"
)
endif
()
# Qt plugins
if
(
HAVE_QT
)
file
(
GLOB _qt_plugins
"
${
SUPERBUILD_INSTALL_DIR
}
/plugins/*/
${
LIB_PREFIX
}
*
${
LIB_EXT
}
"
)
foreach
(
_qt_plugin
${
_qt_plugins
}
)
get_filename_component
(
_qt_plugin_name
${
_qt_plugin
}
NAME
)
list
(
APPEND file_list
${
_qt_plugin_name
}
)
endforeach
()
endif
()
set
(
${
file_list_result
}
${
file_list
}
PARENT_SCOPE
)
endfunction
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment