Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
CMake
CMake
Commits
c70fcf64
Commit
c70fcf64
authored
May 04, 2010
by
Brad King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Package CMake with new version scheme
parent
03283794
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
CMakeCPack.cmake
CMakeCPack.cmake
+2
-7
No files found.
CMakeCPack.cmake
View file @
c70fcf64
...
...
@@ -31,12 +31,7 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
SET
(
CPACK_PACKAGE_VERSION_MINOR
"
${
CMake_VERSION_MINOR
}
"
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
"
${
CMake_VERSION_PATCH
}
"
)
SET
(
CPACK_PACKAGE_INSTALL_DIRECTORY
"CMake
${
CMake_VERSION_MAJOR
}
.
${
CMake_VERSION_MINOR
}
"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"cmake-
${
CMake_VERSION_MAJOR
}
.
${
CMake_VERSION_MINOR
}
.
${
CMake_VERSION_PATCH
}
"
)
IF
(
CMake_VERSION_RC
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"
${
CPACK_SOURCE_PACKAGE_FILE_NAME
}
-rc
${
CMake_VERSION_RC
}
"
)
ENDIF
(
CMake_VERSION_RC
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"cmake-
${
CMake_VERSION
}
"
)
IF
(
NOT DEFINED CPACK_SYSTEM_NAME
)
# make sure package is not Cygwin-unknown, for Cygwin just
# cygwin is good for the system name
...
...
@@ -88,7 +83,7 @@ IF(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
SET
(
CPACK_PACKAGE_NAME cmake
)
# setup the name of the package for cygwin cmake-2.4.3
SET
(
CPACK_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_NAME
}
-
${
CMake_VERSION
_MAJOR
}
.
${
CMake_VERSION_MINOR
}
.
${
CMake_VERSION_PATCH
}
"
)
"
${
CPACK_PACKAGE_NAME
}
-
${
CMake_VERSION
}
"
)
# the source has the same name as the binary
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
${
CPACK_PACKAGE_FILE_NAME
}
)
# Create a cygwin version number in case there are changes for cygwin
...
...
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