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
4c3bccc7
Commit
4c3bccc7
authored
12 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
ENABLE_APP_BUNDLE -> ENABLE_OS_SPECIFIC_INSTALL
parent
53d58d9e
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
+14
-8
14 additions, 8 deletions
CMakeLists.txt
with
14 additions
and
8 deletions
CMakeLists.txt
+
14
−
8
View file @
4c3bccc7
...
@@ -24,7 +24,6 @@ set(DEFAULT ON CACHE INTERNAL "Default value for enabled-by-default options")
...
@@ -24,7 +24,6 @@ set(DEFAULT ON CACHE INTERNAL "Default value for enabled-by-default options")
option
(
ENABLE_3M
"Enable 3M"
OFF
)
option
(
ENABLE_3M
"Enable 3M"
OFF
)
option
(
ENABLE_ACIS
"Enable ACIS geometrical models"
${
DEFAULT
}
)
option
(
ENABLE_ACIS
"Enable ACIS geometrical models"
${
DEFAULT
}
)
option
(
ENABLE_ANN
"Enable ANN to compute Approximate Nearest Neighbors"
${
DEFAULT
}
)
option
(
ENABLE_ANN
"Enable ANN to compute Approximate Nearest Neighbors"
${
DEFAULT
}
)
option
(
ENABLE_APP_BUNDLE
"Create .app bundle on Mac when installing"
${
DEFAULT
}
)
option
(
ENABLE_BAMG
"Enable Bamg mesh generator"
${
DEFAULT
}
)
option
(
ENABLE_BAMG
"Enable Bamg mesh generator"
${
DEFAULT
}
)
option
(
ENABLE_BFGS
"Enable BFGS"
${
DEFAULT
}
)
option
(
ENABLE_BFGS
"Enable BFGS"
${
DEFAULT
}
)
option
(
ENABLE_BLAS_LAPACK
"Use BLAS and Lapack for linear algebra"
ON
)
option
(
ENABLE_BLAS_LAPACK
"Use BLAS and Lapack for linear algebra"
ON
)
...
@@ -53,6 +52,7 @@ option(ENABLE_NETGEN "Enable Netgen mesh generator" ${DEFAULT})
...
@@ -53,6 +52,7 @@ option(ENABLE_NETGEN "Enable Netgen mesh generator" ${DEFAULT})
option
(
ENABLE_OCC
"Enable Open CASCADE geometrical models"
${
DEFAULT
}
)
option
(
ENABLE_OCC
"Enable Open CASCADE geometrical models"
${
DEFAULT
}
)
option
(
ENABLE_ONELAB
"Enable OneLab solver interface"
${
DEFAULT
}
)
option
(
ENABLE_ONELAB
"Enable OneLab solver interface"
${
DEFAULT
}
)
option
(
ENABLE_ONELAB_METAMODEL
"Enable OneLab metamodel"
${
DEFAULT
}
)
option
(
ENABLE_ONELAB_METAMODEL
"Enable OneLab metamodel"
${
DEFAULT
}
)
option
(
ENABLE_OS_SPECIFIC_INSTALL
"Use OS-specific (e.g. app bundle) install"
${
DEFAULT
}
)
option
(
ENABLE_OSMESA
"Use OSMesa for offscreen rendering"
OFF
)
option
(
ENABLE_OSMESA
"Use OSMesa for offscreen rendering"
OFF
)
option
(
ENABLE_PARSER
"Build the GEO file parser"
${
DEFAULT
}
)
option
(
ENABLE_PARSER
"Build the GEO file parser"
${
DEFAULT
}
)
option
(
ENABLE_PETSC
"Enable PETSc linear algebra solvers"
${
DEFAULT
}
)
option
(
ENABLE_PETSC
"Enable PETSc linear algebra solvers"
${
DEFAULT
}
)
...
@@ -1151,9 +1151,15 @@ macro(unix2dos VARNAME)
...
@@ -1151,9 +1151,15 @@ macro(unix2dos VARNAME)
endmacro
(
unix2dos
)
endmacro
(
unix2dos
)
if
(
WIN32 OR CYGWIN
)
if
(
WIN32 OR CYGWIN
)
set
(
GMSH_BIN .
)
if
(
ENABLE_OS_SPECIFIC_INSTALL
)
set
(
GMSH_DOC .
)
set
(
GMSH_BIN .
)
set
(
GMSH_MAN .
)
set
(
GMSH_DOC .
)
set
(
GMSH_MAN .
)
else
(
ENABLE_OS_SPECIFIC_INSTALL
)
set
(
GMSH_BIN bin
)
set
(
GMSH_DOC share/doc/gmsh
)
set
(
GMSH_MAN share/man/man1
)
endif
(
ENABLE_OS_SPECIFIC_INSTALL
)
if
(
CYGWIN
)
if
(
CYGWIN
)
unix2dos
(
GMSH_API
)
unix2dos
(
GMSH_API
)
unix2dos
(
WELCOME_FILE
)
unix2dos
(
WELCOME_FILE
)
...
@@ -1162,7 +1168,7 @@ if(WIN32 OR CYGWIN)
...
@@ -1162,7 +1168,7 @@ if(WIN32 OR CYGWIN)
unix2dos
(
TUTORIAL_FILES
)
unix2dos
(
TUTORIAL_FILES
)
unix2dos
(
DEMO_FILES
)
unix2dos
(
DEMO_FILES
)
endif
(
CYGWIN
)
endif
(
CYGWIN
)
elseif
(
APPLE AND ENABLE_
APP_BUNDLE
)
elseif
(
APPLE AND ENABLE_
OS_SPECIFIC_INSTALL
)
# set these so that the files get installed nicely in the MacOSX
# set these so that the files get installed nicely in the MacOSX
# .app bundle
# .app bundle
set
(
GMSH_BIN ../MacOS
)
set
(
GMSH_BIN ../MacOS
)
...
@@ -1293,7 +1299,7 @@ if(UNIX)
...
@@ -1293,7 +1299,7 @@ if(UNIX)
set
(
CPACK_INSTALL_COMMANDS
"rm -rf
${
CMAKE_CURRENT_BINARY_DIR
}
/_CPack_Packages"
)
set
(
CPACK_INSTALL_COMMANDS
"rm -rf
${
CMAKE_CURRENT_BINARY_DIR
}
/_CPack_Packages"
)
endif
(
UNIX
)
endif
(
UNIX
)
if
(
APPLE AND ENABLE_
APP_BUNDLE
)
if
(
APPLE AND ENABLE_
OS_SPECIFIC_INSTALL
)
set
(
CPACK_GENERATOR Bundle
)
set
(
CPACK_GENERATOR Bundle
)
set
(
CPACK_BUNDLE_NAME Gmsh
)
set
(
CPACK_BUNDLE_NAME Gmsh
)
file
(
READ
${
CMAKE_CURRENT_SOURCE_DIR
}
/utils/misc/gmsh_app.plist F0
)
file
(
READ
${
CMAKE_CURRENT_SOURCE_DIR
}
/utils/misc/gmsh_app.plist F0
)
...
@@ -1312,9 +1318,9 @@ if(APPLE AND ENABLE_APP_BUNDLE)
...
@@ -1312,9 +1318,9 @@ if(APPLE AND ENABLE_APP_BUNDLE)
set
(
CPACK_PACKAGE_ICON
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIcons.icns
)
set
(
CPACK_PACKAGE_ICON
${
CMAKE_CURRENT_SOURCE_DIR
}
/Fltk/MacIcons.icns
)
elseif
(
WIN32 OR CYGWIN
)
elseif
(
WIN32 OR CYGWIN
)
set
(
CPACK_GENERATOR ZIP
)
set
(
CPACK_GENERATOR ZIP
)
else
(
APPLE AND ENABLE_
APP_BUNDLE
)
else
(
APPLE AND ENABLE_
OS_SPECIFIC_INSTALL
)
set
(
CPACK_GENERATOR TGZ
)
set
(
CPACK_GENERATOR TGZ
)
endif
(
APPLE AND ENABLE_
APP_BUNDLE
)
endif
(
APPLE AND ENABLE_
OS_SPECIFIC_INSTALL
)
if
(
ENABLE_WRAP_PYTHON
)
if
(
ENABLE_WRAP_PYTHON
)
find_package
(
SWIG
)
find_package
(
SWIG
)
...
...
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