| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
e932ac9c UseSWIG: Fix check for noproxy flag (#14990)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The check for this flag added by commit v3.0.0-rc1~284^2 (UseSWIG: Name
python module according to swig flags, 2013-11-26) can get false
positives on flags like "-noproxydel". Improve the check to match only
"-noproxy".
Suggested-by: Garth Wells <gnw20@cam.ac.uk>
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
2c96192f UseSWIG: Revise and format documentation
e147c5c5 UseSWIG: Detect module name from interface file (#10080)
|
| | |
| | |
| | |
| | | |
Also add some documentation of SWIG_MODULE_NAME.
|
| | |
| | |
| | |
| | |
| | | |
If no SWIG_MODULE_NAME is specified explicitly and the .i file exists,
scan it for the module name declaration.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
All these expressions work the same:
"foo"
".*foo.*"
"^.*foo.*$"
This assumes that the "Intel*" expressions were meant to be "Intel.*".
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
f26147b8 UseSWIG: Enable NO_SONAME on swig modules (#14815)
|
| | |
| | |
| | |
| | | |
Swig modules are plugins and do not need the SONAME field set.
|
|/ /
| |
| |
| | |
This reverts commit f0111deb1ea21f667b2fbf57f55d5ee2a80f5ccc.
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are many style errors in these files. This patch fixes only
the syntactical errors.
The script which ported these to rst tripped on some incorrectly
formatted blocks in the original input documentation. Use a new
script to find problematic code (and then fix them manually):
#!/usr/bin/env python
import os
rootDir = '.'
def checkFile(fname):
f = open(fname)
lines = f.readlines()
started = False
counter = 0
for l in lines:
if "#" in l:
started = True
elif started:
return
lin = l.find("(")
if lin != -1 and l.find(")", lin) == -1 and \
not "(To distribute this file outside of CMake, substitute the full" in l:
for lp in lines[counter+1:]:
if lp == "# ::\n":
print "\n\n######### " + fname + "\n\n"
print ''.join(lines[max(counter-2, 0):counter+6])
break
elif lp == "#\n" :
continue
break
counter += 1
for dirName, subdirList, fileList in os.walk(rootDir):
for fname in fileList:
checkFile(os.path.join(dirName, fname))
|
|\
| |
| |
| |
| | |
f39671c UseSWIG: Handle octave extensions.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
74f5545 UseSWIG: set .bundle ext on OSX and no prefix (#12184)
|
| |/ |
|
|\ \
| |/
|/|
| |
| | |
a87c063 UseSWIG: Name python module according to swig flags (#13318)
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
20028d6 UseSWIG: Remove duplicate include dirs (#14520)
|
| | |
| | |
| | |
| | | |
Shorten the swig command line.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
acc59e5 UseSWIG: Handle a dll name different than module name (#13814)
|
| |/ |
|
|/ |
|
|
|
|
|
|
|
|
| |
Run the convert-help.bash script to convert documentation:
./convert-help.bash "/path/to/CMake-build/bin"
Then remove it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block. This is no longer the preferred style.
Run the following shell code:
for c in else endif endforeach endfunction endmacro endwhile; do
echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ancient CMake versions required upper-case commands. Later command
names became case-insensitive. Now the preferred style is lower-case.
Run the following shell code:
cmake --help-command-list |
grep -v "cmake version" |
while read c; do
echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace. Wipe out all remnants of trailing whitespace
everywhere except third-party code.
Run the following shell code:
git ls-files -z -- \
bootstrap doxygen.config '*.readme' \
'*.c' '*.cmake' '*.cpp' '*.cxx' \
'*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
'*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
|
| |
|
|\
| |
| |
| |
| | |
fc04531 Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake"
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 1088b0278e74526298d0821589973918da33c44b.
Wrapper dependency scanning (fix for #4147) does not work at CMake
configuration time if an input file is provided by a custom command
(regression #12307). Revert to original behavior until a solution is
found.
|
|\ \
| | |
| | |
| | |
| | | |
0378396 UseSWIG.cmake did not support multiple modules and parallel builds
|
| | |
| | |
| | |
| | |
| | |
| | | |
This commit fixes BUG: 0011782. UseSWIG would be using the same variable
to declare module information. The problem would only be noticed in parallel builds
Fix this variable declaration by properly resetting it.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
c088536 UseSWIG.cmake does not expand $(OutDir)
|
| |/
| |
| |
| |
| |
| | |
This commit fixes BUG: 0011215 by properly expanding $(OutDir)
Instead of creating the output directory using file(MAKE_DIRECTORY)
we use cmake -E to create the directory at execution time
|
|/
|
|
|
|
|
| |
This commit fixes BUG: 0004147 it directly uses swig executable
to compute a list of dependencies directly from the .i files
to make sure to rebuild the swig module any of its direct dep.
is touched
|
| |
|
| |
|
|
|
|
| |
python module.
|
|
|
|
|
|
|
| |
This adds copyright/license notification blocks CMake's non-find
modules. Most of the modules had no notices at all. Some had notices
referring to the BSD license already. This commit normalizes existing
notices and adds missing notices.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|