summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmTarget: Simplify CMP0023 message loop.Stephen Kelly2015-05-181-15/+5
| | | | | This method is only called if there is a mismatch and something to print. Remove intermediate container.
* cmTarget: Simplify output computation.Stephen Kelly2015-05-181-1/+1
| | | | | We always have line information for contexts resulting from command execution.
* cmTarget: Store context in stack only if different.Stephen Kelly2015-05-181-8/+5
| | | | | | The PushTLLCommandTrace method is called once per link item for a single target_link_libraries command. Avoid storing copies of identical execution contexts and rely on the uniqueness while printing output.
* cmListFileContext: Implement EqualityComparable.Stephen Kelly2015-05-182-0/+12
|
* cmTarget: Store only cmListFileContext for CMP0023 handling.Stephen Kelly2015-05-182-16/+13
| | | | | Only the top level execution context is shown, as appropriate, so store only that.
* cmTarget: Remove needless iteration.Stephen Kelly2015-05-181-1/+0
| | | | This is not a loop.
* cmListFileContext: Sort by line before file.Stephen Kelly2015-05-181-4/+5
| | | | | | This should be much faster. In the context where it is used the line comparison should be sufficient, removing the need to compare files at all.
* cmListFileContext: Implement LessThanComparable.Stephen Kelly2015-05-184-23/+11
| | | | | Move wrapping existing code from cmMakefile, and simplify the implementation there.
* cmMakefile: Use std::set::insert API to simplify CMP0054 handling.Stephen Kelly2015-05-181-9/+1
|
* cmMakefile: Simplify CMP0054 handling.Stephen Kelly2015-05-183-13/+5
|
* cmMakefile: Add access to the top-level execution context.Stephen Kelly2015-05-183-6/+13
| | | | | This is cheaper than getting the whole backtrace, and the cmListFileBacktrace will not always be composed of cmListFileContext objects.
* cmMakefile: Replace deques with vectors.Stephen Kelly2015-05-182-4/+3
|
* Merge topic 'cpack-ifw-updates'Brad King2015-05-188-13/+307
|\ | | | | | | | | | | 342d15cb Update packaging of CMake for QtIFW 2.0 9a0ba4d2 CPackIFW: Add QtIFW 2.0 support
| * Update packaging of CMake for QtIFW 2.0Konstantin Podsvirov2015-05-152-2/+8
| |
| * CPackIFW: Add QtIFW 2.0 supportKonstantin Podsvirov2015-05-156-11/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | Add variables: - CPACK_IFW_FRAMEWORK_VERSION - CPACK_IFW_PACKAGE_ALLOW_NON_ASCII_CHARACTERS - CPACK_IFW_PACKAGE_ALLOW_SPACE_IN_PATH - CPACK_IFW_PACKAGE_CONTROL_SCRIPT - CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_INI_FILE - CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_NAME - CPACK_IFW_PACKAGE_START_MENU_DIRECTORY - CPACK_IFW_VERBOSE
* | CMake Nightly Date StampKitware Robot2015-05-181-1/+1
| |
* | CMake Nightly Date StampKitware Robot2015-05-171-1/+1
| |
* | CMake Nightly Date StampKitware Robot2015-05-161-1/+1
| |
* | Merge topic 'refactor-cmLocalGenerator'Brad King2015-05-1550-360/+384
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce167b54 cmMakefile: Handle CMP0014 before configuring the generator. 7baef756 cmLocalGenerator: Assert that there is a parent. 63255342 cmMakefile: Remove redundant variable set. 894961af cmMakefile: Use the state to determine the parent directory. 115e9199 Use new top-level check abstraction. c5059c90 cmLocalGenerator: Add abstraction to check if top-level. b17686d2 cmGlobalGenerator: Move some flags from cmLocalGenerator. ed41a8e7 cmLocalGenerator: Port loops to cmState::Snapshot. 48a9e91b cmState: Add an accessor for Parent snapshot and a validity check. e7f7c2e2 cmLocalGenerator: Convert two recursive methods to loops. c5cb3a73 cmLocalGenerator: Get project directories from the cmState. 76b59831 cmLocalGenerator: Initialize state before creating cmMakefile. 34c9ee2e cmLocalGenerator: Require a global generator in the constructor. 3837c483 Tests: Add case for 'ctest' run with bad CTestTestfile b317b38d cmGlobalBorlandMakefileGenerator: Do not inherit from NMake generator 94867698 Don't use a cmLocalGenerator instance to call static methods. ...
| * | cmMakefile: Handle CMP0014 before configuring the generator.Stephen Kelly2015-05-143-38/+45
| | |
| * | cmLocalGenerator: Assert that there is a parent.Stephen Kelly2015-05-141-4/+1
| | | | | | | | | | | | | | | | | | If the CMakeLists.txt file does not exist, there must be a parent. The case for the top-level of the project is already handled in cmake::DoPreConfigureChecks.
| * | cmMakefile: Remove redundant variable set.Stephen Kelly2015-05-141-1/+0
| | | | | | | | | | | | The variable is initialized by the constructor already.
| * | cmMakefile: Use the state to determine the parent directory.Stephen Kelly2015-05-141-3/+4
| | | | | | | | | | | | Do not depend on the local generator for that.
| * | Use new top-level check abstraction.Stephen Kelly2015-05-142-3/+3
| | |
| * | cmLocalGenerator: Add abstraction to check if top-level.Stephen Kelly2015-05-144-10/+10
| | | | | | | | | | | | Move from the cmLocalNinjaGenerator. Fix the case of the name.
| * | cmGlobalGenerator: Move some flags from cmLocalGenerator.Stephen Kelly2015-05-1416-81/+79
| | | | | | | | | | | | | | | These flags are global, and so they belong here instead of being set on each local generator.
| * | cmLocalGenerator: Port loops to cmState::Snapshot.Stephen Kelly2015-05-141-22/+20
| | | | | | | | | | | | | | | Make this code less dependent on being part of cmLocalGenerator, where it doesn't really belong.
| * | cmState: Add an accessor for Parent snapshot and a validity check.Stephen Kelly2015-05-142-0/+24
| | |
| * | cmLocalGenerator: Convert two recursive methods to loops.Stephen Kelly2015-05-141-20/+50
| | |
| * | cmLocalGenerator: Get project directories from the cmState.Stephen Kelly2015-05-141-37/+36
| | | | | | | | | | | | Make this class and cmMakefile less interdependent.
| * | cmLocalGenerator: Initialize state before creating cmMakefile.Stephen Kelly2015-05-143-15/+23
| | | | | | | | | | | | Access the state from the local generator in the cmMakefile.
| * | cmLocalGenerator: Require a global generator in the constructor.Stephen Kelly2015-05-1438-94/+66
| | | | | | | | | | | | Port generator factory methods to pass it.
| * | cmGlobalBorlandMakefileGenerator: Do not inherit from NMake generatorBrad King2015-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | The Borland generator re-implements every method the NMake generator does, so there is no reason to inherit this way. Instead inherit directly from cmGlobalUnixMakefileGenerator3 like all the other makefile generators do.
| * | Don't use a cmLocalGenerator instance to call static methods.Stephen Kelly2015-05-145-23/+21
| | |
| * | cmLocalGenerator: Remove EscapeForShellOldStyle to only caller.Stephen Kelly2015-05-143-33/+30
| | |
| * | cmLocalGenerator: Remove unused members.Stephen Kelly2015-05-141-4/+0
| | |
* | | Merge topic 'disallow-install-of-export'Brad King2015-05-152-3/+49
|\ \ \ | |_|/ |/| | | | | | | | | | | b85d3b66 install: Disallow installing export() result. 501c237a install: Use an intermediate filesVector variable.
| * | install: Disallow installing export() result.Stephen Kelly2015-05-142-0/+44
| | |
| * | install: Use an intermediate filesVector variable.Stephen Kelly2015-05-141-3/+5
| |/ | | | | | | Reduce noise.
* | CMake Nightly Date StampKitware Robot2015-05-151-1/+1
|/
* Merge topic 'update-kwsys'Brad King2015-05-142-5/+9
|\ | | | | | | | | | | | | 576ef8c5 KWSys: Tell Git not to export .gitattributes c9709dff Merge branch 'upstream-kwsys' into update-kwsys 3b815ed2 KWSys 2015-05-12 (b1d560a0)
| * KWSys: Tell Git not to export .gitattributesBrad King2015-05-131-4/+0
| | | | | | | | | | | | | | KWSys upstream added an attribute to export .gitattributes so that importing snapshots into the sources of other projects would bring along the attributes. However, we don't want to export them from CMake. Drop .gitattributes entries not relevant to CMake.
| * Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-05-131-1/+9
| |
* | CMake Nightly Date StampKitware Robot2015-05-141-1/+1
|/
* CMake Nightly Date StampKitware Robot2015-05-131-1/+1
|
* Merge topic 'ctest-no-make-i'Brad King2015-05-126-4/+34
|\ | | | | | | | | | | | | 226df303 CTest: Stop telling 'make' to ignore errors with -i 28e7a135 Help: Fix build_command alternative signature docs 231601b6 build_command: Choose configuration consistently across signatures
| * CTest: Stop telling 'make' to ignore errors with -iBrad King2015-05-126-3/+33
| | | | | | | | Add policy CMP0061 to maintain compatibility for existing projects.
| * build_command: Choose configuration consistently across signaturesBrad King2015-05-121-1/+1
| | | | | | | | | | | | Teach the legacy two-argument signature to use CMAKE_CONFIG_TYPE from the environment only if it is non-empty. This makes behavior consistent with the main signature.
* | Merge topic 'find_package-no-cmake-gui-paths'Brad King2015-05-122-31/+1
|\ \ | | | | | | | | | | | | | | | 1506f9ca find_package: Drop search in recent cmake-gui locations 8d484463 FindFLTK: Drop search in recent cmake-gui locations
| * | find_package: Drop search in recent cmake-gui locationsBrad King2015-05-082-31/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The find_package command, on Windows, has always searched build trees recently visited by cmake-gui (or CMakeSetup at one time). This was done when the command was created with the intention of simplifying workflows involving building multiple dependent projects. However, this behavior depends on recent developer interaction and therefore can create different find results based on transient system states. It can lead to surprising results and user confusion. Since this behavior was first added CMake has gained many more search options, better error messages when a package is not found, and a package registry. The latter in particular allows projects to make their build trees available for dependent projects to find without user intervention. Therefore the originally intended workflow can be achieved in other, more stable ways. After the above evoluion of find_package we have now decided that the magic search-where-cmake-gui-was behavior does more harm than good. Drop it. We do not need a policy for this behavior change because it only affects interactive use.