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
061c02f5
Commit
061c02f5
authored
10 years ago
by
Gauthier Becker
Browse files
Options
Downloads
Patches
Plain Diff
Silent swig warnings as well for the nightly build
parent
a4746cce
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
wrappers/gmshpy/CMakeLists.txt
+6
-0
6 additions, 0 deletions
wrappers/gmshpy/CMakeLists.txt
with
6 additions
and
0 deletions
wrappers/gmshpy/CMakeLists.txt
+
6
−
0
View file @
061c02f5
...
@@ -75,6 +75,12 @@ include_directories(${PYTHON_INCLUDE_PATH})
...
@@ -75,6 +75,12 @@ include_directories(${PYTHON_INCLUDE_PATH})
set
(
GMSH_PYTHON_MODULES_INCLUDE_CODE
""
)
set
(
GMSH_PYTHON_MODULES_INCLUDE_CODE
""
)
foreach
(
module
${
SWIG_MODULES
}
)
foreach
(
module
${
SWIG_MODULES
}
)
set_source_files_properties
(
${
module
}
.i PROPERTIES CPLUSPLUS ON
)
set_source_files_properties
(
${
module
}
.i PROPERTIES CPLUSPLUS ON
)
# silent the warnings if DISABLE_SWIG_WARNING_FLAG has been set
string
(
COMPARE EQUAL
"
${
DISABLE_SWIG_WARNINGS_FLAG
}
"
""
swig_warnings_enabled
)
if
(
NOT swig_warnings_enabled
)
message
(
"The swig warnings are disabled!"
)
set_source_files_properties
(
${
module
}
.i PROPERTIES SWIG_FLAGS
"
${
DISABLE_SWIG_WARNINGS_FLAG
}
"
)
endif
(
NOT swig_warnings_enabled
)
# code backported from CMake git version, see CMake bug 4147
# code backported from CMake git version, see CMake bug 4147
swig_get_wrapper_dependencies
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/\
${
module
}
.i
swig_get_wrapper_dependencies
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/\
${
module
}
.i
...
...
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