summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'BuiltinIncludeDirFixesForEclipse'Brad King2011-04-051-3/+9
|\ | | | | | | | | | | 6a38cab Don't skip the last builtin include dir for the Eclipse project file 4371147 Fix parsing include dirs and builtin macros for CXX-only projects
| * Don't skip the last builtin include dir for the Eclipse project fileAlex Neundorf2011-04-031-2/+2
| | | | | | | | | | | | | | | | | | The regex was slightly wrong, it excluded the last line, so e.g. /usr/include/ didn't end up in the .cproject file. Thanks to Shash Chatterjee for the patch. Alex
| * Fix parsing include dirs and builtin macros for CXX-only projectsAlex Neundorf2011-04-031-1/+7
| | | | | | | | Alex
* | Merge topic 'ModularizeCPack-dot-CMake'Brad King2011-04-054-491/+588
|\ \ | | | | | | | | | | | | 4bb7940 Split CPack.cmake in more manageable parts
| * | Split CPack.cmake in more manageable partsEric NOULARD2011-04-044-491/+588
| |/ | | | | | | | | | | Put NSIS, Bundle and Component related MACROs in separate files. This does not implies functional changes, concerning the way CPack is used.
* | Merge topic 'module-armadillo'Brad King2011-04-051-0/+100
|\ \ | | | | | | | | | | | | | | | 2d56f0a Corrected copyright format in FindArmadillo.cmake 1942f58 Add new module Armadillo
| * | Corrected copyright format in FindArmadillo.cmakeClement Creusot2011-04-011-5/+9
| | |
| * | Add new module ArmadilloClement Creusot2011-04-011-0/+96
| |/
* | Merge topic 'linux-lib64-handling'Brad King2011-04-051-2/+23
|\ \ | | | | | | | | | | | | 126c993 Fix #11964 Handle lib64 library on Linux
| * | Fix #11964 Handle lib64 library on LinuxEric NOULARD2011-03-311-2/+23
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AMD64 ABI document http://www.x86-64.org/documentation/abi.pdf does specify that 64bits binary libraries should end up in <prefix>/lib64 and 32bits ones in <prefix>/lib. All but debian based distros do so, and some like OpenSUSE even enforce the rule when packaging with RPM and refuse to build the RPM if this is not the case. After some discussion (see the bug notes) we cannot do that behind the scene and the current fix supposes that the user shall use the CMAKE_INSTALL_LIBDIR variables content in its INSTALL rules if he wants to put the lib in the right place. CMAKE_INSTALL_LIBDIR shall have the appropriate value depending on the Linux distribution found and 32/64bitness of the host. The cross-compiling case (even 32bits compile on a 64bits host) is not handled.
* | Merge topic 'module-readme'Brad King2011-04-051-0/+22
|\ \ | | | | | | | | | | | | ede46d9 Modules: Add comment and copyright notice validation to readme.txt
| * | Modules: Add comment and copyright notice validation to readme.txtBrad King2011-04-011-0/+22
| |/ | | | | | | | | | | Document for module authors how to format the copyright notice and test it. Also provide a hint for previewing the module documentation formatting.
* | Merge topic 'asn_openssl_fixes'Brad King2011-04-051-62/+156
|\ \ | | | | | | | | | | | | | | | | | | | | | 112f1dd FindOpenSSL: Use find_package_handle_standard_args for version check. a091ba6 FindOpenSSL: Fixed crypto und ssl variable names. a164649 FindOpenSSL: We should only use hints to find OpenSSL. 0fb5142 FindOpenSSL: Added support for pkg-config.
| * | FindOpenSSL: Use find_package_handle_standard_args for version check.Andreas Schneider2011-03-311-20/+20
| | |
| * | FindOpenSSL: Fixed crypto und ssl variable names.Andreas Schneider2011-03-311-4/+8
| | |
| * | FindOpenSSL: We should only use hints to find OpenSSL.Andreas Schneider2011-03-311-38/+93
| | |
| * | FindOpenSSL: Added support for pkg-config.Andreas Schneider2011-03-281-10/+45
| | |
* | | Merge topic 'fixbug_0010316'Brad King2011-04-051-10/+43
|\ \ \ | |/ / | | / | |/ |/| b4c3ff7 This commit fixes bug #0010316
| * This commit fixes bug #0010316Mathieu Malaterre2011-03-281-10/+43
| |
* | Merge topic 'fix12006-brokenPackageName'Brad King2011-03-311-0/+1
|\ \ | | | | | | | | | | | | 33391c6 CPackDeb: Fix #12006 broken package names
| * | CPackDeb: Fix #12006 broken package namesMartin Konrad2011-03-241-0/+1
| |/ | | | | | | Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | Merge topic 'gnu-install-dirs-issue-3976'Brad King2011-03-311-0/+161
|\ \ | | | | | | | | | | | | | | | | | | c2bf48e GNUInstallDirs: Propagate DATAROOTDIR changes to dependent defaults 11431c6 GNUInstallDirs: Simplify and clarify documentation a262fe0 Add GNUInstallDirs module to define GNU layout (#3976)
| * | GNUInstallDirs: Propagate DATAROOTDIR changes to dependent defaultsBrad King2011-03-231-10/+22
| | |
| * | GNUInstallDirs: Simplify and clarify documentationBrad King2011-02-281-47/+30
| | |
| * | Add GNUInstallDirs module to define GNU layout (#3976)Nikita Krupen'ko2011-02-281-0/+166
| | | | | | | | | | | | | | | | | | | | | Provide CMAKE_INSTALL_* variables to help install files according to the GNU standard layout: http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
* | | Merge topic 'fix-FortranCInterface-for-Cray-7.3.2'Brad King2011-03-313-15/+12
|\ \ \ | |_|/ |/| | | | | | | | d0203fb FortranCInterface: Fix mangling detection with Cray Fortran >= 7.3.2
| * | FortranCInterface: Fix mangling detection with Cray Fortran >= 7.3.2Brad King2011-03-243-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Cray Fortran compiler started using module init symbols in version 7.3.2. Starting in commit 71287734 (Teach FortranC interface for Intel, PGI, and gcc 4.2, 2009-08-05) we provide C versions of the module init symbols so that the detection executable can link when the C versions of the module-mangled symbols are picked up. If no C module-mangled symbol matches then we cannot let the C module init symbol appear because it will be duplicated by the Fortran copy that provides the module-mangled symbol. This was first handled for the PathScale compiler in commit 21faaa5d (FortranCInterface: Fix PathScale detection, 2010-01-22) and commit 46858720 (FortranCInterface: Fix PathScale detection again, 2010-02-16). Handle it now for the Cray compiler too.
* | | Merge topic 'asn_check_proto'Brad King2011-03-222-0/+125
|\ \ \ | | | | | | | | | | | | | | | | | | | | 93c56a7 Tests: Added test for check_prototype_definition. 4f252ab Modules: Added CheckPrototypeDefinition module.
| * | | Modules: Added CheckPrototypeDefinition module.Andreas Schneider2011-03-182-0/+125
| | | | | | | | | | | | | | | | | | | | | | | | This check if the function exists and the prototype we want to use is correct. There are still functions which have different prototypes on different UNIX systems.
* | | | Merge topic 'include-flags-response-file'Brad King2011-03-221-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86cb17b Pass include directories with response files to GNU on Windows 9a0b9bc Optionally pass include directories with response files 6e8a67f Generate target-wide flags before individual build rules d099546 Factor old-style -D flags out from -I flag generation
| * | | | Pass include directories with response files to GNU on WindowsBrad King2011-03-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GNU 4.x toolchain on MinGW (and therefore MSYS) allows compiler options to be passed via response files. Use this to pass include directory -I options. This allows the include file search path to be very long despite shell and mingw32-make command line length limits.
* | | | | Merge topic 'FindBLAS-acml-search-improvement'Brad King2011-03-221-8/+88
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ac475c4 ACML search improvement
| * | | | | ACML search improvementAlexey Ozeritsky2011-03-151-8/+88
| | |/ / / | |/| | |
* | | | | ProcessorCount: Use ERROR_QUIET with execute_process (#11302)David Cole2011-03-181-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, comment out all "debugging" calls to message() that helped us interpret the output on other platforms when running on the dashboard clients. Using ERROR_QUIET avoids unnecessary stderr output while calling external tools to determine the processor count. If there's an error parsing the output, we set the count to 0 anyhow. Also, the test will fail on a CMake dashboard run if the count comes back equal to 0. Now that the code is "done"-ish, remove the debugging output. Expect no output on stdout or stderr when calling the ProcessorCount function from now on.
* | | | | ProcessorCount: Add support for remaining platforms (#11302)David Cole2011-03-151-24/+103
| | | | | | | | | | | | | | | | | | | | Including AIX, cygwin, FreeBSD, HPUX, IRIX, OpenBSD and Sun.
* | | | | Add ProcessorCount support for QNX via pidin. (#11302)David Cole2011-03-151-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Rolf Eike Beer <eike@sf-mail.de> for the code snippet parsing the pidin output.
* | | | | If getconf returns empty output, try cpuinfo. (#11302)David Cole2011-03-151-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, add message output (temporarily) for gathering data on all the dashboard machines. After the test runs on the overnight dashboards tonight, I'll comment out the message output and commit/push again.
* | | | | Add correct module notice header.David Cole2011-03-151-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes failing ModuleNotices test.
* | | | | Add module ProcessorCount.cmake (#11302)Michael Wild2011-03-151-0/+60
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credit goes to David Cole ( http://www.kitware.com/blog/home/post/63 ). Also add a script-based test of the new module. Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>
* | | | Merge topic 'CPackRPM-TestWithMoreTraces'Brad King2011-03-151-2/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ade04de Remove debbuging typo a201028 CPack try to please SUSE 64 bits and install lib in lib64 and not lib. 7ebbcf1 CPackRPM non matching ENDIF 0e07b42 CPackRPM even more trace in debug mode or in case of failure 564b731 CPackRPM add more trace output in order to help failing diagnostics
| * | | | CPackRPM non matching ENDIFEric NOULARD2011-03-101-1/+1
| | | | |
| * | | | CPackRPM even more trace in debug mode or in case of failureEric NOULARD2011-03-101-1/+6
| | | | |
| * | | | CPackRPM add more trace output in order to help failing diagnosticsEric NOULARD2011-03-101-0/+19
| | | | |
* | | | | Merge topic 'CPackDeb-ComponentSupport'Brad King2011-03-151-0/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bf7066c CPackDeb add Component Support to DEB generator fix #0011655
| * | | | | CPackDeb add Component Support to DEB generator fix #0011655M. Konrad2011-03-111-0/+22
| |/ / / / | | | | | | | | | | | | | | | | | | | | Contribution by Martin Konrad Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* | | | | Merge topic 'qt4-paramfile-speed'Brad King2011-03-151-4/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ae587e4 Speed up creation of parameters file for moc custom command.
| * | | | | Speed up creation of parameters file for moc custom command.Clinton Stimpson2011-03-101-4/+2
| |/ / / / | | | | | | | | | | | | | | | Thanks A. Saratow for patch.
* | | | | Merge topic 'qt4-cross-compile-no-default'Brad King2011-03-151-34/+34
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 46f64bd When cross compiling, don't double-root paths when using find_*.
| * | | | | When cross compiling, don't double-root paths when using find_*.Markus Rathgeb2011-03-101-34/+34
| |/ / / /
* | | | | InstallRequiredSystemLibraries: Read reg values with get_filename_componentDavid Cole2011-03-091-4/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64-bit CMake can now find the VC redist folder. See this thread on the CMake mailing list for the original report: http://www.cmake.org/pipermail/cmake/2011-March/043342.html Thanks to J. Decker for the suggested fix.