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
4ce5c7db
Commit
4ce5c7db
authored
12 years ago
by
Jonathan Lambrechts
Browse files
Options
Downloads
Patches
Plain Diff
python: change submodule import to be compatible with python3
parent
aad7613d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wrappers/gmshpy/CMakeLists.txt
+1
-1
1 addition, 1 deletion
wrappers/gmshpy/CMakeLists.txt
wrappers/gmshpy/gmshGeo.i
+0
-1
0 additions, 1 deletion
wrappers/gmshpy/gmshGeo.i
with
1 addition
and
2 deletions
wrappers/gmshpy/CMakeLists.txt
+
1
−
1
View file @
4ce5c7db
...
@@ -82,7 +82,7 @@ foreach(module ${SWIG_MODULES})
...
@@ -82,7 +82,7 @@ foreach(module ${SWIG_MODULES})
swig_add_module
(
${
module
}
python
${
module
}
.i
)
swig_add_module
(
${
module
}
python
${
module
}
.i
)
swig_link_libraries
(
${
module
}
${
PYTHON_LIBRARIES
}
shared
)
swig_link_libraries
(
${
module
}
${
PYTHON_LIBRARIES
}
shared
)
set
(
GMSH_PYTHON_MODULES_INCLUDE_CODE
set
(
GMSH_PYTHON_MODULES_INCLUDE_CODE
"
${
GMSH_PYTHON_MODULES_INCLUDE_CODE
}
from
${
module
}
import *
\n
"
)
"
${
GMSH_PYTHON_MODULES_INCLUDE_CODE
}
from
gmshpy.
${
module
}
import *
\n
"
)
list
(
APPEND GMSHPY_DEPENDS
"_
${
module
}
"
)
list
(
APPEND GMSHPY_DEPENDS
"_
${
module
}
"
)
if
(
APPLE
)
if
(
APPLE
)
set_target_properties
(
"_
${
module
}
"
PROPERTIES LINK_FLAGS
"-undefined suppress -flat_namespace"
)
set_target_properties
(
"_
${
module
}
"
PROPERTIES LINK_FLAGS
"-undefined suppress -flat_namespace"
)
...
...
This diff is collapsed.
Click to expand it.
wrappers/gmshpy/gmshGeo.i
+
0
−
1
View file @
4ce5c7db
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
%
include
std_string
.
i
%
include
std_string
.
i
%
include
std_list
.
i
%
include
std_list
.
i
%
include
std_vector
.
i
%
include
std_vector
.
i
%
import
"
gmshCommon.i
"
%
{
%
{
#include "GmshConfig.h"
#include "GmshConfig.h"
...
...
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