summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
...
| * | CMakeDetermine{C,CXX}Compiler: Avoid if() auto-dereferene in quoted argumentsMatt McCormick2015-08-202-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exposed by a CMP0054 warning with code like: cmake_minimum_required(VERSION 2.8.9 FATAL_ERROR) project(MyProj NONE) enable_language(C) enable_language(CXX) While at it, use STREQUAL for testing the compiler id against "GNU". Suggested-by: Rolf Eike Beer <eike@sf-mail.de>
| * | Merge branch 'compiler-version-Fortran' into releaseBrad King2015-08-051-0/+1
| |\ \
| * \ \ Merge branch 'osx-iframework' into releaseBrad King2015-07-222-0/+10
| |\ \ \
* | \ \ \ Merge topic 'finpkgconfig-if-deref'Brad King2015-08-181-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b9ec9392 FindPkgConfig: remove variable dereference
| * | | | | FindPkgConfig: remove variable dereferenceRolf Eike Beer2015-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If CMAKE_MINIMUM_REQUIRED_VERSION is not set because no cmake_minimum_required() call is present this line can lead to an error as that string is empty so too few arguments are passed to if(): See also "/var/tmp/paludis/build/kde-krdc-15.08.0/work/build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/paludis/build/kde-krdc-15.08.0/work/build/CMakeFiles/CMakeError.log". CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:112 (elseif): given arguments: "VERSION_LESS" "3.1" Unknown arguments specified Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:501 (_pkgconfig_parse_options) /usr/share/cmake/Modules/FindOpenSSL.cmake:43 (pkg_check_modules)
* | | | | | Add support for ARTOS platform using GNU C with ac compiler driverKars de Jong2015-08-172-0/+26
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Add platform and compiler descriptions for ARTOS RTOS (locamation.com). Signed-off-by: Kars de Jong <kars.dejong@locamation.nl>
* | | | | Merge topic 'FindBoost-1.59'Brad King2015-08-171-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ff5bb2ef FindBoost: Add support for Boost 1.59
| * | | | | FindBoost: Add support for Boost 1.59Roger Leigh2015-08-141-2/+4
| | | | | |
* | | | | | Merge topic 'FindXercesC-updates'Brad King2015-08-171-4/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db292564 FindXercesC: Add support for 3D_1 variant of the library 021bf871 FindXercesC: Find debug and release libraries separately
| * | | | | | FindXercesC: Add support for 3D_1 variant of the libraryRoger Leigh2015-08-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version is generated by the Windows Visual Studio project files for unknown reasons, but is required to pick up the debug version of the library created by current versions of Xerces-C.
| * | | | | | FindXercesC: Find debug and release libraries separatelyRoger Leigh2015-08-141-4/+12
| |/ / / / /
* | | | | | Merge topic 'FindTIFF-updates'Brad King2015-08-171-1/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 724fa682 FindTIFF: Find debug and release libraries separately
| * | | | | | FindTIFF: Find debug and release libraries separatelyRoger Leigh2015-08-141-1/+13
| |/ / / / /
* | | | | | Merge topic 'compiler-id-ancient-gcc-version'Brad King2015-08-171-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6699834d GNU-DetermineCompiler: Add support for very old versions of GCC
| * | | | | | GNU-DetermineCompiler: Add support for very old versions of GCCKars de Jong2015-08-131-1/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Very old versions of gcc (2.3.1) do not define __GNUC_MINOR__. Signed-off-by: Kars de Jong <kars.dejong@locamation.nl>
* | | | | | FindOpenSSL: Provide imported targets OpenSSL::{SSL,Crypto}Konstantin Podsvirov2015-08-131-0/+73
| | | | | |
* | | | | | FindOpenSSL: Revise and format module documentationBrad King2015-08-131-15/+19
|/ / / / / | | | | | | | | | | | | | | | Improve reStructuredText formatting and add section headers.
* | | | | Merge topic 'FindPkgConfig-capital-messages'Brad King2015-08-131-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 50c9f521 FindPkgConfig: Capitalize first letter of all message()s
| * | | | | FindPkgConfig: Capitalize first letter of all message()sChristopher Meng2015-08-121-5/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | This makes FindPkgConfig output more formal and more consistent with many other messages produced by CMake.
* | | | | Merge topic 'fix-hpux-link-search-shared-flags'Brad King2015-08-131-12/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | dc64d825 HP-UX: Fix linker search type flags for C shared libs on HP-UX
| * | | | | HP-UX: Fix linker search type flags for C shared libs on HP-UXChuck Atkins2015-08-121-12/+5
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.7~31^2 (HP: Drive shared library linking with compiler front end, 2011-12-12) the C compiler is used to link shared libraries instead of calling the linker directly, so linker options need to be wrapped as -Wl,-foo instead of -foo.
* | | | | Merge topic 'FindProtobuf-vs-x64'Brad King2015-08-121-6/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8dc6cbcb FindProtobuf: Search x64 directories in VS-built protobuf source (#14833)
| * | | | | FindProtobuf: Search x64 directories in VS-built protobuf source (#14833)A. Joël Lamotte2015-08-111-6/+11
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Protobuf 2.6.x and lower do not use CMake (cmake is usable in Protobuf 3.x) but provide legacy Visual Studio projects files. Search their output directories in 64-bit builds.
* | | | | Merge topic 'ExternalProject-hg-clone-without-update'Brad King2015-08-121-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6a77a77a ExternalProject: Tell "hg clone" not to implicitly update
| * | | | | ExternalProject: Tell "hg clone" not to implicitly updateA. Joël Lamotte2015-08-111-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default Mercurial command "clone" will implicitly call "update" with the "default" branch after downloading the cloned repository. However ExternalProject_Add() always generates a second "update" command after cloning with a tag which is either specified or "tip" (equivalent to "default" by default). Therefore ExternalProject will first clone then update to default branch then update to another specified branch if provided. This leads to potentially very long clone operation (in particular when the repository default branch contain subrepos) which can lead to transaction abort triggered by the server. Simply use "hg clone -U" to avoid the implicit update during clone. Our following call to "hg update" will take care of updating anyway.
* | | | | CTest: Report to CDash the compiler version used to build the projectDaniel Pfeifer2015-08-111-0/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compiler version reported since commit v2.8.2~1018 (CTest-side support for compiler name and compiler version, 2009-10-12) only reported the version of the compiler used to build CMake, and only if it defined "_COMPILER_VERSION". Instead use the version of the compiler used to build the project CTest is testing.
* | | | Merge topic 'cpack-rpm-documentation-fixes'Brad King2015-08-061-0/+73
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 94226751 Tests/RunCMake/CPack: Add dependencies tests 105011e0 Tests/RunCMake/CPack: Bump verify result cmake version d882d477 Tests/RunCMake/CPack/DEB: Add getPackageInfo helper function 145735b7 Tests/RunCMake/CPack: Enable CXX language in tests e26f53a8 CPack/RPM: missing PACKAGE_CONFLICTS documentation 64aacb24 CPack/RPM: undocumented variables
| * | | | CPack/RPM: missing PACKAGE_CONFLICTS documentationFrank-Christian Otto2015-08-041-0/+17
| | | | |
| * | | | CPack/RPM: undocumented variablesDomen Vrankar2015-08-041-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some CPack/RPM variables were undocumented even though they are implemented in code for quite a while now.
* | | | | Merge topic 'compiler-version-Fortran'Brad King2015-08-061-0/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | f0609182 Fortran: Store detected compiler version persistently (#15684)
| * | | | Fortran: Store detected compiler version persistently (#15684)Brad King2015-08-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Fortran compiler version detection infrastructure added by commit v3.3.0-rc1~436^2~9 (Fortran: Add infrastructure to detect compiler version, 2015-02-17) forgot to update CMakeFortranCompiler.cmake.in to save the compiler version persistently as we do already in "CMake{C,CXX}Compiler.cmake.in". Add the missing line now.
* | | | | UseJava: Teach install_jar new DESTINATION and COMPONENT optionsMarc Chevrier2015-08-041-6/+48
| | | | |
* | | | | UseJava: Teach add_jar to support file syntax for sourcesMarc Chevrier2015-08-041-9/+25
| | | | |
* | | | | FindJava: Add support for idlj and jarsigner toolsMarc Chevrier2015-08-041-23/+71
| |/ / / |/| | |
* | | | Merge topic 'if-test'Brad King2015-08-031-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 14e49ed1 if: Add "TEST <test>" condition 623dcc85 ExternalProject: Avoid if() auto-dereference of a "TEST" variable
| * | | | ExternalProject: Avoid if() auto-dereference of a "TEST" variableMatt McCormick2015-08-031-3/+3
| | | | | | | | | | | | | | | | | | | | Exposed by CMP0054 warnings.
* | | | | Merge topic 'GetPrerequisites-updates'Brad King2015-08-031-0/+38
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d0a8b1a GetPrerequisites: Optionally filter "objdump" output for speed afb674ab GetPrerequisites: Add error checks for execute_process() calls
| * | | | | GetPrerequisites: Optionally filter "objdump" output for speedBill Somerville2015-07-311-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As dumpbin.exe is no longer reliable for gcc libraries on MinGW because it crashes on many common libraries like libgcc_s and libgfortran it is now necessary too resort to using objdump for DLL dependency walking. Using objdump has a secondary problem in that it generates a lot of output for large libraries and causes fixup_bundle() to take many minutes to process what took fractions of a second with "dumpbin.exe /dependents". Add a 'grep' pre-filter in the execute_process() command pipeline to reduce this output to a minimum for a several orders of magnitude speed up. If grep is not available just use the full output. As there does not seem to be a reliable way of detecting MinGW, callers of fixup_bundle() may have to set the variable gp_tool to "objdump" if dumpbin.exe is installed on the build machine to stop it using the broken MS dumpbin.exe for library dependency walking.
| * | | | | GetPrerequisites: Add error checks for execute_process() callsBill Somerville2015-07-311-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add return status checks to external command invocations so that they do not fail silently producing incomplete install packages.
* | | | | | Merge topic 'FindMPI-drop-GetPrerequisites'Brad King2015-08-031-5/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | 1c46b6ae FindMPI: Drop unnecessary and incorrect use of GetPrerequisites
| * | | | | FindMPI: Drop unnecessary and incorrect use of GetPrerequisitesBrad King2015-07-311-5/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.5~121^2~2 (FindMPI: Handle multiple languages, 2010-12-29) we called the GetPrerequisites is_file_executable function but passed the name of a CMake variable instead of its value. Therefore the function has always failed and caused the search for the compiler name to run even with an absolute path. Switch to using if(IS_ABSOLUTE) instead and drop use of GetPrerequisites.
* | | | | Merge topic 'FindOpenSSL-cleanup'Brad King2015-07-311-21/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbcbf7f2 FindOpenSSL: De-duplicate find_library path suffixes on Windows 4c10461a FindOpenSSL: Remove extra whitespace
| * | | | | FindOpenSSL: De-duplicate find_library path suffixes on WindowsThijs Wenker2015-07-301-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the path suffixes in a variable and reference it in each find_library call.
| * | | | | FindOpenSSL: Remove extra whitespaceThijs Wenker2015-07-301-9/+9
| |/ / / /
* | | | | Merge topic 'SunOS-link-CXX-normally'Brad King2015-07-311-8/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 60fe4b54 SunOS: Drop special case for linking C++ shared libraries with gcc (#15673)
| * | | | | SunOS: Drop special case for linking C++ shared libraries with gcc (#15673)Brad King2015-07-301-8/+0
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.4.0~4325 (...use gcc -shared, even for C++ libraries, 2003-03-13) we use the C compiler "gcc" to link C++ shared libraries compiled with "g++". At the time "g++" did not know how to link shared libraries correctly. This has long since been fixed so simply drop the special case.
* | | | | Cray: Fix compiler version detection (#15664)Justin Cook2015-07-301-1/+1
|/ / / /
* | | | Merge topic 'osx-iframework'Brad King2015-07-232-0/+10
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | e68f0cb3 OS X: Use -iframework with AppleClang only on version >= 4.2
| * | | OS X: Use -iframework with AppleClang only on version >= 4.2Brad King2015-07-222-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.1.0-rc1~564^2 (OS X: Use -iframework for system framework directories, 2014-05-05) we test the version of Clang to see if it supports -iframework. Fix the version test used for AppleClang since it uses a different version scheme than upstream Clang.
* | | | Merge topic 'FindBZip2-check-with-prototype'Brad King2015-07-221-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 23876eda FindBZip2: Check BZIP2_NEED_PREFIX with real prototype