summaryrefslogtreecommitdiffstats
path: root/Help/module
Commit message (Collapse)AuthorAgeFilesLines
* FindPython*: New implementation for Python stuffMarc Chevrier2018-03-203-0/+3
| | | | Fixes: #16142
* FindIconv: Add the FindIconv module.Christian Pfeiffer2017-11-291-0/+1
| | | | | This module provides abstraction over the various ways POSIX platforms handle the iconv calls defined in POSIX.1-2001 and later versions.
* FetchContent: New module for populating content at configure timeCraig Scott2017-10-161-0/+1
|
* FindOpenACC: Add module to detect compiler support for OpenACCTin Huynh2017-09-221-0/+1
|
* FindPatch: Add module to find 'patch' command-line toolJean-Christophe Fillion-Robin2017-09-011-0/+1
|
* CPack-FreeBSD: add a generator for FreeBSD pkg(8)Adriaan de Groot2017-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an option CPACK_ENABLE_FREEBSD_PKG to allow CPack to look for FreeBSD's libpkg / pkg(8). If this is set and the libpkg headers and library are found (which they will be, by default, on any FreeBSD system), then add a FreeBSD pkg(8) generator. The FreeBSD package tool pkg(8) uses tar.xz files (.txz) with two metadata files embedded (+MANIFEST and +COMPACT_MANIFEST). This introduces a bunch of FreeBSD-specific CPACK_FREEBSD_PACKAGE_* variables for filling in the metadata; the Debian generator does something similar. Documentation for the CPack CMake-script is styled after the Debian generator. Implementation notes: - Checks for libpkg -- the underlying implementation for pkg(8) -- and includes FreeBSD package-generation if building CMake on a UNIX host. Since libpkg can be used on BSDs, Linux and OSX, this potentially adds one more packaging format. In practice, this will only happen on FreeBSD and DragonflyBSD. - Copy-paste from cmCPackArchiveGenerator to special-case the metadata generation and to run around the internal archive generation: use libpkg instead. - Generating the metadata files is a little contrived. - Most of the validation logic for package settings is in CPackFreeBSD.cmake, as well as the code that tries to re-use packaging settings that may already be set up for Debian. - libpkg has its own notion of output filename, so we have another contrived bit of code that munges the output file list so that CPack can find the output. - Stick with C++98.
* CPack/Archive: per component filenames supportDomen Vrankar2017-05-161-0/+1
| | | | | | Support for setting archive packager specific per component filenames and monolithic package filenames.
* CheckIPOSupported: New module to check for compiler/cmake IPO supportRuslan Baratov2017-03-111-0/+1
|
* Merge topic 'csproj_add_free_source_tags'Brad King2017-03-021-0/+1
|\ | | | | | | | | | | | | 506207f9 VS: add test for VS_CSHARP_* source file property a202749c VS: add CSharpUtilities module 9588d0a2 VS: add VS_CSHARP_<tagname> sourcefile property
| * VS: add CSharpUtilities moduleMichael Stürmer2017-03-011-0/+1
| |
* | GoogleTest: Add module to contain gtest_add_tests independentlyBradley Lowekamp2017-02-071-0/+1
|/ | | | | | | | | | | | Extract the `gtest_add_tests` macro from `FindGTest` into a separate module. GTest or GoogleTest can be used by a project in a several different ways, including installed libraries in the system, from an ExternalProject, or adding the GTest source directory as a sub directory of the project. As not all of these uses are supported by the FindGTest module the useful `gtest_add_tests` macro is separated to easily enable reuse. Issue: #14151
* Add cpack_ifw_configure_file commandKonstantin Podsvirov2017-01-111-0/+1
|
* AndroidTestUtilities: Add module to help drive Android device testsSchuyler Kylstra2016-09-301-0/+1
| | | | | | Add a module to manage the data needed for the project tests. It will move the test data to the build directory and transfer necessary data to an Android device if that is enabled.
* FindICU: New moduleRoger Leigh2016-07-131-0/+1
|
* Merge topic 'add-FindVulkan'Brad King2016-06-081-0/+1
|\ | | | | | | | | adf4df28 Add FindVulkan.cmake.
| * Add FindVulkan.cmake.Matthäus G. Chajdas2016-06-081-0/+1
| | | | | | | | This adds FindVulkan with corresponding tests.
* | productbuild: Add new productbuild cpack generator.Clinton Stimpson2016-06-031-0/+1
|/ | | | This cpack generator basically replaces the obsolete PackageMaker generator.
* Add FindLTTngUST module to find LTTng-UST libraryPhilippe Proulx2016-03-071-0/+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>
* FindXalanC: New module to find the Apache Xalan-C++ libraryRoger Leigh2016-01-201-0/+1
|
* OS X: Add FindXCTest moduleGregor Jasny2015-03-231-0/+1
| | | | | | | Add a module to lookup XCTest Framework and xctest utility. It also provides APIs for creating 'xctest' targets. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* Merge topic 'private-FindJsonCpp'Brad King2015-02-231-1/+0
|\ | | | | | | | | | | a41d621d bootstrap: Add --(no-)system-jsoncpp options a5768442 FindJsonCpp: Drop new module due to upstream jsoncpp providing package
| * FindJsonCpp: Drop new module due to upstream jsoncpp providing packageBrad King2015-02-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since jsoncpp 0.7.0 (2014-11-20) the upstream may provide a CMake package configuration file such that find_package(jsoncpp) will find a jsoncppConfig.cmake file. In order to avoid conflicting with this (especially on case-insensitive filesystems), and since we always prefer projects to provide package config files (that they maintain), it is better to not provide FindJsonCpp publicly. Move FindJsonCpp into a private source directory that is not installed so that we can still use it for building CMake itself. Reported-by: Ryan Pavlik <ryan.pavlik@gmail.com>
* | CheckFortranCompilerFlag: Add module to check Fortran flag existenceNicolas Bock2015-02-051-0/+1
|/ | | | | | Copy the CheckCCompilerFlag module and replace 'C' with 'Fortran'. Also update the common patterns module to match some Fortran compiler messages.
* CTestCoverageCollectGCOV: Add module to run gcovBill Hoffman2015-01-221-0/+1
| | | | | | | Provide a function to run gcov and create a tarball of results. Since CDash tracks the md5sum of the files uploaded, use the --mtime option with "cmake -E tar" so that tar files could be created that would have the same md5sum with the same content.
* FindJsonCpp: Add module to find JsonCpp packageBrad King2015-01-191-0/+1
|
* FindGSL: Add module to find the GNU Scientific LibraryKelly Thompson2014-12-171-0/+1
|
* Merge topic 'xerces-rename'Brad King2014-12-052-1/+1
|\ | | | | | | | | 27141eed Modules: Rename FindXerces to FindXercesC
| * Modules: Rename FindXerces to FindXercesCBrad King2014-12-042-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The FindXerces module was added in commit v3.1.0-rc1~155^2 (FindXerces: New module to find Apache Xerces-C++, 2014-08-17). However, there are two implementations of Xerces, one in C++: http://xerces.apache.org/xerces-c/ and one in Java: http://xerces.apache.org/xerces-j/ Rename FindXerces to FindXercesC to clarify that it is about the C++ implementation. While at it, add the missing CMake 3.1 release note about this module. Suggested-by: Erik Sjölund <erik.sjolund@gmail.com>
* | FindIntl: New module to find Gettext libintlRoger Leigh2014-11-111-0/+1
|/ | | | | | | | | | | | | | | | Add support for Sun/Uniforum/GNU gettext libintl. This belongs in CMake rather than upstream because: * There are multiple upstreams (Sun, GNU). * It may or may not be in the glibc C library depending upon the platform and build options used. Although we already have a FindGettext module, that is for the tools. This module is for the library, and is independent because it's perfectly OK to use libintl without the gettext tools (and vice versa), and they might not all be found. Add cross references between the two modules in notes to make the relationship clearer.
* FindVTK: Drop this ancient compatibility moduleBrad King2014-10-021-1/+10
| | | | | | | The FindVTK module only existed to help find_package(VTK) calls work in old projects written to use "USE_VTK_FILE" instead of "VTK_USE_FILE". Drop it to allow find_package(VTK) calls to search for VTKConfig.cmake directly.
* FindITK: Drop this ancient compatibility moduleBrad King2014-10-021-1/+10
| | | | | | | The FindITK module only existed to help find_package(ITK) calls work in old projects written to use "USE_ITK_FILE" instead of "ITK_USE_FILE". Drop it to allow find_package(ITK) calls to search for ITKConfig.cmake directly.
* Merge topic 'FindXerces'Brad King2014-08-221-0/+1
|\ | | | | | | | | 20407006 FindXerces: New module to find Apache Xerces-C++
| * FindXerces: New module to find Apache Xerces-C++Roger Leigh2014-08-211-0/+1
| |
* | FindIce: New module to find ZeroC IceRoger Leigh2014-08-211-0/+1
|/ | | | | | | | | - autodetects Ice on all major platforms - allows building with all supported Visual Studio versions on Windows - autodetects the slice path on most platforms - separately detects the Ice programs, headers, slice files and libraries so that any Ice configuration or installation errors can be accurately reported, making diagnosis of Ice problems simpler
* Add CheckFortranSourceCompiles module (#14656)Brad King2014-08-181-0/+1
| | | | | | | Copy the CheckCSourceCompiles module and port it to Fortran. Extend the FortranOnly test to try using the new module. Suggested-by: Nicolas Bock <nicolasbock@gmail.com>
* CPack: Add an "IFW" generator for Qt Framework InstallerKonstantin Podsvirov2014-07-281-0/+1
| | | | | | | | Add support for packaging with the Qt Framework Installer tools: http://qt-project.org/doc/qtinstallerframework/index.html Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com>
* Add the WriteCompilerDetectionHeader module.Stephen Kelly2014-05-141-0/+1
| | | | | | | | Provide a function to write a portable header to detect compiler features. Generate a preprocessor #error for unknown compilers and compiler versions whose features are not yet recorded. This error condition might be relaxed in the future, but for now it is useful for verification of expectations.
* Add FindOpenCL moduleMatthäus G. Chajdas2014-02-261-0/+1
|
* Help: Update Qt4 documentation.Stephen Kelly2014-01-153-3/+0
| | | | | | | | | | | | | | | Remove independent doc listing for Qt4ConfigurationSettings, Qt4Macros and UseQt4. These are implementation details. Recommend the use of IMPORTED targets. Remove references to the UseQt4 file, which is obsolete in light of the IMPORTED targets. Add documentation for automatic tool invocation and options. Remove reference to variables which should not be needed in modern implementations.
* Split the find_dependency macro into a separate file.Stephen Kelly2013-12-131-0/+1
| | | | | This allows Config file authors to use it without having to use CONFIGURE_PACKAGE_CONFIG_FILE.
* Add FindBacktrace.cmake module.Vadim Zhukov2013-10-161-0/+1
| | | | | | | | It designed to search for implementation of backtrace(3) routine. Currently it is used in OpenBSD Ports for building Clementine music player. A lot of input from brad.king@ and neundorf@.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-15219-0/+219
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.