summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'if-sanity'Brad King2014-09-1555-742/+1578
|\ | | | | | | | | | | | | | | | | | | | | | | 858d5a0b Fix if() checks of CMAKE_SYSTEM_NAME on Cygwin e177e7af FPHSA: Avoid if() dereferencing of quoted variable 425acc52 cmcurl: Use if(DEFINED) to simplify conditions cede5cbd libarchive: Avoid depending on if() to dereference a quoted variable 2d97178b FindGTK2: Avoid depending on if() to dereference a quoted variable 0b12815d Modules/Test*.cmake: Use if(DEFINED) to simplify conditions 188a1f23 If: Introduce policy CMP0054 - don't dereference quoted variables in if() b900c1cc If: Extract cmConditionEvaluator from if() implementation
| * Fix if() checks of CMAKE_SYSTEM_NAME on CygwinBrad King2014-09-114-4/+4
| | | | | | | | | | | | The CMAKE_SYSTEM_NAME is "CYGWIN", but we also define a variable named "CYGWIN" to "1". Avoid allowing if() to expand the "CYGWIN" string as a variable.
| * FPHSA: Avoid if() dereferencing of quoted variableBrad King2014-09-111-1/+1
| | | | | | | | | | | | | | Legacy invocations may pass a variable name where "DEFAULT_MSG" belongs. When comparing FPHSA_FAIL_MESSAGE to "DEFAULT_MSG", use a leading "x" on both sides to avoid mistaking the value of the message for a variable name.
| * cmcurl: Use if(DEFINED) to simplify conditionsBrad King2014-09-112-4/+4
| | | | | | | | | | Replace old hacks of the form 'if("${VAR}" MATCHES "^${VAR}$")' with the much simpler 'if(NOT DEFINED ${VAR})'.
| * libarchive: Avoid depending on if() to dereference a quoted variableBrad King2014-09-111-2/+2
| |
| * FindGTK2: Avoid depending on if() to dereference a quoted variableBrad King2014-09-111-1/+1
| | | | | | | | | | Explicitly dereference GTK2_${_var}CONFIG_INCLUDE_DIR and GTK2_${_var}_INCLUDE_DIR when comparing their values.
| * Modules/Test*.cmake: Use if(DEFINED) to simplify conditionsBrad King2014-09-114-4/+4
| | | | | | | | | | Replace old hacks of the form 'if("${VAR}" MATCHES "^${VAR}$")' with the much simpler 'if(NOT DEFINED ${VAR})'.
| * If: Introduce policy CMP0054 - don't dereference quoted variables in if()Nils Gladitz2014-09-1142-93/+846
| |
| * If: Extract cmConditionEvaluator from if() implementationNils Gladitz2014-09-116-720/+803
| |
* | CMake Nightly Date StampKitware Robot2014-09-151-1/+1
| |
* | CMake Nightly Date StampKitware Robot2014-09-141-1/+1
| |
* | CMake Nightly Date StampKitware Robot2014-09-131-1/+1
| |
* | CMake Nightly Date StampKitware Robot2014-09-121-1/+1
| |
* | Merge topic 'doc-check-results-cached'Brad King2014-09-1116-1/+18
|\ \ | | | | | | | | | | | | 908c7439 Help: Document that the CHECK_* macros create cache variables
| * | Help: Document that the CHECK_* macros create cache variablesSebastian Leske2014-09-1116-1/+18
| | | | | | | | | | | | Otherwise callers may expect to be able to re-use result variables.
* | | Merge topic 'doc-WINCE-var'Brad King2014-09-112-0/+6
|\ \ \ | | | | | | | | | | | | | | | | 4b4555de Help: Document the WINCE variable
| * | | Help: Document the WINCE variablePascal Bach2014-09-112-0/+6
| |/ /
* | | Merge topic 'fix-gnu-hurd-host-detection'Brad King2014-09-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 89d7a5a4 Fix CMAKE_HOST_SYSTEM_PROCESSOR detection on GNU/Hurd (#15147)
| * | | Fix CMAKE_HOST_SYSTEM_PROCESSOR detection on GNU/Hurd (#15147)Felix Geyer2014-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | On Debian GNU/Hurd 'uname -p' prints "unknown", so use 'uname -m' instead.
* | | | Merge branch 'release'Brad King2014-09-110-0/+0
|\ \ \ \
| * | | | CMake 3.0.2v3.0.2Brad King2014-09-081-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-09-111-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'vs-generator-platform'Brad King2014-09-1079-86/+438
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09c8ad99 enable_language: Initialize system-specific generator info only once 09ab207c Tests: Add generator platform support 6944997b ExternalProject: Propagate the generator platform 8d332091 CTest: Add options to set generator platform b97736a2 VS: Implement CMAKE_GENERATOR_PLATFORM for VS >= 8 0f1f1271 CMake: Add CMAKE_GENERATOR_PLATFORM option 4f7d0c42 Help: Document CMAKE_VS_PLATFORM_NAME variable 68d4280a VS: Refactor internal default platform name selection ad2a4776 cmGlobalVisualStudio10Generator: Re-order some methods 03b7b6cd cmGlobalGenerator: Call SetGeneratorToolset even for empty toolset
| * | | | enable_language: Initialize system-specific generator info only onceBrad King2014-09-101-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call SetSystemName, SetGeneratorPlatform, and SetGeneratorToolset exactly once after reading CMakeSystem.cmake, and not again on another call to enable_language() or project().
| * | | | Tests: Add generator platform supportBrad King2014-09-1042-7/+68
| | | | | | | | | | | | | | | | | | | | | | | | | Propagate CMAKE_GENERATOR_PLATFORM through the test hierarchy so that all tests can build with the selected generator platform, if any.
| * | | | ExternalProject: Propagate the generator platformBrad King2014-09-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the CMAKE_GENERATOR option is given to ExternalProject_Add, look also for option CMAKE_GENERATOR_PLATFORM to pass on to cmake as a cache definition. When no CMAKE_GENERATOR option is given explicitly then use the current project's CMAKE_GENERATOR_PLATFORM (since we already use its CMAKE_GENERATOR).
| * | | | CTest: Add options to set generator platformBrad King2014-09-055-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ctest_configure command already reads the CTEST_CMAKE_GENERATOR variable to get the value for the cmake -G option. Read new variable CTEST_CMAKE_GENERATOR_PLATFORM to pass on as CMAKE_GENERATOR_PLATFORM. The "ctest --build-and-test" mode already has "--build-generator" to specify the -G option to CMake. Add a "--build-generator-platform" option to specify a value to pass on as CMAKE_GENERATOR_PLATFORM.
| * | | | VS: Implement CMAKE_GENERATOR_PLATFORM for VS >= 8Brad King2014-09-0516-31/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For VS generator names that do not specify the platform name, read CMAKE_GENERATOR_PLATFORM to get it. Extend the RunCMake.GeneratorPlatform test with a case covering use of the x64 platform when the test generator is a Visual Studio generator whose name does not specify a platform.
| * | | | CMake: Add CMAKE_GENERATOR_PLATFORM optionBrad King2014-09-0516-0/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reject the option by default. It will be implemented on a per-generator basis. Pass the setting into try_compile project generation. Add cache entry CMAKE_GENERATOR_PLATFORM and associated variable documentation to hold the value persistently. Add a RunCMake.GeneratorPlatform test to cover basic use cases for the option. Verify that CMAKE_GENERATOR_PLATFORM is empty by default, and that it is rejected when the generator does not support a user setting.
| * | | | Help: Document CMAKE_VS_PLATFORM_NAME variableBrad King2014-09-052-0/+8
| | | | |
| * | | | VS: Refactor internal default platform name selectionBrad King2014-09-053-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the 'PlatformName' member to 'DefaultPlatformName' and make sure it is only read through a 'GetPlatformName()' call. This will allow non-default names to be chosen later.
| * | | | cmGlobalVisualStudio10Generator: Re-order some methodsBrad King2014-09-052-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | Order SetSystemName and SetGeneratorToolset method declarations and definitions as they are called.
| * | | | cmGlobalGenerator: Call SetGeneratorToolset even for empty toolsetBrad King2014-09-054-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move handling of an empty toolset name into the implementation of the method. This simplifies the VS 10 implementation of default toolset selection because it has one code path that is always called.
* | | | | Merge topic 'update-kwsys'Brad King2014-09-103-6/+72
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | daab3b3b Merge branch 'upstream-kwsys' into update-kwsys 92b582a6 KWSys 2014-09-08 (fb77be5a)
| * \ \ \ \ Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-09-093-6/+72
| |\ \ \ \ \
| | * | | | | KWSys 2014-09-08 (fb77be5a)KWSys Robot2014-09-093-6/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ fb77be5a | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 32023afd..fb77be5a Brad King (1): 80e852f6 kwsysPlatformTests: Use if(DEFINED) to simplify conditions Clinton Stimpson (2): 93eb1a1f SystemTools: Improve RelativePath() to handle ./ ../ and // fb77be5a SystemTools: Fix GetCasePathName to handle wildcards on Windows. Change-Id: Ieff09366e214055be0b62eae42fc64f3bb3b6e76
* | | | | | | Merge topic 'FindIce-updates'Brad King2014-09-101-18/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2131aedd FindIce: Respect Ice_FIND_QUIETLY when printing messages d5047ca1 FindIce: Remove unneeded search path modification
| * | | | | | | FindIce: Respect Ice_FIND_QUIETLY when printing messagesRoger Leigh2014-09-091-12/+16
| | | | | | | |
| * | | | | | | FindIce: Remove unneeded search path modificationRoger Leigh2014-09-091-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop code adding redundant "/opt/Ice-${ice_version}" paths.
* | | | | | | | Merge topic 'string-uuid-doc-fix'Brad King2014-09-101-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6ba52e8 StringUuid: Mark UPPER flag optional in sub-command synopsis
| * | | | | | | | StringUuid: Mark UPPER flag optional in sub-command synopsisNils Gladitz2014-09-101-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'tolerate-lib-dir-symlink'Brad King2014-09-101-2/+8
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | f99cc9c3 Tolerate symlinks during RPATH ordering (#13429)
| * | | | | | | | Tolerate symlinks during RPATH ordering (#13429)Brad King2014-09-091-2/+8
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Arch Linux, /lib and /lib64 are symlinks to /usr/lib. When ordering runtime library search paths, we must not consider these to be distinct directories. Before considering conflicts between two directories, check that they do not have the same 'realpath'. Inspired-by: Myles English <mylesenglish@gmail.com>
* | | | | | | | CMake Nightly Date StampKitware Robot2014-09-101-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'release'Brad King2014-09-090-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| * | | | | | | Merge branch 'ExternalProject-download-loop' into releaseBrad King2014-09-081-0/+1
| |\ \ \ \ \ \ \
* | \ \ \ \ \ \ \ Merge topic 'use-consistent-regex-for-info-strings'Brad King2014-09-094-4/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e84e78c Use a more reliable regex for extracting binary INFO strings
| * | | | | | | | | Use a more reliable regex for extracting binary INFO stringsChuck Atkins2014-09-034-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few different regular expressions were being used in various places to extract info strings from binaries. This uses a consistent regex amongst all of them now. This also fixes the broken ABI detection for Cray compilers.
* | | | | | | | | | Merge topic 'doc-add_custom_command-multiple-commands'Brad King2014-09-091-0/+3
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fdf4ff0 Help: Suggest in add_custom_command how to create a script (#15112)
| * | | | | | | | | | Help: Suggest in add_custom_command how to create a script (#15112)Brad King2014-09-081-0/+3
| | | | | | | | | | |