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
Package registry
Model registry
Operate
Terraform modules
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
Romin Tomasetti
gmsh
Commits
32f0e2d4
Commit
32f0e2d4
authored
7 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
DEPRECATED_API -> INTERNAL_DEVELOPER_API
parent
6f9ca772
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+19
-19
19 additions, 19 deletions
CMakeLists.txt
wrappers/gmshpy/CMakeLists.txt
+2
-2
2 additions, 2 deletions
wrappers/gmshpy/CMakeLists.txt
with
21 additions
and
21 deletions
CMakeLists.txt
+
19
−
19
View file @
32f0e2d4
...
@@ -46,7 +46,6 @@ opt(CAIRO "Enable Cairo to render fonts (experimental)" ${DEFAULT})
...
@@ -46,7 +46,6 @@ opt(CAIRO "Enable Cairo to render fonts (experimental)" ${DEFAULT})
opt
(
CHACO
"Enable Chaco mesh partitioner (alternative to Metis)"
${
DEFAULT
}
)
opt
(
CHACO
"Enable Chaco mesh partitioner (alternative to Metis)"
${
DEFAULT
}
)
opt
(
COMPRESSED_IO
"Enable compressed (gzip) input/output using zlib"
OFF
)
opt
(
COMPRESSED_IO
"Enable compressed (gzip) input/output using zlib"
OFF
)
opt
(
CXX11
"Enable C++11"
${
DEFAULT
}
)
opt
(
CXX11
"Enable C++11"
${
DEFAULT
}
)
opt
(
DEPRECATED_API
"Enable deprecated internal developer API"
ON
)
opt
(
DINTEGRATION
"Enable discrete integration (needed for levelsets)"
${
DEFAULT
}
)
opt
(
DINTEGRATION
"Enable discrete integration (needed for levelsets)"
${
DEFAULT
}
)
opt
(
FLTK
"Enable FLTK graphical user interface (requires mesh/post)"
${
DEFAULT
}
)
opt
(
FLTK
"Enable FLTK graphical user interface (requires mesh/post)"
${
DEFAULT
}
)
opt
(
FOURIER_MODEL
"Enable Fourier geometrical models (experimental)"
OFF
)
opt
(
FOURIER_MODEL
"Enable Fourier geometrical models (experimental)"
OFF
)
...
@@ -54,6 +53,7 @@ opt(GETDP "Enable GetDP solver (as a directly linked library)" ${DEFAULT})
...
@@ -54,6 +53,7 @@ opt(GETDP "Enable GetDP solver (as a directly linked library)" ${DEFAULT})
opt
(
GMM
"Enable GMM linear solvers (simple alternative to PETSc)"
${
DEFAULT
}
)
opt
(
GMM
"Enable GMM linear solvers (simple alternative to PETSc)"
${
DEFAULT
}
)
opt
(
GMP
"Enable GMP for Kbipack (advanced)"
ON
)
opt
(
GMP
"Enable GMP for Kbipack (advanced)"
ON
)
opt
(
GRAPHICS
"Enable building graphics lib even without GUI (advanced)"
OFF
)
opt
(
GRAPHICS
"Enable building graphics lib even without GUI (advanced)"
OFF
)
opt
(
INTERNAL_DEVELOPER_API
"Enable internal developer API (will be off by default)"
ON
)
opt
(
KBIPACK
"Enable Kbipack (neeeded by homology solver)"
${
DEFAULT
}
)
opt
(
KBIPACK
"Enable Kbipack (neeeded by homology solver)"
${
DEFAULT
}
)
opt
(
MATHEX
"Enable math expression parser (used by plugins and options)"
${
DEFAULT
}
)
opt
(
MATHEX
"Enable math expression parser (used by plugins and options)"
${
DEFAULT
}
)
opt
(
MED
"Enable MED mesh and post file formats"
${
DEFAULT
}
)
opt
(
MED
"Enable MED mesh and post file formats"
${
DEFAULT
}
)
...
@@ -104,7 +104,7 @@ set(GMSH_SHORT_LICENSE "GNU General Public License")
...
@@ -104,7 +104,7 @@ set(GMSH_SHORT_LICENSE "GNU General Public License")
set
(
GMSH_API Common/gmsh.h
)
set
(
GMSH_API Common/gmsh.h
)
set
(
GMSH_
DEPRECATED
_API
set
(
GMSH_
INTERNAL_DEVELOPER
_API
${
CMAKE_CURRENT_BINARY_DIR
}
/Common/GmshConfig.h
${
CMAKE_CURRENT_BINARY_DIR
}
/Common/GmshConfig.h
${
CMAKE_CURRENT_BINARY_DIR
}
/Common/GmshVersion.h
${
CMAKE_CURRENT_BINARY_DIR
}
/Common/GmshVersion.h
Common/GmshGlobal.h Common/Context.h Common/GmshDefines.h Common/GmshMessage.h
Common/GmshGlobal.h Common/Context.h Common/GmshDefines.h Common/GmshMessage.h
...
@@ -171,7 +171,7 @@ set(GMSH_DEPRECATED_API
...
@@ -171,7 +171,7 @@ set(GMSH_DEPRECATED_API
get_property
(
IAMCHILD DIRECTORY PROPERTY PARENT_DIRECTORY
)
get_property
(
IAMCHILD DIRECTORY PROPERTY PARENT_DIRECTORY
)
if
(
IAMCHILD
)
if
(
IAMCHILD
)
set
(
GMSH_
DEPRECATED
_API
${
GMSH_API
}
PARENT_SCOPE
)
set
(
GMSH_
INTERNAL_DEVELOPER
_API
${
GMSH_API
}
PARENT_SCOPE
)
endif
(
IAMCHILD
)
endif
(
IAMCHILD
)
if
(
${
CMAKE_MAJOR_VERSION
}
GREATER 2
)
if
(
${
CMAKE_MAJOR_VERSION
}
GREATER 2
)
...
@@ -1257,7 +1257,7 @@ if(ENABLE_WRAP_PYTHON)
...
@@ -1257,7 +1257,7 @@ if(ENABLE_WRAP_PYTHON)
find_package
(
PythonLibs
)
find_package
(
PythonLibs
)
if
(
SWIG_FOUND AND PYTHONLIBS_FOUND
)
if
(
SWIG_FOUND AND PYTHONLIBS_FOUND
)
message
(
STATUS
"Found SWIG version "
${
SWIG_VERSION
}
)
message
(
STATUS
"Found SWIG version "
${
SWIG_VERSION
}
)
if
(
NOT ENABLE_
DEPRECATED
_API
)
# new bindings
if
(
NOT ENABLE_
INTERNAL_DEVELOPER
_API
)
# new bindings
include_directories
(
${
PYTHON_INCLUDE_PATH
}
)
include_directories
(
${
PYTHON_INCLUDE_PATH
}
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
include_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
set
(
CMAKE_SWIG_FLAGS
""
)
set
(
CMAKE_SWIG_FLAGS
""
)
...
@@ -1268,7 +1268,7 @@ if(ENABLE_WRAP_PYTHON)
...
@@ -1268,7 +1268,7 @@ if(ENABLE_WRAP_PYTHON)
set_target_properties
(
"_gmsh"
PROPERTIES LINK_FLAGS
set_target_properties
(
"_gmsh"
PROPERTIES LINK_FLAGS
"-undefined suppress -flat_namespace"
)
"-undefined suppress -flat_namespace"
)
endif
(
APPLE
)
endif
(
APPLE
)
else
(
NOT ENABLE_
DEPRECATED
_API
)
# old, deprecated internal developer bindings
else
(
NOT ENABLE_
INTERNAL_DEVELOPER
_API
)
# old, deprecated internal developer bindings
find_package
(
PythonInterp
)
find_package
(
PythonInterp
)
string
(
SUBSTRING
${
SWIG_VERSION
}
0 1 SWIG_MAJOR_VERSION
)
string
(
SUBSTRING
${
SWIG_VERSION
}
0 1 SWIG_MAJOR_VERSION
)
if
(
SWIG_MAJOR_VERSION EQUAL 1
)
if
(
SWIG_MAJOR_VERSION EQUAL 1
)
...
@@ -1303,7 +1303,7 @@ if(ENABLE_WRAP_PYTHON)
...
@@ -1303,7 +1303,7 @@ if(ENABLE_WRAP_PYTHON)
endif
(
ENABLE_PETSC4PY
)
endif
(
ENABLE_PETSC4PY
)
endif
(
HAVE_PETSC
)
endif
(
HAVE_PETSC
)
endif
(
SWIG_MAJOR_VERSION EQUAL 1
)
endif
(
SWIG_MAJOR_VERSION EQUAL 1
)
endif
(
NOT ENABLE_
DEPRECATED
_API
)
endif
(
NOT ENABLE_
INTERNAL_DEVELOPER
_API
)
endif
(
SWIG_FOUND AND PYTHONLIBS_FOUND
)
endif
(
SWIG_FOUND AND PYTHONLIBS_FOUND
)
endif
(
ENABLE_WRAP_PYTHON
)
endif
(
ENABLE_WRAP_PYTHON
)
...
@@ -1762,9 +1762,9 @@ if(ENABLE_ONELAB)
...
@@ -1762,9 +1762,9 @@ if(ENABLE_ONELAB)
endif
(
ENABLE_ONELAB
)
endif
(
ENABLE_ONELAB
)
if
(
ENABLE_BUILD_LIB OR ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC
)
if
(
ENABLE_BUILD_LIB OR ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC
)
install
(
FILES
${
GMSH_API
}
DESTINATION
${
GMSH_INC
}
)
install
(
FILES
${
GMSH_API
}
DESTINATION
${
GMSH_INC
}
)
if
(
ENABLE_
DEPRECATED
_API
)
if
(
ENABLE_
INTERNAL_DEVELOPER
_API
)
install
(
FILES
${
GMSH_
DEPRECATED
_API
}
DESTINATION
${
GMSH_INC
}
/gmsh
)
install
(
FILES
${
GMSH_
INTERNAL_DEVELOPER
_API
}
DESTINATION
${
GMSH_INC
}
/gmsh
)
endif
(
ENABLE_
DEPRECATED
_API
)
endif
(
ENABLE_
INTERNAL_DEVELOPER
_API
)
endif
(
ENABLE_BUILD_LIB OR ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC
)
endif
(
ENABLE_BUILD_LIB OR ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC
)
install
(
FILES
${
WELCOME_FILE
}
DESTINATION
${
GMSH_DOC
}
RENAME README.txt
)
install
(
FILES
${
WELCOME_FILE
}
DESTINATION
${
GMSH_DOC
}
RENAME README.txt
)
install
(
FILES
${
LICENSE_FILE
}
DESTINATION
${
GMSH_DOC
}
)
install
(
FILES
${
LICENSE_FILE
}
DESTINATION
${
GMSH_DOC
}
)
...
@@ -1788,13 +1788,13 @@ foreach(FILE ${GMSH_API})
...
@@ -1788,13 +1788,13 @@ foreach(FILE ${GMSH_API})
-E copy_if_different
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Headers/
-E copy_if_different
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Headers/
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
endforeach
(
FILE
)
endforeach
(
FILE
)
if
(
ENABLE_
DEPRECATED
_API
)
if
(
ENABLE_
INTERNAL_DEVELOPER
_API
)
foreach
(
FILE
${
GMSH_
DEPRECATED
_API
}
)
foreach
(
FILE
${
GMSH_
INTERNAL_DEVELOPER
_API
}
)
add_custom_command
(
TARGET get_headers POST_BUILD COMMAND
${
CMAKE_COMMAND
}
add_custom_command
(
TARGET get_headers POST_BUILD COMMAND
${
CMAKE_COMMAND
}
-E copy_if_different
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Headers/gmsh/
-E copy_if_different
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/Headers/gmsh/
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
endforeach
(
FILE
)
endforeach
(
FILE
)
endif
(
ENABLE_
DEPRECATED
_API
)
endif
(
ENABLE_
INTERNAL_DEVELOPER
_API
)
find_program
(
MAKEINFO makeinfo
)
find_program
(
MAKEINFO makeinfo
)
if
(
MAKEINFO
)
if
(
MAKEINFO
)
...
@@ -1865,13 +1865,13 @@ if(APPLE AND ENABLE_BUILD_LIB)
...
@@ -1865,13 +1865,13 @@ if(APPLE AND ENABLE_BUILD_LIB)
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/gmsh.framework/Headers/
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/gmsh.framework/Headers/
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
endforeach
(
FILE
)
endforeach
(
FILE
)
if
(
ENABLE_
DEPRECATED
_API
)
if
(
ENABLE_
INTERNAL_DEVELOPER
_API
)
foreach
(
FILE
${
GMSH_
DEPRECATED
_API
}
)
foreach
(
FILE
${
GMSH_
INTERNAL_DEVELOPER
_API
}
)
add_custom_command
(
TARGET framework POST_BUILD COMMAND
${
CMAKE_COMMAND
}
-E copy
add_custom_command
(
TARGET framework POST_BUILD COMMAND
${
CMAKE_COMMAND
}
-E copy
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/gmsh.framework/Headers/
${
FILE
}
${
CMAKE_CURRENT_BINARY_DIR
}
/gmsh.framework/Headers/
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
endforeach
(
FILE
)
endforeach
(
FILE
)
endif
(
ENABLE_
DEPRECATED
_API
)
endif
(
ENABLE_
INTERNAL_DEVELOPER
_API
)
endif
(
APPLE AND ENABLE_BUILD_LIB
)
endif
(
APPLE AND ENABLE_BUILD_LIB
)
set
(
CPACK_PACKAGE_VENDOR
"Christophe Geuzaine and Jean-Francois Remacle"
)
set
(
CPACK_PACKAGE_VENDOR
"Christophe Geuzaine and Jean-Francois Remacle"
)
...
@@ -1934,13 +1934,13 @@ else(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
...
@@ -1934,13 +1934,13 @@ else(APPLE AND ENABLE_OS_SPECIFIC_INSTALL)
set
(
CPACK_GENERATOR TGZ
)
set
(
CPACK_GENERATOR TGZ
)
endif
(
APPLE AND ENABLE_OS_SPECIFIC_INSTALL
)
endif
(
APPLE AND ENABLE_OS_SPECIFIC_INSTALL
)
if
(
HAVE_PYTHON AND ENABLE_
DEPRECATED
_API
)
if
(
HAVE_PYTHON AND ENABLE_
INTERNAL_DEVELOPER
_API
)
add_subdirectory
(
wrappers/gmshpy
)
add_subdirectory
(
wrappers/gmshpy
)
endif
(
HAVE_PYTHON AND ENABLE_
DEPRECATED
_API
)
endif
(
HAVE_PYTHON AND ENABLE_
INTERNAL_DEVELOPER
_API
)
if
(
ENABLE_WRAP_JAVA AND ENABLE_
DEPRECATED
_API
)
if
(
ENABLE_WRAP_JAVA AND ENABLE_
INTERNAL_DEVELOPER
_API
)
add_subdirectory
(
wrappers/java
)
add_subdirectory
(
wrappers/java
)
endif
(
ENABLE_WRAP_JAVA AND ENABLE_
DEPRECATED
_API
)
endif
(
ENABLE_WRAP_JAVA AND ENABLE_
INTERNAL_DEVELOPER
_API
)
include
(
CPack
)
include
(
CPack
)
...
...
This diff is collapsed.
Click to expand it.
wrappers/gmshpy/CMakeLists.txt
+
2
−
2
View file @
32f0e2d4
...
@@ -116,8 +116,8 @@ if (NOT ENABLE_GMSHPY_SOURCE_PACKAGE)
...
@@ -116,8 +116,8 @@ if (NOT ENABLE_GMSHPY_SOURCE_PACKAGE)
endif
(
NOT ENABLE_GMSHPY_SOURCE_PACKAGE
)
endif
(
NOT ENABLE_GMSHPY_SOURCE_PACKAGE
)
if
(
ENABLE_GMSHPY_SOURCE_PACKAGE
)
if
(
ENABLE_GMSHPY_SOURCE_PACKAGE
)
set
(
GMSH_
DEPRECATED_API
${
GMSH_DEPRECATED
_API
}
Geo/Curvature.h
Mesh/Generator.h
set
(
GMSH_
INTERNAL_DEVELOPER_API
${
GMSH_INTERNAL_DEVELOPER
_API
}
Geo/Curvature.h
Mesh/meshGFaceLloyd.h Numeric/DivideAndConquer.h Post/PViewFactory.h
Mesh/Generator.h
Mesh/meshGFaceLloyd.h Numeric/DivideAndConquer.h Post/PViewFactory.h
Solver/linearSystemPETSc.h Fltk/FlGui.h Solver/functionSpace.h
Solver/linearSystemPETSc.h Fltk/FlGui.h Solver/functionSpace.h
Solver/STensor43.h Solver/sparsityPattern.h Solver/SElement.h
Solver/STensor43.h Solver/sparsityPattern.h Solver/SElement.h
Solver/groupOfElements.h PARENT_SCOPE
)
Solver/groupOfElements.h PARENT_SCOPE
)
...
...
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