Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
CMake
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2,682
Issues
2,682
List
Boards
Labels
Milestones
Merge Requests
22
Merge Requests
22
Packages
Packages
Container Registry
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CMake
CMake
Commits
30c8c9f5
Commit
30c8c9f5
authored
Apr 17, 2018
by
Alex Turbov
Committed by
Brad King
Apr 23, 2018
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CPack: Add CPACK_PACKAGE_HOMEPAGE_URL setting
Initialize it from `CMAKE_PROJECT_HOMEPAGE_URL`.
parent
c9fa8f94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
Modules/CPack.cmake
Modules/CPack.cmake
+12
-0
No files found.
Modules/CPack.cmake
View file @
30c8c9f5
...
...
@@ -105,6 +105,14 @@
# if DESCRIPTION has given to the project() call or
# CMake generated string with PROJECT_NAME otherwise.
#
# .. variable:: CPACK_PACKAGE_HOMEPAGE_URL
#
# Project homepage URL. Default value is::
#
# ${CMAKE_PROJECT_HOMEPAGE_URL}
#
# if HOMEPAGE_URL has given to the project().
#
# .. variable:: CPACK_PACKAGE_FILE_NAME
#
# The name of the package file to generate, not including the
...
...
@@ -373,6 +381,10 @@ else()
_cpack_set_default
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"
${
CMAKE_PROJECT_NAME
}
built using CMake"
)
endif
()
if
(
CMAKE_PROJECT_HOMEPAGE_URL
)
_cpack_set_default
(
CPACK_PACKAGE_HOMEPAGE_URL
"
${
CMAKE_PROJECT_HOMEPAGE_URL
}
"
)
endif
()
_cpack_set_default
(
CPACK_PACKAGE_DESCRIPTION_FILE
"
${
CMAKE_ROOT
}
/Templates/CPack.GenericDescription.txt"
)
...
...
Brad King
@brad.king
mentioned in commit
c74b9618
·
Apr 24, 2018
mentioned in commit
c74b9618
mentioned in commit c74b9618d5efc09af846d5ed54bd6e88448a5e2f
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment