Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
89d53e1a
Commit
89d53e1a
authored
8 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
codesign
parent
b3e8ae2f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-6
4 additions, 6 deletions
CMakeLists.txt
with
4 additions
and
6 deletions
CMakeLists.txt
+
4
−
6
View file @
89d53e1a
...
@@ -1806,6 +1806,10 @@ if(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
...
@@ -1806,6 +1806,10 @@ if(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
file
(
WRITE
${
CMAKE_CURRENT_BINARY_DIR
}
/Info.plist
"
${
F1
}
"
)
file
(
WRITE
${
CMAKE_CURRENT_BINARY_DIR
}
/Info.plist
"
${
F1
}
"
)
set
(
CPACK_BUNDLE_PLIST
${
CMAKE_CURRENT_BINARY_DIR
}
/Info.plist
)
set
(
CPACK_BUNDLE_PLIST
${
CMAKE_CURRENT_BINARY_DIR
}
/Info.plist
)
set
(
CPACK_BUNDLE_ICON
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIcons.icns
)
set
(
CPACK_BUNDLE_ICON
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIcons.icns
)
if
(
PACKAGER STREQUAL
"geuzaine FIXME"
)
# codesigning requires CMake >= 3.2
set
(
CPACK_BUNDLE_APPLE_CERT_APP
"Developer ID Application: Christophe Geuzaine"
)
endif
(
PACKAGER STREQUAL
"geuzaine FIXME"
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIconsGeo.icns DESTINATION .
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIconsGeo.icns DESTINATION .
RENAME GmshGeo.icns
)
RENAME GmshGeo.icns
)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIconsMsh.icns DESTINATION .
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIconsMsh.icns DESTINATION .
...
@@ -1815,12 +1819,6 @@ if(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
...
@@ -1815,12 +1819,6 @@ if(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIconsPos.icns DESTINATION .
install
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIconsPos.icns DESTINATION .
RENAME GmshPos.icns
)
RENAME GmshPos.icns
)
set
(
CPACK_PACKAGE_ICON
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIcons.icns
)
set
(
CPACK_PACKAGE_ICON
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIcons.icns
)
if
(
PACKAGER STREQUAL
"geuzaine FIXME"
)
set
(
CODESIGN
"codesign --verbose --deep --sign
\"
Developer ID Application: Christophe Geuzaine
\"
"
)
set
(
APPDIR _CPack_Packages/Darwin/Bundle/gmsh-
${
GMSH_VERSION
}
-MacOSX/Gmsh.app
)
install
(
CODE
"execute_process(COMMAND
${
CODESIGN
}
${
APPDIR
}
)"
)
endif
(
PACKAGER STREQUAL
"geuzaine FIXME"
)
elseif
(
WIN32 OR CYGWIN
)
elseif
(
WIN32 OR CYGWIN
)
set
(
CPACK_GENERATOR ZIP
)
set
(
CPACK_GENERATOR ZIP
)
else
(
APPLE AND ENABLE_OS_SPECIFIC_INSTALL
)
else
(
APPLE AND ENABLE_OS_SPECIFIC_INSTALL
)
...
...
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