summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-modules.7.rst
Commit message (Collapse)AuthorAgeFilesLines
* FindUnixCommands: Deprecate in favor of cmake -EFeRD (Frank Dana)2023-01-121-1/+1
| | | | | | `${CMAKE_COMMAND} -E` subcommands are cross-platform replacements. Fixes: #24263
* Help: Move FindITK/FindVTK to deprecated listFeRD (Frank Dana)2022-12-221-2/+2
| | | | | | Both modules have actually been removed entirely, they exist in the Help directory only as "This module used to exist" placeholders.
* FindOpenSP: Add module to find the OpenSP libraryDawid Wróbel2022-08-301-0/+1
| | | | | OpenSP has not seen a release in seventeen years, so is unlikely to ever provide a CMake package configuration file. Add a find module instead.
* FindSDL_gfx: Add module to find another SDL componentXavier Del Campo Romero2022-07-271-0/+1
| | | | | | | Complement the several existing `FindSDL_*` modules. Follow the pattern of the existing `FindSDL_mixer` module. Fixes: #12004
* CPack: Remove the deprecated PackageMaker generatorCraig Scott2022-05-041-1/+0
| | | | | | This CPack generator has been deprecated since commit 7bf187499f (CPack: Deprecate PackageMaker generator, 2020-01-31). Fixes: #23344
* FindMsys: Add a module to find MSYS and some bundled packagesOrgad Shaneh2021-04-281-0/+1
|
* AddFileDependencies: Deprecate this unnecessary moduleBrad King2021-02-081-1/+1
| | | | Document that one can call `set_property` directly instead.
* Merge branch 'master' into doc-3_19_release-fixesBrad King2020-12-111-4/+4
|\
| * WriteCompilerDetectionHeader: Add policy to remove moduleBrad King2020-12-051-1/+1
| | | | | | | | | | | | See justification in the policy documentation. Closes: #17842
| * Help: Move Documentation module to list of deprecated modulesBrad King2020-12-041-1/+1
| | | | | | | | | | The module has been deprecated since commit 306a1ba960 (Modules/Documentation: remove, 2020-04-16, v3.18.0-rc1~290^2).
| * Help: Restore documentation placeholder for removed modulesBrad King2020-11-201-0/+2
| | | | | | | | | | | | | | | | In commit cb28d9af1f (UseJava: Move helper scripts to subdirectory, 2020-11-12) we removed modules that were not meant to be documented publicly. In order to keep links from older versions on `cmake.org` to the "latest" documentation working for those modules, add placeholder documents describing the change.
| * UseJava: Move helper scripts to subdirectoryNikita Nemkin2020-11-121-2/+0
| | | | | | | | Also, exclude them from the help module index.
* | Help: Re-sort indexes in the manualsCraig Scott2020-12-111-17/+17
|/
* CheckCompilerFlag: unified way to check compiler flags per languageRobert Maynard2020-09-281-0/+1
|
* CheckSoureRuns: Add a unified way to check if a source runsRobert Maynard2020-09-231-0/+1
|
* CheckSoureCompiles: Add a unified way to check if a source compilesRobert Maynard2020-09-231-0/+1
|
* CheckLinkerFlag: Add module to check validity of linker flagsMarc Chevrier2020-05-251-0/+1
| | | | Fixes: #15934
* FindCUDAToolkit: Add module to find the CUDA ToolkitStephen McDowell2019-12-161-0/+1
|
* Languages: Add support for Objective-C++Steve Wilson2019-09-281-0/+3
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C++ compiler determination and identification. Add Modules to check Objective-C++ compiler flags, source compilations, program checks, etc... Use OBJCXX as the designator of the language, eg: project(foo OBJCXX) Add various tests for Objective-C++ language features. Add tests to preserve C++ handling of .M and .mm files when Objective-C++ is not a configured language. Co-authored-by: Cristian Adam <cristian.adam@gmail.com>
* Languages: Add support for Objective-CSteve Wilson2019-09-281-0/+3
| | | | | | | | | | | | | | | | | Add entries in Modules and Modules/Platform to support Objective-C compiler determination and identification. Add Modules to check Objective-C compiler flags, source compilations, program checks, etc... Use OBJC as the designator of the language, eg: project(foo OBJC) Add various tests for Objective-C language features. Add tests to preserve C++ handling of .m and .mm files when OBJC is not a configured language. Co-Authored-By: Cristian Adam <cristian.adam@gmail.com>
* FindEnvModules: Provide a CMake interface to environment modulesChuck Atkins2019-03-181-0/+1
|
* FindOctave: Remove module pending further workBrad King2019-02-261-1/+0
| | | | | | | | | | | The `FindOctave` module added by commit 170bcb6fdc (FindOctave: Add module to find GNU octave, 2018-11-17, v3.14.0-rc1~283^2) has a few problems in its implementation that need to be worked out before the module can be included in a CMake release. These were missed during review. Remove the module for now. It can be restored later with a fresh review. Issue: #18991
* CheckFortranSourceRuns: Add module to check if Fortran code runsMichael Hirsch, Ph.D2019-01-101-0/+1
| | | | | Add a Fortran equivalent to the existing `Check{C,CXX}SourceRuns` modules.
* PIE link options: Update strategy to fix performance regressionMarc Chevrier2018-12-191-0/+1
| | | | Fixes: #18700
* FindOctave: Add module to find GNU octaveMichael Hirsch, Ph.D2018-12-061-0/+1
|
* Merge topic 'deprecate-findqt'Brad King2018-11-151-1/+1
|\ | | | | | | | | | | | | | | 0f5c1b404b find_package(): Add policy to remove the FindQt module Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: noo mook <noomook2519@gmail.com> Merge-request: !2554
| * find_package(): Add policy to remove the FindQt moduleKyle Edwards2018-11-141-1/+1
| | | | | | | | | | | | | | | | Removing FindQt.cmake gives Qt upstream a path forward to export its own QtConfig.cmake files which can be found by find_package() without having to explicitly specify CONFIG. Projects that still want to use Qt3/4 can call find_package(Qt[34]), include(FindQt), or add FindQt.cmake to their CMAKE_MODULE_PATH.
* | Help: Move deprecated modules to appropriate section.Joachim Wuttke (l)2018-11-131-3/+2
| | | | | | | | | | | | | | | | | | | | Move deprecated or obsolete modules to the section "Deprectated Modules" of cmake-modules(7): - MacroAddFileDependencies (Text says: Using the macro MACRO_ADD_FILE_DEPENDENCIES() is discouraged.) - UsePkgConfig (Text calls it "obsolete") - Use_wxWindows (was already listed in deprecation section)
* | Help: move CMakeParseArguments to deprecated sectionJoachim Wuttke (h)2018-11-111-1/+1
|/
* FindSQLite3: Add module to find SQLite3Chuck Atkins2018-11-061-0/+1
|
* FindFontconfig: Add module to find FontconfigFrederik Gladhorn2018-10-181-0/+1
| | | | This module is inspired by one from KDE's KWin.
* FindLibinput: Add module to find libinputFrederik Gladhorn2018-10-111-0/+1
| | | | This module is inspired by one from KDE's KWin.
* Help: Document Use_wxWindows.cmake as deprecatedCraig Scott2018-10-091-0/+1
| | | | The implementation already logged a message saying that the module was deprecated. This change adds that message to the module docs.
* Help: Reorganise module index into sectionsJoachim Wuttke (l)2018-10-091-37/+66
| | | | | | | | * Split up module list into separate sections for utility modules and find modules. * Improve wording to explain how the different module types are expected to be called/used. * Move deprecated modules to their own separate sections.
* Help: Move legacy CPack modules into separate sectionKyle Edwards2018-06-211-12/+23
| | | | | | | These modules are being moved out of user visibility and into an internal section of CMake. To keep them for historical reference in the manual, this commit moves them into a separate "Legacy CPack Modules" section.
* FindODBC: Add module to search for ODBC libraryMateusz Loskot2018-05-221-0/+1
| | | | Add tests for FindODBC module.
* CPack: Add NuGet supportAlex Turbov2018-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Create a CPack generator that uses `nuget.exe` to create packages: https://docs.microsoft.com/en-us/nuget/what-is-nuget NuGet packages could be easily produced from a `*.nuspec` file (running `nuget pack` in the directory w/ the spec file). The spec filename does not affect the result `*.nupkg` name -- only `id` and `version` elements of the spec are used (by NuGet). Some implementation details: * Minimize C++ code -- use CMake script do to the job. It just let the base class (`cmCPackGenerator`) to preinstall everything to a temp directory, render the spec file and run `nuget pack` in it, harvesting `*.nupkg` files...; * Ignore package name (and use default paths) prepared by the base class (only `CPACK_TEMPORARY_DIRECTORY` is important) -- final package filename is a responsibility of NuGet, so after generation just scan the temp directory for the result `*.nupkg` file(s) and update `packageFileNames` data-member of the generator; * The generator supports _all-in-one_ (default), _one-group-per-package_ and _one-component-per-package_ modes.
* FindPython*: New implementation for Python stuffMarc Chevrier2018-03-201-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.