diff options
author | Ben Webb <ben@salilab.org> | 2015-09-04 21:33:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-09 14:01:06 (GMT) |
commit | 96a8890c7d5c8fed7b5c48bc9640c94f8fd66761 (patch) | |
tree | ae32d297d09b76bb95297a6600b15591c2bce447 /Modules/CPack.OSXScriptLauncher.in | |
parent | 0e7f34c0a9a6ad8dbcdad32910d87b8d8671cd51 (diff) | |
download | CMake-96a8890c7d5c8fed7b5c48bc9640c94f8fd66761.zip CMake-96a8890c7d5c8fed7b5c48bc9640c94f8fd66761.tar.gz CMake-96a8890c7d5c8fed7b5c48bc9640c94f8fd66761.tar.bz2 |
FindSWIG: Do not generate erroneous outputs with -noproxy
Generally for a module foo, SWIG generates (in Python mode)
an extension module _foo.so and a proxy Python module foo.py.
However, if -noproxy is specified, instead it builds only foo.so
(without the leading underscore). The custom command generated
by CMake correctly handles the removal of this underscore when
-noproxy is given; however, it still adds foo.py to the expected
outputs. This upsets build tools that expect foo.py to be generated
(for example, 'make' will run the SWIG command twice). Fix this
by removing foo.py from the set of extra generated files when
-noproxy is specified.
Diffstat (limited to 'Modules/CPack.OSXScriptLauncher.in')
0 files changed, 0 insertions, 0 deletions