summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fixbug_0011782'Brad King2011-04-121-0/+1
|\ | | | | | | | | 0378396 UseSWIG.cmake did not support multiple modules and parallel builds
| * UseSWIG.cmake did not support multiple modules and parallel buildsMathieu Malaterre2011-04-081-0/+1
| | | | | | | | | | | | This commit fixes BUG: 0011782. UseSWIG would be using the same variable to declare module information. The problem would only be noticed in parallel builds Fix this variable declaration by properly resetting it.
* | Merge topic 'fixbug_0011676'Brad King2011-04-121-4/+4
|\ \ | | | | | | | | | | | | 5f76833 Add support for Java on HP
| * | Add support for Java on HPMathieu Malaterre2011-04-081-4/+4
| |/ | | | | | | | | This commit fixes Bug: 0011676 by adding support for version numbering of JRE used on HP: 1.6.0.06-jinteg_20_jan_2010_05_50-b00
* | Merge topic 'fixbug_0011215'Brad King2011-04-121-2/+2
|\ \ | | | | | | | | | | | | c088536 UseSWIG.cmake does not expand $(OutDir)
| * | UseSWIG.cmake does not expand $(OutDir)Mathieu Malaterre2011-04-081-2/+2
| |/ | | | | | | | | | | This commit fixes BUG: 0011215 by properly expanding $(OutDir) Instead of creating the output directory using file(MAKE_DIRECTORY) we use cmake -E to create the directory at execution time
* | Merge topic 'fixbug_0011183'Brad King2011-04-121-0/+1
|\ \ | | | | | | | | | | | | a59d198 Add support for java on fedora
| * | Add support for java on fedoraMathieu Malaterre2011-04-081-0/+1
| |/ | | | | | | | | This commit fixes BUG: 0011183 by adding new paths used on fedora, specifically: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0
* | Merge topic 'fixbug_0010242'Brad King2011-04-121-0/+2
|\ \ | | | | | | | | | | | | 4f35488 Add support for FindJava on HP-UX and alpha
| * | Add support for FindJava on HP-UX and alphaMathieu Malaterre2011-04-081-0/+2
| |/ | | | | | | | | This commit fixes BUG: 0010242. It now properly inspect specific directory on hp-ux and alpha implementation of the JRE
* | Merge topic 'fixbug_0004147'Brad King2011-04-121-0/+59
|\ \ | | | | | | | | | | | | 1088b02 Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake
| * | Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmakeMathieu Malaterre2011-04-081-0/+59
| |/ | | | | | | | | | | | | This commit fixes BUG: 0004147 it directly uses swig executable to compute a list of dependencies directly from the .i files to make sure to rebuild the swig module any of its direct dep. is touched
* | Merge topic 'fixbug0011843'Brad King2011-04-121-1/+2
|\ \ | | | | | | | | | | | | 55b7c87 Add support for new swig 2.0 application
| * | Add support for new swig 2.0 applicationMathieu Malaterre2011-04-081-1/+2
| |/ | | | | | | | | This commit fixes BUG: 0011843. It now properly discover if swig2.0 is in the PATH
* | Merge topic 'refine-XL-rules'Brad King2011-04-121-0/+17
|\ \ | | | | | | | | | | | | d468a2c XL: Avoid copying archives into shared libraries that link them
| * | XL: Avoid copying archives into shared libraries that link themBrad King2011-04-081-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The XL toolchain supports shared object files stored in archives. Since CMake lists libraries on link lines by full path it is common for a shared library link line to contain the path to an archive file. When linking a shared library the compiler front-end by default runs CreateExportList to construct the list of symbols to be exported. Unfortunately it passes all files found on the command line to the tool so archive and library files get processed along with the object files. The tool returns a list of all symbols in all objects, archives, and libraries on the command line. This causes the linker to copy every object file out of every archive into the shared library whether they are dependencies of the original object files or not. Work around this problem by running CreateExportList ourselves with just the original object files intended for inclusion in the shared library. Then pass the list it produces on the link line to prevent the compiler front-end from constructing its own. This tells the linker to export only the symbols provided by the original source files of the shared library.
* | | Merge topic 'refine-XL-compiler-information'Brad King2011-04-124-22/+51
|\ \ \ | |/ / | | | | | | | | | | | | 2f3eee7 XL: Consolidate compiler flag information 3a40c7f XL: Set C++ and Fortran flags consistently with C
| * | XL: Consolidate compiler flag informationBrad King2011-04-074-23/+44
| | | | | | | | | | | | | | | | | | Factor duplicate information out of Compiler/XL-<lang>.cmake modules into a macro in a new Compiler/XL.cmake module. Invoke it from the per-language files to produce the original settings.
| * | XL: Set C++ and Fortran flags consistently with CBrad King2011-04-072-0/+8
| | | | | | | | | | | | | | | | | | Since commit e1729238 (Add initial XL C compiler flags for safer builds, 2009-09-30) CMake sets the initial XL C flags to include "-qthreaded" and "-qhalt=e". Do the same for C++ and Fortran with this toolchain.
* | | FindZLIB: print library instead of include directoryRolf Eike Beer2011-04-071-1/+1
|/ / | | | | | | | | | | | | | | | | | | Before: -- Found ZLIB: /usr/include (found version "1.2.3") After: -- Found ZLIB: /usr/lib/libz.so (found version "1.2.3")
* | 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