summaryrefslogtreecommitdiffstats
path: root/Modules/FindSquish.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Squish: fix new squish_v4_add_test() macroAlex Neundorf2012-11-071-1/+1
| | | | | | | The OUTPUT_NAME target property only returns something if it has been explicitely set. So use LOCATION, and extract the filename from that. Alex
* Squish: add support for squish 4 (#9734)Alex Neundorf2012-11-051-3/+110
| | | | | | | | | This patch adds support for Squish 4.x. The changes are basically what is attached to http://public.kitware.com/Bug/view.php?id=9734. When adding a test for squish 4.x, use squish_v4_add_test(). Alex
* Squish: use ${CMAKE_CURRENT_LIST_DIR}Alex Neundorf2012-11-051-1/+2
| | | | | | Use ${CMAKE_CURRENT_LIST_DIR} instead of constructing the dir from pieces. Alex
* Squish: rename squish_add_test() to squish_v3_add_test() and fix docs a bitAlex Neundorf2012-11-051-4/+14
| | | | | | | | | | There is still a wrapper macro squish_add_test(), but this now mentions that you should use squish_v3_add_test() instead. Also, the docs for the macro were just wrong. They are at least correct now, but still hard to understand (I don't have squish 3 around, so I can't improve them). Alex
* Squish: find executables also under WindowsAlex Neundorf2012-11-041-2/+2
| | | | | | | This is required according to Volker Krause (see http://public.kitware.com/Bug/view.php?id=9734) Alex
* Squish: use FPHSAAlex Neundorf2012-11-041-6/+4
| | | | Alex
* Squish: detect versionAlex Neundorf2012-11-041-0/+19
| | | | Alex
* use the find_* functions ENV parameterRolf Eike Beer2012-08-141-1/+2
| | | | | | | | | Instead of directly passing $ENV{SOMEVAR} to a find_* call pass in ENV SOMEVAR. This will make sure the paths will get correctly handled through different platforms, especially on Windows. Also fixes one place where paths with windows delimiters (\) were hardcoded to use forward slashes.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-14/+14
| | | | | | | | | | | | | | | | | 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-49/+49
| | | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | | | | | | | | 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/ \+$//'
* replace open coded versions of file(TO_CMAKE_PATH)Rolf Eike Beer2012-06-191-6/+2
|
* Merge topic 'ImprovedVersionCheckingInSomeModules'Brad King2010-08-101-3/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | 430336c Merge branch 'findsubversion_fphsa_cleanup' b6c6156 Use FPHSA() in FindSWIG, including version checking. 656cd2f Improved version checking for FindCUDA using the new mode of FPHSA 126db7b Improved version checking for FindSubversion using the new mode of FPHSA() 77d909b Fix DETAILS string with version number in FHPSA() 19b68b9 Improved version checking for FindJava using the new FPHSA() mode 6bb0b6e Improved version checking for FindRuby using the new mode of FPHSA() 946493f FindSquish doesn't detect the version, remove that from the documentation cb9d1ea Add version checking support to FindFlex and FindPerlLibs
| * FindSquish doesn't detect the version, remove that from the documentationAlex Neundorf2010-08-071-3/+0
| | | | | | | | Alex
* | Modules: Fix spelling 'To distributed' -> 'To distribute'Todd Gamblin2010-08-091-1/+1
|/
* fix whitespace, so documentation is formatted properlyAlexander Neundorf2009-10-191-15/+15
| | | | Alex
* Convert CMake find-modules to BSD LicenseBrad King2009-09-281-0/+13
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many 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.
* ENH: adding functionality for finding Squish, adding Squish tests from ↵Brad Davis2008-12-081-0/+119
CMake, and running Squish tests from ctest