Collection of CMake find script to search for components of installed packages
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
tests Search for installed component of libconfig library. Mar 12, 2013
.gitignore Search for installed component of libconfig library. Mar 12, 2013
CMakeLists.txt Search module to find installed components of Python; partially this … Apr 29, 2013
DetectOS.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindAutotools.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindBlitz.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindCFITSIO.cmake Take into account possible sub-directory for header files. Apr 15, 2013
FindCODA.cmake Brief description of CODA library May 17, 2013
FindCapistrano.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindCheck.cmake Search for installation of Check, a unit testing framework for C. Mar 20, 2013
FindClamAV.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindCppUnit.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindDiscount.cmake Find components of Discount C library, an implementation of John Grub… Aug 21, 2013
FindDoxyPy.cmake Find installation of DoxyPy conversion script to make Python docstrin… Apr 23, 2013
FindDuchamp.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindFFTW3.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindFerret.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindFv.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindGSL.cmake Determine library version number (GSL_VERSION). Mar 12, 2013
FindGhostscript.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindHDF5.cmake Search location for test program. Apr 9, 2013
FindICU4C.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindIDL.cmake Compiling test program only makes sense if at least the include direc… Jul 16, 2013
FindIconv.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindKWSys.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindLLVM.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindLibConfig.cmake Trimming width of lines. Apr 17, 2013
FindLibMagic.cmake Remove duplicate entries to the list of include directories. Mar 28, 2013
FindLog4cplus.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindMagicLib.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindMySQL.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindNeon.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindNetCDF.cmake Closes #3 - proper extraction of NetCDF version number from netcdf.pc Apr 25, 2013
FindNumPy.cmake Locate libraries. Jul 10, 2013
FindOpenCV.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindPIL.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindPLplot.cmake Find PLPlot, a cross-platform software package for creating scientifi… Apr 1, 2014
FindPOCO.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindPOPT.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindPPL.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindPandora.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindPoDoFo.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindPython.cmake Determine Python installation prefix in order to find the correct too… Jan 7, 2014
FindPythonModules.cmake Check for the presence of Python modules Apr 17, 2013
FindPythonSphinx.cmake Find installation of Sphinx Python documentation generator. Apr 24, 2013
FindRDoc.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindROOT.cmake Fallback option for searching libraries. May 15, 2013
FindRails.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindRake.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindRandom123.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindRant.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindRapidJSON.cmake Find installed components of the RapidJSON C++ library. Jun 19, 2013
FindRuby.cmake Find installed components of the Capistrano tool. Dec 10, 2012
FindRubyGems.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindSILO.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindSLang.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindSQLite.cmake Rewite, in order to disentangle multiple installed versions of the pa… Jun 19, 2013
FindTeem.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindTinyXML.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindUnixCommands.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindVirtualBox.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindWCSLIB.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindWebgen.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindXercesc.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindYAZ.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindYAZPP.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindYaml.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindYard.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
FindYasm.cmake Unification of license information: based on earlier discussion withi… Feb 20, 2013
README.md Document command line option to select individual find module to test. Dec 7, 2012
TestCFITSIOLibraryVersion.cc Update module to find installation of CFITSIO. Apr 15, 2013
TestCODALibraryVersion.cc Extract CODA library version. May 16, 2013
TestHDF5LibraryVersion.cc Determine HDF5 library version. Apr 9, 2013
UseGit.cmake More general regular expression to filter out the commit hash of the … Feb 13, 2014
template_ExternalProject.txt [minor] Trim length of lines. Mar 28, 2013
template_FindPackage.cmake [minor] Trim length of lines. Mar 28, 2013

README.md

CMakeModules

Collection of CMake find script to search for components of installed packages.

Summary

Having worked with CMake for a number of years, I have been enjoying the growing functionality of the ecosystem surrounding the cross-platform Makefile generator. However, mainly coming from an astronomy background, more but once I ran into the issue of missing search scripts for domain-specific packages (such as e.g. CFITSIO or WCSLIB), thereby starting to write them myself. As a result of this over time I have been accumulating a number of search modules, which not only I started moving around between different software projects, but which also might be useful to a wider audience.

Testing

You can test the provided modules via the provided CMakeLists.txt script, which will set up a simple project including the modules:

mkdir build
cd build
cmake ..

By default all find modules will be included and tested; if however you want to restrict testing to an individual module you can use the command line option MODULE_SELECTION to select a specific module, e.g.

cmake -DMODULE_SELECTION=FindRuby.cmake ..

Links

Authors