Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Ben Boeckel
Xdmf
Commits
80c53e88
Commit
80c53e88
authored
Jan 18, 2012
by
Kenneth Leiter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG: Remove --builtin swig optimization since it broke visitor operations
when writing out file to disk.
parent
dd5eeb0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
80c53e88
...
...
@@ -68,7 +68,7 @@ if(XDMF_WRAP_PYTHON)
set
(
CMAKE_SWIG_OUTDIR
${
CMAKE_BINARY_DIR
}
)
# optimize swig generation --- these are all flags corresponding to -O
# except -fvirtual which breaks visitor operation
set
(
CMAKE_SWIG_FLAGS
${
XDMF_SWIG_FLAGS
}
-builtin
-modern -fastdispatch -nosafecstrings -noproxydel -fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone
)
set
(
CMAKE_SWIG_FLAGS
${
XDMF_SWIG_FLAGS
}
-modern -fastdispatch -nosafecstrings -noproxydel -fastproxy -fastinit -fastunpack -fastquery -modernargs -nobuildnone
)
set_source_files_properties
(
${
python_name
}
.i PROPERTIES CPLUSPLUS ON
)
set
(
swig_extra_generated_files
""
)
swig_add_module
(
${
python_name
}
python
${
python_name
}
.i
)
...
...
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