summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-external-language-policy'David Cole2012-10-311-0/+16
|\ | | | | | | | | 854369f Document external language support policy
| * Document external language support policyBrad King2012-10-301-0/+16
| | | | | | | | | | Describe in "Modules/CMakeAddNewLanguage.txt" our policy for external language support.
* | Merge topic 'FindQt-version-selection'David Cole2012-10-311-4/+8
|\ \ | | | | | | | | | | | | | | | 041fb29 FindQt: add some more places to look for Qt3 7bb9395 FindQt: improve version selection
| * | FindQt: add some more places to look for Qt3Rolf Eike Beer2012-10-241-1/+1
| | | | | | | | | | | | Qt3 may be e.g. in /usr/lib64/qt-3 or in /usr/lib/qt3, too.
| * | FindQt: improve version selectionRolf Eike Beer2012-10-241-3/+7
| |/ | | | | | | | | | | -make "find_package(Qt 3)" work -if DESIRED_QT_VERSION was set, but only the other Qt major version was found don't override the DESIRED_QT_VERSION set by the user
* | Merge topic 'EclipseNoLinkedResources'David Cole2012-10-311-0/+2
|\ \ | | | | | | | | | | | | fbda958 Eclipse: add switch to disable linked resources (#13189)
| * | Eclipse: add switch to disable linked resources (#13189)Alex Neundorf2012-10-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Eclipse may get confused by these linked resources, because it sees the same source file multiple times then and doesn't recognize that it's the same file actually. Alex
* | | Merge topic 'FindIcotool'David Cole2012-10-311-0/+56
|\ \ \ | | | | | | | | | | | | | | | | 86a184d Add module FindIcotool
| * | | Add module FindIcotoolAleksey Avdeev2012-10-161-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | This module looks for icotool. Signed-off-by: Aleksey Avdeev <solo@altlinux.ru>
* | | | Merge topic 'simplify-FreeBSD-shared'David Cole2012-10-312-26/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 6f68ef4 BSD: Do not require dlfcn.h to build shared libs (#13573)
| * | | | BSD: Do not require dlfcn.h to build shared libs (#13573)Brad King2012-10-052-26/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove ancient checks left from commit f5d95fb0 (Complete rework of makefile generators expect trouble, 2002-11-08). Modern FreeBSD and NetBSD platforms support shared libraries. When cross-compiling the /usr/include/dlfcn.h may not exist on the host but the toolchain still supports shared libraries.
* | | | | Merge topic 'FindBoost-cleanup'David Cole2012-10-311-813/+748
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0496782 FindBoost: Rewrite documentation 4d92f6c FindBoost: Refactor Boost_FOUND computation and version check 0100f88 FindBoost: Construct a clean Boost_LIBRARIES value 5b9149e FindBoost: Overhaul caching and search repeat behavior 5ec8a69 FindBoost: Use PATH_SUFFIXES to look in "Program Files" d3260a4 FindBoost: Mark Boost_DIR cache entry as advanced 531612d FindBoost: Remove extra indentation level
| * | | | FindBoost: Rewrite documentationBrad King2012-09-271-242/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Write new documentation for this module. Ensure that it formats correctly in "cmake --help-module FindBoost" output. Show the basic form of calling find_package(Boost). Document all result variables, input variables, and cache variables appropriately grouped together. Explain the search process and how it re-runs when changes are made. Explain the difference between finding headers/libraries versus finding a "Boost CMake" package configuraiton file. Drop the emphasis on Boost_ADDITIONAL_VERSIONS because the implementation should predict most future versions instead.
| * | | | FindBoost: Refactor Boost_FOUND computation and version checkBrad King2012-09-271-98/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Construct an initial Boost_FOUND value immediately after searching for Boost_INCLUDE_DIR. Base the result only on whether header files for the requested version were found. Then after searching for component libraries update Boost_FOUND based on whether all requested components were found.
| * | | | FindBoost: Construct a clean Boost_LIBRARIES valueBrad King2012-09-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Construct the value from scratch based on the component library list. Avoid accumulating values from repeated find_package(Boost) calls. If Boost is not found, Boost_LIBRARIES should be empty.
| * | | | FindBoost: Overhaul caching and search repeat behaviorBrad King2012-09-271-128/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overhaul the implementation as follows: (1) Do not cache result variables such as Boost_VERSION, Boost_LIB_VERSION, Boost_LIBRARY_DIRS, Boost_${COMPONENT}_FOUND, Boost_${COMPONENT}_LIBRARY, or Boost_LIB_DIAGNOSTIC_DEFINITIONS that are derived uniquely from other search results. The user should not edit them anyway. (2) Add cache value Boost_LIBRARY_DIR to hold the single directory expected to contain all libraries. Once one library is found, search only that directory for other libraries. (3) Use the find_library NAMES_PER_DIR option to consider all possible library names at the same time. (4) Collect all documented input and cache variables and detect when they have been changed by the user. Discard prior search results that may have been influenced by the changes and search for them again. Environment variables are not expected to be persistent so use them only as hints and do not consider changes to them to be meaningful.
| * | | | FindBoost: Use PATH_SUFFIXES to look in "Program Files"Brad King2012-09-271-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CMake find_path command looks under the proper "Program Files" directories on Windows with any of the provided PATH_SUFFIXES. This is simpler and more robust than directly reading ENV{ProgramFiles}. Once Boost_INCLUDE_DIR has been located we already look next to it for the lib directory anyway, so we do not need special help to find Boost libraries under "Program Files".
| * | | | FindBoost: Mark Boost_DIR cache entry as advancedBrad King2012-09-261-0/+1
| | | | |
| * | | | FindBoost: Remove extra indentation levelBrad King2012-09-251-553/+553
| | | | | | | | | | | | | | | | | | | | A large portion of the file was still indented for historical reasons.
* | | | | Merge topic 'test-SelectLibraryConfigurations'David Cole2012-10-231-5/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a22f4fa SelectLibraryConfigurations: fix for release and debug libs being the same 5052fbc SelectLibraryConfigurations: add testcase
| * | | | | SelectLibraryConfigurations: fix for release and debug libs being the sameRolf Eike Beer2012-10-211-5/+9
| | |_|_|/ | |/| | |
* | | | | Merge topic 'fix-SelectLibraryConfigurations-regression'David Cole2012-10-231-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1cd2ec1 SelectLibraryConfigurations: Fix foreach(x IN LISTS ...) syntax
| * | | | | SelectLibraryConfigurations: Fix foreach(x IN LISTS ...) syntaxThomas Arcila2012-10-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 5797512c (SelectLibraryConfiguration: generate correct output when input vars are lists, 2012-07-28) the "IN" keyword was left out.
* | | | | | BasicConfigVersion: Make docs refer to the macro, not the module nameStephen Kelly2012-10-232-2/+2
| |/ / / / |/| | | | | | | | | | | | | | | | | | | The -ExactVersion variant already refers to the macro, and I think it makes more sense anyway.
* | | | | Merge topic 'refactor-CTestUseLaunchers'David Cole2012-10-172-12/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d63eb0b CTest: Ensure CTEST_USE_LAUNCHERS behaves nicely in Superbuild setup
| * | | | | CTest: Ensure CTEST_USE_LAUNCHERS behaves nicely in Superbuild setupJean-Christophe Fillion-Robin2012-10-162-12/+51
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building a project relying on External projects, the launchers were not used in subprojects built without testing enabled. This was preventing errors and warnings associated with these subprojects from being reported on the dashboard. This commit allows enabling the launchers independently of the value of "BUILD_TESTING" using one of these two approaches: 1) By setting both CTEST_USE_LAUNCHERS and the env variable "CTEST_USE_LAUNCHERS_DEFAULT" to 1 in the ctest dashboard driver scripts. 2) By enabling the variable CTEST_USE_LAUNCHERS in the ctest dashboard driver script and also by ensuring every external project passes the option -DCMAKE_PROJECT_<projectname>_INCLUDE:FILEPATH=${CMAKE_ROOT}/Modules/CTestUseLaunchers.cmake
* | | | | Merge topic 'fix-13578-wrong-reg-key'David Cole2012-10-171-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 12c092c NSIS: Fix incorrect uninstall registry key name (#13578)
| * | | | | NSIS: Fix incorrect uninstall registry key name (#13578)David Cole2012-10-161-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | Thanks to Alexander for the bug report.
* | | | | Merge topic 'fix-postgres-debian'David Cole2012-10-171-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4cbc1e5 Find PostgreSQL headers on Debian
| * | | | | Find PostgreSQL headers on DebianPere Nubiola i Radigales2012-10-151-0/+1
| | |/ / / | |/| | | | | | | | | | | | | Fixes Debian bug 665721 (http://bugs.debian.org/665721)
* | | | | FortranCInterface: Pass all flags to VERIFY project (#13579)Brad King2012-10-101-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Teach FortranCInterface_VERIFY to build the test project in a specific configuration and pass all flags for that configuration. This ensures that any modifications made by the user or project to the flag are used in the test project consistently.
* | | | Merge topic 'DocumentCMakeFindPackageName'Brad King2012-10-091-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | e2b1630 Document CMAKE_FIND_PACKAGE_NAME
| * | | | Document CMAKE_FIND_PACKAGE_NAMEAlex Neundorf2012-10-041-0/+3
| |/ / / | | | | | | | | | | | | Alex
* | | | FindGTK2: Update local changelogPhilip Lowman2012-10-031-2/+5
| | | |
* | | | FindGTK2: #12596 Missing paths for FindGTK2 on NetBSDPhilip Lowman2012-10-031-0/+2
| | | |
* | | | FindGTK2: #12049 fix detection of header files on multiarch systemsPhilip Lowman2012-10-031-0/+7
| | | |
* | | | FindGTK2: Rollback lib64 changes which broke header file findingPhilip Lowman2012-10-031-11/+26
|/ / / | | | | | | | | | | | | | | | | | | | | | The changes in "use PATH_SUFFIXES to simplify find_* calls" on 8/14 regressed important functionality in FindGTK for using find_path to locate header files in <prefix>/lib/<gtk_package>/include. The find_path function doesn't search <prefix>/lib only <prefix>/include.
* | | Merge topic 'ninja-LIBPATH'Brad King2012-10-023-3/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1e47ccb Ninja: add option to enforce usage of response files e31df03 Ninja: move <OBJECTS> in front of the first linker option 8d674e7 Ninja: move -LIBPATH behind -link option
| * | | Ninja: move <OBJECTS> in front of the first linker optionPeter Kümmel2012-10-013-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | In the response file also linker options could be passed, and because <OBJECTS> is replaced by a response file, it is necessary that no compiler option follows <OBJECTS>.
* | | | Merge topic 'ninja-link-rsp-expand'Brad King2012-10-022-11/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | dbd99d6 Revert "Ninja: don't expand any rsp files" f1670ab Ninja: don't confuse ninja's rsp files with nmake's
| * | | Revert "Ninja: don't expand any rsp files"Bill Hoffman2012-10-012-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5598d9b2a06d4ec788b5e058435bb3bba99fd517. Since commit f1670ab1 (Ninja: don't confuse ninja's rsp files with nmake's, 2012-09-26) Ninja generator response files are placed in CMakeFiles/ so the previously existing check already avoids expanding them.
* | | | Merge topic 'FindCURL-libcurl'Brad King2012-10-021-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 708b53e FindCURL: Find older MSVC prebuilts
| * | | | FindCURL: Find older MSVC prebuiltsAndreas Mohr2012-10-011-1/+3
| | | | | | | | | | | | | | | | | | | | Older Windows MSVC CURL prebuilts have the .lib named as "libcurl.lib".
* | | | | Merge topic 'documentation-cleanup'Brad King2012-10-012-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ad0233 Remove period at the end of the check message. 50b1ea5 Fix minor typos. 19c3206 Remove unused parameter marker and the unused parameter. 9d462b2 Document that generator expressions can be used in target properties. daf88c3 Fix punctuation in some variables documentation. 3172cde Fix the layout of the generator expression documentation.
| * | | | | Remove period at the end of the check message.Stephen Kelly2012-09-292-2/+2
| |/ / / / | | | | | | | | | | | | | | | Other messages don't have one.
* | | | | Merge topic 'export-sets'Brad King2012-10-012-1/+7
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80112da Merge topic 'AutomocUseTargetProperties' into export-sets 955b966 exports: add a test for exporting dependent targets 6f50a04 exports: define a CMAKE_FIND_PACKAGE_NAME var set by find_package() 0cfd055 exports: move the handling of missing targets into subclasses 190f2c8 exports: fix build with MSVC6 8b5f448 exports: first try at error handling if a target is missing 87f4c01 exports: accept a missing target if it is exported exactly once 999061a exports: store pointers to all installations of each export set 64b3a6c exports: cmGlobalGenerator::ExportSets destructor will clear it 81cdab5 exports: Hold an ExportSet pointer in cm*Export*Generator 5c898fb exports: Add cmExportSetMap class d13ec1a exports: Create class cmExportSet 4e2347c exports: Rename cmGlobalGenerator::AddTargetToExport{s,} e846e70 exports: Remove cmTargetExport constructor 81c66c8 exports: Move cmTargetExport to a dedicated header file ae4ab62 find_package: add support for a <package>_NOT_FOUND_MESSAGE variable ...
| * | | | Merge topic 'AutomocUseTargetProperties' into export-setsAlex Neundorf2012-09-307-129/+149
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Source/cmGlobalGenerator.h
| * | | | | find_package: add support for a <package>_NOT_FOUND_MESSAGE variableAlex Neundorf2012-09-282-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a config-file sets <package>_FOUND to FALSE, it can now give a reason using the variable <package>_NOT_FOUND_MESSAGE, which is used by cmFindPackage and FPHSA. Alex
| * | | | | Modules/readme.txt: fix typoAlex Neundorf2012-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Alex
* | | | | | Merge topic 'fix-13549-make-findmpi-quiet'David Cole2012-09-281-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b7a5c6 FindMPI: Set correct variables for calls to FPHSA