summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly/AllFindModules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindProtobuf-variable-case'Brad King2016-03-111-2/+1
|\ | | | | | | | | a7b09e7f FindProtobuf: Rename variables to match case of module name
| * FindProtobuf: Rename variables to match case of module nameAntonio Perez Barrero2016-03-071-2/+1
| | | | | | | | | | | | | | | | | | | | | | Use recommended case for variable names. i.e. matching name of the module as passed to `find_package`. For backwards compatibility, the upper case versions of both input and output variables are used and defined when appropriate. Skip this for the _FOUND variable because FPHSA already does it. Skip this for the _VERSION variable because that was recently added and never available with the old name in a release of CMake.
* | Add FindLTTngUST module to find LTTng-UST libraryPhilippe Proulx2016-03-071-1/+1
|/ | | | | | | Also detect the library version number. Provide results as variables and as an imported target, LTTng::UST. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
* FindProtobuf: check versionAntonio Perez Barrero2016-02-161-0/+1
| | | | | | | Check found libraries version to match user required version. Protobuf compiler executable version is checked to be aligned with found libraries, raising a warning message otherwise.
* FindHDF5: Add version supportAxel Huebl2015-05-131-2/+2
| | | | | Detect the HDF5 version and set HDF5_VERSION just as we detect HDF5_IS_PARALLEL from the header already.
* Tests: Teach CMakeOnly.AllFindModules to tolerate a system KDE4Brad King2014-03-191-0/+3
| | | | | | | | The FindKDE4 module (incorrectly) modifies CMAKE_MODULE_PATH on the caller's behalf. This causes KDE4-installed find modules to be used by the test instead of those in CMake. Teach the test to restore the CMAKE_MODULE_PATH to its original value after each find_package call. This ensures that the next find_package actually tests our module.
* blacklist tests with their own test in Tests/Module from AllFindModules testRolf Eike Beer2013-08-091-2/+9
|
* Add module FindIcotoolAleksey Avdeev2012-10-161-2/+3
| | | | | | This module looks for icotool. Signed-off-by: Aleksey Avdeev <solo@altlinux.ru>
* Add FindHg module to find MercurialBrad King2012-08-141-1/+1
| | | | Also teach the CMakeOnly.AllFindModules to verify Hg version detection.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-7/+7
| | | | | | | | | | | | | | | | | 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
* Add FindLibLZMA ModuleMario Bensi2012-05-311-1/+1
|
* FindPkgConfig.cmake: fix documented output variable not set (#13125,#13132)Rolf Eike Beer2012-04-151-2/+1
| | | | | The real fix is from Yury G. Kudryashov while I added the surrounding cleanups. An additional hint to really get this fixed came from Rex Dieter.
* Tests: Relax restrictions on version variable contentsDavid Cole2012-03-201-3/+13
| | | | | | | | | | | | | | | | | Our only expectation of version number variables should be that they begin with a decimal digit for VERSION_LESS, VERSION_EQUAL and VERSION_GREATER comparison purposes. If people put extra blah blah after a version number like "1.2.3 (this is some super special extra information about our funky proprietary build of the official 1.2.3 release)" then we should be ok with that. So: now we have the following expectations for version number variable content for the purposes of the AllFindModules test: - it should start with a decimal digit (match "^[0-9]") - it should not be empty - it should not be VERSION_EQUAL 0 - it should not be NOT VERSION_GREATER 0
* AllFindModules test: do not require TCLSH versionRolf Eike Beer2012-03-021-1/+1
|
* AllFindModules test: once again expand version checkingRolf Eike Beer2012-03-011-18/+24
|
* Merge topic 'expect-more-versions'David Cole2012-02-211-2/+3
|\ | | | | | | | | 540db7e AllFindModules test: expect more modules to have a version number available
| * AllFindModules test: expect more modules to have a version number availableRolf Eike Beer2012-02-181-2/+3
| | | | | | | | | | | | For all current build machines the modules FindPkgConfig, FindFreetype, and FindLibXslt return a version number. Enforce this to early catch when this is not always the case.
* | fix the same typos as found by Debian in other places, tooRolf Eike Beer2012-02-181-3/+3
|/
* AllFindModules test: do not enforce GNUPLOT versionRolf Eike Beer2012-02-131-1/+1
| | | | | Ancient Gnuplot versions like 3.7.1 don't know about "--version". Disable this check so it doesn't break on machines with this version.
* CMakeOnly.AllFindModules: require version for some modulesRolf Eike Beer2012-02-011-0/+22
|
* CMakeOnly.AllFindModules: suppress two modules from testingRolf Eike Beer2012-01-261-1/+6
| | | | | FindPackageHandleStandardArgs and FindPackageMessage match the glob expression but are nothing that will usually be fed into find_package().
* CMakeOnly.AllFindModules: always check FindQtRolf Eike Beer2012-01-261-2/+4
|
* CMakeOnly.AllFindModules: clean up the Qt3/Qt4 codeRolf Eike Beer2012-01-261-11/+11
|
* AllFindModules test: also check Qt3 modules if Qt4 is not foundRolf Eike Beer2012-01-181-2/+13
|
* AllFindModules test: keep complete outputRolf Eike Beer2012-01-171-0/+3
|
* add a test that loops through most Find* modulesRolf Eike Beer2012-01-161-0/+25
This allows easy spotting of modules that output crappy messages and the like.