summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Check*CompilerFlag: Add another pattern for Clang (#16038)Brad King2016-03-311-0/+1
| | | | | | Match a warning pattern produced by `clang-cl`. Suggested-by: Reid Kleckner <rnk@google.com>
* Merge topic 'fix-spelling-typos'Brad King2016-03-3116-27/+27
|\ | | | | | | | | 49e82c15 Fix spelling typos in comments and documentation (#16037)
| * Fix spelling typos in comments and documentation (#16037)Felix Geyer2016-03-2916-27/+27
| | | | | | | | | | The Debian package checker tool (lintian) detected several typos in CMake.
* | ExternalProject: add support for just downloading a fileBen Boeckel2016-03-311-6/+26
|/ | | | | | Some projects only ship self-extracting installers rather than compressed archives. Add a flag so that these files may be used in ExternalProject.
* Merge topic 'asm-includes'Brad King2016-03-295-5/+5
|\ | | | | | | | | 9408a7a8 ASM: Add missing <INCLUDES> placeholder for "compile" rules
| * ASM: Add missing <INCLUDES> placeholder for "compile" rulesGregor Jasny2016-03-295-5/+5
| | | | | | | | | | | | | | | | This placeholder was added to the compilation rules for other languages by commit v3.4.0-rc1~342^2 (Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables, 2015-07-13) but ASM was incorrectly left out. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* | Merge topic 'ghs-link-flags'Brad King2016-03-293-4/+12
|\ \ | | | | | | | | | | | | | | | 36ad8dd4 GHS: Implement link flags and dirs for non-target groups (#16029) 230d50ed GHS: Factor out compiler information shared among languages
| * | GHS: Implement link flags and dirs for non-target groups (#16029)Geoff Viola2016-03-281-0/+2
| | |
| * | GHS: Factor out compiler information shared among languagesGeoff Viola2016-03-283-4/+10
| | | | | | | | | | | | | | | Move common information in `Modules/Compiler/GHS-*.cmake` over to a common `Modules/Compiler/GHS.cmake` and include it.
* | | cpack rpm setting of defattrDomen Vrankar2016-03-281-1/+102
|/ / | | | | | | | | | | | | | | RPM supports setting of default user, group, file and directory permissions that will be applied for files in package unless specified per file/dir with attr setting This is related to bug report 14714
* | Merge topic 'xcode73-xctest-location'Brad King2016-03-281-0/+4
|\ \ | |/ |/| | | | | a364d251 Xcode: Fixup XCTest bundle location for Xcode 7.3
| * Xcode: Fixup XCTest bundle location for Xcode 7.3Gregor Jasny2016-03-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to Xcode 7.3 a XCTest bundle was built like an ordinary bundle. But starting with Xcode 7.3 it is implicitely built as a plugin for the test host. It looks like in that case the 'Build Products Path' is ignored. This patch simply sets the CMake target output path to the value Xcode expects internally to get a matching view of both. The command: xcodebuild -showBuildSettings -target CocoaExampleTests -configuration Debug Output with Xcode 7.2: TARGET_BUILD_DIR = .../Tests/XCTest/Debug Output with Xcode 7.3 TARGET_BUILD_DIR = .../Tests/XCTest/Debug/CocoaExample.app/Contents/PlugIns Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
| * Merge branch 'FindCUDA-verbatim' into releaseBrad King2016-03-221-1/+6
| |\
| * \ Merge branch 'fix-repeat-pkg-config' into releaseBrad King2016-03-211-1/+1
| |\ \
| * \ \ Merge branch 'ios-install-combined-one-arch' into releaseBrad King2016-03-151-1/+11
| |\ \ \
* | \ \ \ Merge topic 'cpackcomponents-priv-var'Brad King2016-03-251-22/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c70ac097 CPack: Exclude additional internal variables from CPackConfig.cmake
| * | | | | CPack: Exclude additional internal variables from CPackConfig.cmakeNils Gladitz2016-03-241-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In v2.8.12.1-654-g7621ad6 I added underscore prefixes to CPACK_ADDCOMP_(STR|UNAME) to prevent them from being automatically written to CPackConfig.cmake. Do the same for CPACK_ADDGRP_(STR|UNAME) and CPACK_INSTTYPE_(STR|UNAME).
* | | | | | Merge topic 'FindBoost-xl-compiler'Brad King2016-03-241-0/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | 4527b9c4 FindBoost: Add support for IBM XL compiler
| * | | | | FindBoost: Add support for IBM XL compilerErik Zenker2016-03-231-0/+2
| | | | | |
* | | | | | Merge topic 'CMakePackageConfigHelpers-relative-prefix'Brad King2016-03-231-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd31feb0 CMakePackageConfigHelpers: allow to specify a relative CMAKE_INSTALL_PREFIX
| * | | | | | CMakePackageConfigHelpers: allow to specify a relative CMAKE_INSTALL_PREFIXSergiu Deitsch2016-03-221-1/+3
| | | | | | |
* | | | | | | Merge topic 'FindCUDA-verbatim'Brad King2016-03-231-1/+6
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | / | | |_|_|_|/ | |/| | | | 72a97b7a FindCUDA: Fix regression in separate compilation (#16027)
| * | | | | FindCUDA: Fix regression in separate compilation (#16027)Brad King2016-03-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.5.0-rc1~47^2 (FindCUDA: Support special characters in path, 2016-01-15) our add_custom_command calls use VERBATIM so that CMake will automatically quote special characters correctly. Fix the separate compilation code path to not add its own quoting when the VERBATIM option will be used.
* | | | | | Merge topic 'ghs-try_compile'Brad King2016-03-222-0/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | bf3e76d2 GHS: Fix try_compile (#15975)
| * | | | | | GHS: Fix try_compile (#15975)Geoff Viola2016-03-212-0/+4
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'TestBigEndian-log-output'Brad King2016-03-221-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e2aa6ca TestBigEndian: Log success to CMakeOutput.log, not CMakeError.log
| * | | | | | TestBigEndian: Log success to CMakeOutput.log, not CMakeError.logPaweł Stankowski2016-03-211-1/+1
| | | | | | |
* | | | | | | Merge topic 'fix-repeat-pkg-config'Brad King2016-03-221-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 6f4f9054 FindPkgConfig: set correctly named variables in cache (#15903)
| * | | | | | FindPkgConfig: set correctly named variables in cache (#15903)Ben Boeckel2016-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix in commit v3.5.0-rc1~27^2 (FindPkgConfig: set standard variables in the cache, 2016-01-20) added the wrong variable name to the cache. The test was only testing that the cache variable existed, not that it also had the correct value. Update the test to ensure that the cache value matches the local variable value. Reported-by: Bernd Lörwald
* | | | | | | Merge topic 'add-bruce-c'Brad King2016-03-226-9/+31
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | 53c0dc2d Add support for Bruce C Compiler (BCC)
| * | | | | | Add support for Bruce C Compiler (BCC)Paweł Stankowski2016-03-216-9/+31
| | |/ / / / | |/| | | | | | | | | | | | | | | | Revise C compiler detection code to be K&R compatible.
* | | | | | Merge topic 'find-blas-lapack-OpenBLAS'Brad King2016-03-212-4/+31
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5f6b4f69 Find{BLAS,LAPACK}: Add support for OpenBLAS (#16024)
| * | | | | | Find{BLAS,LAPACK}: Add support for OpenBLAS (#16024)J M Dieterich2016-03-182-4/+31
| |/ / / / / | | | | | | | | | | | | | | | | | | OpenBLAS (www.openblas.net) is the successor to GotoBLAS.
* | | | | | Drop unnecessary LSRequiresCarbon reference from Info.plist filesSean McBride2016-03-182-4/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | LSRequiresCarbon is long since unnecessary. It refers to requiring Carbon as opposed to Classic (OS 9 emulation).
* | | | | Merge topic 'GenerateExportHeader-fix-name-leak'Brad King2016-03-182-4/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a6e5d89 GenerateExportHeader: Allow common NO_DEPRECATED_MACRO_NAME for multiple libs be5a8973 GenerateExportHeader: Do not define DEFINE_NO_DEPRECATED (#16022)
| * | | | | GenerateExportHeader: Allow common NO_DEPRECATED_MACRO_NAME for multiple libsAndreas Schuh2016-03-171-1/+3
| | | | | |
| * | | | | GenerateExportHeader: Do not define DEFINE_NO_DEPRECATED (#16022)Andreas Schuh2016-03-172-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we allowed this definition to persist outside our header. This would cause conflicts across multiple such headers because the name was always the same. Fix this by avoiding the definition altogether.
* | | | | | Merge topic 'ios-install-combined-one-arch'Brad King2016-03-171-1/+11
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | e3fc2899 Fix iOS combined feature for single architecture targets
| * | | | Fix iOS combined feature for single architecture targetsRuslan Baratov2016-03-151-1/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | If list of valid target architectures is empty for given SDK then there will be no VALID_ARCHS build setting returned by Xcode. Return "" (empty string) explicitly in this case. This may happens if CMAKE_IOS_INSTALL_COMBINED is ON but only one architecture used in target.
* | | | Merge topic 'FindBoost-optional-indirect-depends'Brad King2016-03-161-2/+12
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | e2f387fa FindBoost: Tolerate missing indirect dependencies (#16013)
| * | | FindBoost: Tolerate missing indirect dependencies (#16013)Roger Leigh2016-03-151-2/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Depending upon the configuration, certain components may or may not be installed, for example Boost.Regex, but other components may still have header dependencies upon these components which will obviously fail to work. Since we can't make a sensible determination with the hardcoded dependency information, we choose to interpret these dependencies less strictly.
| * | Merge branch 'doc-find-python-call-order' into releaseBrad King2016-03-072-6/+8
| |\ \
| * \ \ Merge branch 'FindCUDA-verbatim' into releaseBrad King2016-02-171-3/+13
| |\ \ \ | | | |/ | | |/|
* | | | Merge topic 'FindGTest-depends'Brad King2016-03-161-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | a5d3d003 FindGTest: Automatically re-run cmake when tests change
| * | | | FindGTest: Automatically re-run cmake when tests changeZak Eckert2016-03-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Tell CMake that it needs to re-run when test source files parsed by `gtest_add_tests` change so that we can re-scan for tests automatically.
* | | | | Ninja: Add dependencies on system-provided header files (#14914)Brad King2016-03-154-4/+4
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | When system-provided packages are upgraded we must re-compile sources depending on their headers. Use `-MD` instead of `-MMD` so that the generated depfiles do not exclude system headers. Suggested-by: Jussi Judin
* | | | Merge topic 'cygwin-clang'Brad King2016-03-112-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 517cef8c Cygwin: Add support for Clang compiler
| * | | | Cygwin: Add support for Clang compilerHan Sangjin2016-03-102-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The platform information module for GNU on CYGWIN can be reused for Clang on CYGWIN because clang accepts almost all of the same options.
* | | | | Merge topic 'FindProtobuf-variable-case'Brad King2016-03-111-66/+112
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | a7b09e7f FindProtobuf: Rename variables to match case of module name
| * | | | FindProtobuf: Rename variables to match case of module nameAntonio Perez Barrero2016-03-071-66/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use recommended case for variable names. i.e. matching name of the module as passed to `find_package`. For backwards compatibility, the upper case versions of both input and output variables are used and defined when appropriate. Skip this for the _FOUND variable because FPHSA already does it. Skip this for the _VERSION variable because that was recently added and never available with the old name in a release of CMake.