summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindPackageLogVersion'Brad King2010-08-311-29/+180
|\ | | | | | | | | | | | | | | 88e6447 Add macro ADD_FEATURE_INFO() and improve docs. b353524 Improve wording of the documentation. 6fc88b2 Improve documentation. 3333878 Log the required package version and major improvement to FeatureSummary
| * Add macro ADD_FEATURE_INFO() and improve docs.Alex Neundorf2010-08-251-20/+70
| | | | | | | | | | | | | | | | | | | | ADD_FEATURE_INFO() can be used to set the info for a feature, e.g. an option(). set_feature_info() has been renamed to set_package_info(), since this is about found or not found packages. For compatiblity set_feature_info() is still provided. Alex
| * Improve wording of the documentation.Alex Neundorf2010-08-241-5/+7
| | | | | | | | Alex
| * Improve documentation.Alex Neundorf2010-08-241-21/+57
| | | | | | | | Alex
| * Log the required package version and major improvement to FeatureSummaryAlex Neundorf2010-08-241-14/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find_package() now also stores the required version automatically, so it can be used by FeatureSummary.cmake. This was one of the requested features for setting up nightly builds for KDE, since with this functionality it will be possible to write a file at the end of each project which lists all required packages and their versions. This file could then be compared for equality with an older one and if something has changed the build maintainer can be emailed. In FeatureSummary.cmake there is now a new function feature_summary(), which also allows to print the log to a file or into a variable. It also allows to specify whether to append to a file or to write a new one, and what information to log. Docs are still missing. Alex
* | Merge topic 'fix-10747'Brad King2010-08-312-240/+204
|\ \ | | | | | | | | | | | | | | | | | | | | | 90add6b Refine formatting for cmake --help-module output. af0c719 Merge branch 'patches/docBundleUtilities' 51cc861 Improve documentation of GetPrerequisites.cmake f811470 Improve documentation of BundleUtilities.cmake
| * | Refine formatting for cmake --help-module output.David Cole2010-08-252-9/+6
| | | | | | | | | | | | Also refer to self as module, not script.
| * | Merge branch 'patches/docBundleUtilities'David Cole2010-08-252-237/+204
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | of http://github.com/themiwi/CMake into fix-10747 Conflicts: Modules/BundleUtilities.cmake There was one newly added function in BundleUtilities.cmake which also needed the same "documentation at top" treatment.
| | * Improve documentation of GetPrerequisites.cmakeMichael Wild2010-05-231-110/+91
| | | | | | | | | | | | | | | | | | | | | Put the function documentation into the header-comment, improve formatting and list the user-relevant functions first. Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
| | * Improve documentation of BundleUtilities.cmakeMichael Wild2010-05-231-116/+103
| | | | | | | | | | | | | | | | | | | | | Put the function documentation into the header-comment, improve formatting and list the user-relevant functions first. Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
* | | Merge topic 'CPack-FixDESTDIR-Issue7000'Brad King2010-08-311-8/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3178767 Merge 'CPack-FixDESTDIR-Issue7000' from github.com:TheErk/CMake 6a521f8 CPack Enable better handling of absolute installed files 40dc97d CPack Backward-compatibly enforce DESTDIR for DEB and RPM
| * \ \ Merge 'CPack-FixDESTDIR-Issue7000' from github.com:TheErk/CMakeEric NOULARD2010-08-241-8/+39
| |\ \ \ | | |/ / | |/| |
| | * | CPack Enable better handling of absolute installed filesEric NOULARD2010-08-231-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idea of the patch is to let the install generator define CPACK_ABSOLUTE_INSTALL_FILES then when CMake is installing project he will concatenate the list of files and give it to specific CPack Generator by defining CPACK_ABSOLUTE_INSTALL_FILES to be the list of ALL files that were installed using absolute destination. An example of use has been applied to RPM generator which now tries to automatically build a relocatable package.
* | | | Merge topic 'moc_param_bug11120'Brad King2010-08-311-4/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 2756311 Make sure moc parameters file goes in binary directory.
| * | | | Make sure moc parameters file goes in binary directory.Clinton Stimpson2010-08-241-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix bug 11120. Parameters files previously went into source directory when qt4_generate_moc() was given relative paths. Also simplified some logic for absolute paths.
* | | | | Merge topic 'FindBison_10241'Brad King2010-08-311-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a53b47a 10241: FindBISON.cmake clears wrong variable
| * | | | | 10241: FindBISON.cmake clears wrong variablePhilip Lowman2010-08-201-1/+1
| | |_|/ / | |/| | |
* | | | | Merge topic 'FindCxxTest_11041'Brad King2010-08-311-23/+79
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | ed78a72 11041: Improve FindCxxTest to use Python or Perl automatically; custom flags
| * | | | 11041: Improve FindCxxTest to use Python or Perl automatically; custom flagsPhilip Lowman2010-08-201-23/+79
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Included patch by Simone Rossetto to check if either Python or Perl are present in the system. Whichever intepreter that is detected is now used to run the test generator program. If both interpreters are detected, the CXXTEST_USE_PYTHON variable is obeyed. Also added support for CXXTEST_TESTGEN_ARGS, for manually specifying options to the CxxTest code generator.
* | | | Merge topic 'add-ExternalProject-targets'Brad King2010-08-241-2/+68
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ef9dd49 Add STEP_TARGETS to ExternalProject module.
| * | | | Add STEP_TARGETS to ExternalProject module.David Cole2010-08-231-2/+68
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces the ability to add custom targets that correspond to individual ExternalProject steps. The main motivation behind this new feature is to drive sub-project based dashboard steps as external projects with separate targets for update, configure, build and test output. This makes it easy to construct a ctest -S script to drive such a dashboard. With no STEP_TARGETS defined, there are no additional custom targets introduced, to minimize the chatter in the target name space. Clients may define STEP_TARGETS on a per-ExternalProject_Add basis, or at the directory level by setting the EP_STEP_TARGETS directory property.
* | | | Merge topic 'FixEclipseIncludePathParsingWithSpaces'Brad King2010-08-241-7/+12
|\ \ \ \ | |/ / / |/| | | | | | | | | | | 9fd4e18 Fix parsing of builtin macros so Eclipse handles them properly (#10868)
| * | | Fix parsing of builtin macros so Eclipse handles them properly (#10868)Alex Neundorf2010-08-231-7/+12
| | | | | | | | | | | | | | | | Alex
* | | | Merge topic 'msvc-version'Brad King2010-08-193-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 76ed7f0 Set MSVC_VERSION for MSVC 6, 7, 7.1 (#7944)
| * | | | Set MSVC_VERSION for MSVC 6, 7, 7.1 (#7944)Rolf Eike Beer2010-08-173-0/+3
| | | | |
* | | | | Merge topic 'FortranCInterface-doc-typo'Brad King2010-08-191-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e872f5d FortranCInterface: Fix doc typo FC.h -> FCMangle.h
| * | | | | FortranCInterface: Fix doc typo FC.h -> FCMangle.hBrad King2010-08-171-3/+3
| | | | | |
* | | | | | Merge topic 'TimeoutForExecuteProcessInVendorChecking'Brad King2010-08-191-3/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6c9bc2 Add timeout to execute_process() in CMAKE_DETERMINE_COMPILER_ID().
| * | | | | | Add timeout to execute_process() in CMAKE_DETERMINE_COMPILER_ID().Alex Neundorf2010-08-171-3/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In CMAKE_DETERMINE_COMPILER_ID_VENDOR() the compiler is called with various arguments. In some cases, this can make the compiler hang and wait forever for input (e.g. "as -v"). That's why add an timeout so it terminates finally. 10 seconds should be more than enough, this is the time it takes to startup the compiler, which is usually quite fast. Alex
* | | | | | Merge topic 'CMakeParseArguments'Brad King2010-08-192-71/+167
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | c327cbd Modules: Fix CMakeParseArguments copyright notice 9eb6cc1 Merge branch 'module-notices' into CMakeParseArguments b173b87 Add macro CMakeParseArguments() and use it in FPHSA()
| * | | | | Modules: Fix CMakeParseArguments copyright noticeBrad King2010-08-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix format of the copyright notice to pass the ModuleNoticesTest.
| * | | | | Add macro CMakeParseArguments() and use it in FPHSA()Alex Neundorf2010-08-142-71/+166
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a macro cmake_parse_arguments() (as discussed on cmake-devel) which can be used in macros or functions to help with parsing its arguments. Detailled docs are included. find_package_handle_standard_args() is the first user of this new macro. Alex
* | | | | Merge topic 'ImproveAsmCompilerIDDetection'Brad King2010-08-173-14/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b333779 Detect a COMPILER_ID also for ASM. 691fc2b Remove trailing spaces
| * | | | | Detect a COMPILER_ID also for ASM.Alex Neundorf2010-08-153-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For assembler, the "compiler ID" cannot be detected by "compiling" a source file, since there is not source file all assemblers understand. Instead the function CMAKE_DETERMINE_COMPILER_ID_VENDOR() is used to run the assembler and check its output. For this the CMAKE_DETERMINE_COMPILER_ID_VENDOR() function had to be extended so that it creates the run directory if it doesn't exist yet. In CMakeASMInformation.cmake now also CMAKE_ASM_COMPILER_ID is used (but there are no such files yet, will come with the support for the IAR toolchain). Alex
| * | | | | Remove trailing spacesAlex Neundorf2010-08-152-7/+7
| |/ / / / | | | | | | | | | | | | | | | Alex
* | | | | Merge topic 'FixEclipseIncludePathParsingWithSpaces'Brad King2010-08-171-18/+32
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | cac6edc Fix EclipseCDT parsing of builtin macros with spaces (#10868) 8102dc3 Fix EclipseCDT include path parsing with spaces (#10868)
| * | | | Fix EclipseCDT parsing of builtin macros with spaces (#10868)Alex Neundorf2010-08-151-12/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from dnewmarch Alex
| * | | | Fix EclipseCDT include path parsing with spaces (#10868)Alex Neundorf2010-08-151-6/+11
| |/ / / | | | | | | | | | | | | Alex
* | | | Merge topic 'FixZLIBVersion'Brad King2010-08-171-2/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 75e7278 Fix ZLIB version parsing if no TWEAK version exists
| * | | | Fix ZLIB version parsing if no TWEAK version existsAlex Neundorf2010-08-141-2/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ZLIB_VERSION_STRING was "1.2.3.#define ZLIB_VERSION "1.2.3"" here, because the result of the matching for the tweak version was also appended if there was no TWEAK version and the regexp failed, which gives as result not an empty string, but the full string. Now it is only appended if the regexp matches. Alex
* | | | Merge topic 'FixSubversionDoc'Brad King2010-08-171-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 3e126e4 Change documentation of Subversion_FOUND and SUBVERSION_FOUND.
| * | | | Change documentation of Subversion_FOUND and SUBVERSION_FOUND.Alex Neundorf2010-08-141-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | As discussed on cmake-devel, here Subversion_FOUND is the recommended one. Alex
* | | | Merge topic 'fix-issue-11035'Brad King2010-08-171-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d570ee7 Fix 11035 : debug/release library configuration mistake
| * | | | Fix 11035 : debug/release library configuration mistakeMathieu Malaterre2010-08-141-2/+2
| |/ / / | | | | | | | | | | | | Thanks to Dimitri Kaparis for report
* | | | Merge topic 'python_add_module_scope'Brad King2010-08-171-4/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 42fd9a5 Bug with default library type of Python modules.
| * | | | Bug with default library type of Python modules.Marcus D. Hanwell2010-08-131-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The _TARGET_SUPPORTS_SHARED_LIBS variable was being altered outside of the find module, moving it into the function fixes any of these scoping issues. Fix tested and verified in VTK and Titan.
* | | | | Merge topic 'tg/BlueGeneP'Brad King2010-08-1715-0/+348
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7083c81 Add platform files for BlueGene/P systems
| * | | | | Add platform files for BlueGene/P systemsTodd Gamblin2010-08-1315-0/+348
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | BlueGeneP-base: Internal base shared by static and dynamic files BlueGeneP-static: Platform file for all-static builds BlueGeneP-dynamic: Platform file for "default" dynamic builds
* | | | | Merge topic 'FindGTK2_fixes'Brad King2010-08-171-6/+28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f6ca76f Several fixes needed to improve Windows support 74a12f3 Add detection for new pangommconfig.h header file
| * | | | | Several fixes needed to improve Windows supportPhilip Lowman2010-08-121-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for detecting fontconfig.h header * Call find_package(Freetype) since it's required * Add support for allowing users to add additional library directories via the GTK2_ADDITIONAL_SUFFIXES variable (kind of a future-kludge in case the GTK developers change versions on any of the directories in the future). * Fixed a problem on Windows where you had to configure twice to find the gtk & gdk libraries