Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
93b0c92e
Commit
93b0c92e
authored
May 06, 2014
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug in package name
parent
80e346f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
CMakeLists.txt
CMakeLists.txt
+8
-6
No files found.
CMakeLists.txt
View file @
93b0c92e
...
...
@@ -305,25 +305,27 @@ INSTALL(FILES
# ----------------
#
# build a CPack driven installer package
set
(
CPACK_RESOURCE_FILE_LICENSE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Licence.txt"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR
"
${
ScalFMM_MAJOR_VERSION
}
"
)
SET
(
CPACK_PACKAGE_VERSION_NINOR
"
${
ScalFMM_MINOR_VERSION
}
"
)
#
# Use git commit number as CPACK_PACKAGE_VERSION_PATCH
execute_process
(
COMMAND git rev-list HEAD --count
OUTPUT_VARIABLE CPACK_PACKAGE_VERSION_PATCH
RESULT_VARIABLE RET
ERROR_QUIET
ERROR_QUIET
OUTPUT_STRIP_TRAILING_WHITESPACE
)
# STRING_TRIM(PATCH1 PATCH)
SET
(
CPACK_INCLUDE_TOPLEVEL_DIRECTORY
"ON"
)
#
set
(
CPACK_RESOURCE_FILE_LICENSE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Licence.txt"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR
"
${
ScalFMM_MAJOR_VERSION
}
"
)
SET
(
CPACK_PACKAGE_VERSION_NINOR
"
${
ScalFMM_MINOR_VERSION
}
"
)
#
SET
(
CPACK_SOURCE_GENERATOR
"TGZ"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"ScalFMM-
${
ScalFMM_
VERSION
}
"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"ScalFMM-
${
ScalFMM_
MAJOR_VERSION
}
.
${
ScalFMM_MINOR_VERSION
}
-
${
CPACK_PACKAGE_VERSION_PATCH
}
"
)
SET
(
CPACK_SOURCE_IGNORE_FILES
"
\\\\
.git;.DS_Store;.*~;/*.aux;/*.idx;/*.log;/*.out;/*.toc;/*.ilg;/*.ind;scalfmm.pro*;org.eclipse.core.resources.prefs;.cproject;.project"
)
LIST
(
APPEND CPACK_SOURCE_IGNORE_FILES
"
${
CMAKE_BINARY_DIR
}
;
${
CMAKE_SOURCE_DIR
}
/Utils/;Notes;Deprecated;Build*"
)
message
(
"CPACK_SOURCE_IGNORE_FILES =
${
CPACK_SOURCE_IGNORE_FILES
}
"
)
message
(
"CPACK_SOURCE_PACKAGE_FILE_NAME =
${
CPACK_SOURCE_PACKAGE_FILE_NAME
}
"
)
#
INCLUDE
(
CPack
)
#
...
...
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