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,680
Issues
2,680
List
Boards
Labels
Milestones
Merge Requests
24
Merge Requests
24
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
3194220e
Commit
3194220e
authored
Jan 09, 2006
by
Andy Cedilnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENH: Cleanup
parent
65ce6ece
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Modules/CPack.cmake
Modules/CPack.cmake
+5
-3
No files found.
Modules/CPack.cmake
View file @
3194220e
...
...
@@ -17,12 +17,14 @@ cpack_set_if_not_set(CPACK_PACKAGE_VERSION_MAJOR "0")
cpack_set_if_not_set
(
CPACK_PACKAGE_VERSION_MINOR
"1"
)
cpack_set_if_not_set
(
CPACK_PACKAGE_VERSION_PATCH
"1"
)
cpack_set_if_not_set
(
CPACK_PACKAGE_VENDOR
"Humanity"
)
cpack_set_if_not_set
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"
${
PROJECT_NAME
}
built using CMake"
)
cpack_set_if_not_set
(
CPACK_PACKAGE_DESCRIPTION_FILE
"
${
CMAKE_ROOT
}
/Templates/CPack.GenericDescription.txt"
)
cpack_set_if_not_set
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"
${
PROJECT_NAME
}
built using CMake"
)
cpack_set_if_not_set
(
CPACK_PACKAGE_DESCRIPTION_FILE
"
${
CMAKE_ROOT
}
/Templates/CPack.GenericDescription.txt"
)
# <project>-<major>.<minor>.<patch>-<release>-<platform>.<pkgtype>
cpack_set_if_not_set
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_NAME
}
.
${
CPACK_PACKAGE_VERSION_MAJOR
}
.
${
CPACK_PACKAGE_VERSION_MINOR
}
.
${
CPACK_PACKAGE_VERSION_PATCH
}
-
${
CMAKE_SYSTEM_NAME
}
"
)
"
${
CPACK_PACKAGE_NAME
}
-
${
CPACK_PACKAGE_VERSION_MAJOR
}
.
${
CPACK_PACKAGE_VERSION_MINOR
}
.
${
CPACK_PACKAGE_VERSION_PATCH
}
-
${
CMAKE_SYSTEM_NAME
}
"
)
IF
(
NOT EXISTS
"
${
CPACK_PACKAGE_DESCRIPTION_FILE
}
"
)
MESSAGE
(
SEND_ERROR
"CPack package description file:
\"
${
CPACK_PACKAGE_DESCRIPTION_FILE
}
\"
could not be found."
)
...
...
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