summaryrefslogtreecommitdiffstats
path: root/Modules/UseSWIG.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-32/+32
| | | | | | | | | | | | | | | | | 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
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-129/+129
| | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-5/+5
| | | | | | | | | | | | | | | | | 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/ \+$//'
* UseSWIG: clean up string comparesRolf Eike Beer2012-02-231-8/+5
|
* Merge topic 'revert-fixbug_0004147'Brad King2011-06-281-59/+0
|\ | | | | | | | | fc04531 Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake"
| * Revert "Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake"Brad King2011-06-271-59/+0
| | | | | | | | | | | | | | | | | | 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.
* | Merge topic 'fixbug_0011782'Brad King2011-04-121-0/+1
|\ \ | | | | | | | | | | | | 0378396 UseSWIG.cmake did not support multiple modules and parallel builds
| * | UseSWIG.cmake did not support multiple modules and parallel buildsMathieu Malaterre2011-04-081-0/+1
| | | | | | | | | | | | | | | | | | 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.
* | | Merge topic 'fixbug_0011215'Brad King2011-04-121-2/+2
|\ \ \ | |_|/ |/| | | | | | | | c088536 UseSWIG.cmake does not expand $(OutDir)
| * | UseSWIG.cmake does not expand $(OutDir)Mathieu Malaterre2011-04-081-2/+2
| |/ | | | | | | | | | | 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
* | Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmakeMathieu Malaterre2011-04-081-0/+59
|/ | | | | | | 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
* Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|
* FIX: BUG: 0002199 Adding documentation for swig_generated_file_fullnameMathieu Malaterre2009-10-301-1/+6
|
* FIX: BUG: 0007915 Integrate portion of the patch. Also add .pyd support for ↵Mathieu Malaterre2009-10-301-2/+32
| | | | python module.
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | 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.
* BUG: fix for bug 6151Bill Hoffman2008-01-021-3/+8
|
* ENH: patch applied for bug 4517Ken Martin2007-03-051-38/+25
|
* ENH: Added interface to add extra dependencies.Brad King2006-08-251-0/+4
|
* ENH: cleanupsKen Martin2005-12-151-1/+1
|
* ENH: add documentation support for modulesBill Hoffman2005-12-141-8/+3
|
* ENH: add ability to set outdir in swigBill Hoffman2005-09-081-13/+35
|
* BUG: fix some missing quotes for STREQUAL IF statementsKen Martin2005-06-201-2/+2
|
* ENH: make sure source flags don't have to be setBill Hoffman2005-04-041-0/+3
|
* ENH: fix for bug 1304Bill Hoffman2005-04-041-1/+2
|
* FIX: fix for bug 1730Bill Hoffman2005-04-041-2/+1
|
* FIX: fix bug 1303Bill Hoffman2005-02-111-1/+3
|
* BUG: Add more comments and fix CMAKE_SWIG_FLAGSAndy Cedilnik2004-06-281-1/+20
|
* BUG: SWIG_FLAGS was ignored by the add swig source to module commandBill Hoffman2004-06-261-0/+2
|
* ENH: Implement additional make clean files as a directory property instead ↵Andy Cedilnik2004-05-201-1/+2
| | | | of cmake variable
* ENH: append to the list of clean files, don't just set themBill Hoffman2004-05-171-1/+1
|
* BUG: Bug #835 fix, add swig generated files to clean targetBill Hoffman2004-05-171-1/+1
|
* ENH: Initial import of swig. Start working towards Bug #749 - Add swig ↵Andy Cedilnik2004-04-301-0/+167
support module to cmake