summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CPack: Fix CPACK_INSTALL_CMAKE_PROJECTS SubDirectory (4th) optionDaniel Wirtz2016-02-181-2/+1
|
* CMake Nightly Date StampKitware Robot2016-02-181-1/+1
|
* Merge topic 'CodeBlocks-more-compilers'Brad King2016-02-171-6/+55
|\ | | | | | | | | 184da3f4 CodeBlocks: improve support for different compilers
| * CodeBlocks: improve support for different compilersMelven Roehrig-Zoellner2016-02-161-6/+55
| | | | | | | | | | | | | | | | | | | | More elaborate selection of the `compiler` tag in the generated CodeBlocks project file: * Fortran language support * support for several of the predefined compilers recognized by CodeBlocks (16.01)
* | CMake Nightly Date StampKitware Robot2016-02-171-1/+1
|/
* Merge topic 'cmake-gui-reset-generator'Brad King2016-02-161-0/+7
|\ | | | | | | | | da490e11 cmake-gui: Fix cmState initialization when changing generators (#15959)
| * cmake-gui: Fix cmState initialization when changing generators (#15959)Brad King2016-02-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.3.0-rc1~29^2~1 (cmState: Host some state from the cmGlobalGenerator, 2015-05-24) moved storage of some generator traits over to cmState. However, it accidentally removed initialization of the values from the cmGlobalGenerator constructor. This is needed because generator subclasses update the settings in their constructors. Since a single cmState instance is shared across multiple build trees by cmake-gui, initializing the values in its constructor is not enough. Fix this by restoring the needed initializations to the cmGlobalGenerator constructor.
* | Merge topic 'fix-cmake_parse_arguments-expansion'Brad King2016-02-161-2/+10
|\ \ | | | | | | | | | | | | c8c45a2c cmake_parse_arguments: Restore ;-list argument flattening
| * | cmake_parse_arguments: Restore ;-list argument flatteningDimitar Yordanov2016-02-121-2/+10
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The re-implementation in commit v3.5.0-rc1~116^2~1 (CMakeParseArguments: replace by native cmake_parse_arguments command, 2015-12-05) introduced a regression when parsing the ARGN arguments with cmake_parse_arguments. The original implementation used foreach(currentArg ${ARGN}) to iterate over input arguments. This flattened ;-lists within the arguments whether they were quoted or not. Fix our new implementation to preserve this behavior and add a test case to cover it. Signed-off-by: Dimitar Yordanov <dimitar.yordanov@sap.com> Signed-off-by: Matthias Maennich <matthias.maennich@sap.com>
* | Merge topic 'ninja-deterministic-gen'Brad King2016-02-161-1/+4
|\ \ | | | | | | | | | | | | 46fa9583 Ninja: Fix non-determinism in generated target dependency order (#15968)
| * | Ninja: Fix non-determinism in generated target dependency order (#15968)Brad King2016-02-121-1/+4
| | | | | | | | | | | | | | | | | | | | | We represent target dependency sets as `set<cmTargetDepend>` which orders by a `cmGeneratorTarget const*` pointer value. Therefore the order of dependencies encountered in AppendTargetDepends is not predictable. Sort them by content to make the result deterministic.
* | | CMake Nightly Date StampKitware Robot2016-02-161-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-02-151-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-02-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-02-131-1/+1
| | |
* | | Merge topic 'fix-warnings'Brad King2016-02-121-1/+2
|\ \ \ | | | | | | | | | | | | | | | | e1ea1df0 cmListFileCache: Fix warning about inconsistent use of class/struct
| * | | cmListFileCache: Fix warning about inconsistent use of class/structTobias Hunger2016-02-111-1/+2
| | | | | | | | | | | | | | | | Exposed by Clang trunk.
* | | | CMake Nightly Date StampKitware Robot2016-02-121-1/+1
|/ / /
* | | Merge topic 'ninja-deterministic-gen'Brad King2016-02-112-3/+15
|\ \ \ | |/ / | | | | | | | | | 59ade844 Ninja: Fix non-determinism in generated build statement order (#15968)
| * | Ninja: Fix non-determinism in generated build statement order (#15968)Brad King2016-02-112-3/+15
| |/ | | | | | | | | | | Generate custom command build statements in the order we encounter source files specifying them. Do not depend on pointer values of internally allocated structures for ordering.
* | CMake Nightly Date StampKitware Robot2016-02-111-1/+1
| |
* | Merge topic 'curl-pre-7.21.5'Brad King2016-02-101-0/+5
|\ \ | | | | | | | | | | | | 1ea55acf cmCurl: Fix compilation with system curl versions prior to 7.21.5
| * | cmCurl: Fix compilation with system curl versions prior to 7.21.5Brad King2016-02-091-0/+5
| |/ | | | | | | | | | | | | This version introduced CURLE_NOT_BUILT_IN which we have used since commit v3.4.0-rc1~211^2~4 (cmCurl: Tolerate lack of CURLOPT_CAPATH support, 2015-08-12). For older versions, just define the name to the then-unused error code so that we can compile.
* | CMake Nightly Date StampKitware Robot2016-02-101-1/+1
| |
* | Merge topic 'fix-target-lookup-performance-regression'Brad King2016-02-094-62/+47
|\ \ | | | | | | | | | | | | | | | 9b7d5871 Improve internal generator target structure lookup 6cbf6a51 Fix internal target lookup performance regression
| * | Improve internal generator target structure lookupBrad King2016-02-083-35/+22
| | | | | | | | | | | | | | | | | | | | | | | | In commit v3.5.0-rc1~272^2~6 (cmGlobalGenerator: Add FindGeneratorTarget API, 2015-10-25) a lookup was implemented via linear search. Replace it with an efficient data structure. Suggested-by: Stephen Kelly <steveire@gmail.com>
| * | Fix internal target lookup performance regressionBrad King2016-02-083-34/+32
| |/ | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.5.0-rc1~272^2~13 (cmGlobalGenerator: Remove direct storage of targets, 2015-10-25) replaced an efficient data structure mapping from target name to cmTarget instance with a linear search. Lookups through cmGlobalGenerator::FindTarget are done a lot. Restore the efficient mapping structure with a name indicating its purpose. Reported-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
* | Merge topic 'install-EXCLUDE_FROM_ALL'Brad King2016-02-0918-33/+98
|\ \ | | | | | | | | | | | | | | | | | | 586e56d0 Help: Add notes for topic 'install-EXCLUDE_FROM_ALL' d321c196 Tests: Add cases for install() command EXCLUDE_FROM_ALL option 18ce97c4 install: Add EXCLUDE_FROM_ALL option (#14921)
| * | install: Add EXCLUDE_FROM_ALL option (#14921)Nick Lewis2016-02-0418-33/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let us take an example of a project that has some tests in a component that need to be installed into a dedicated test package. The user expectation is that the result could be achieved by typing the following: make make tests make install DESTDIR=/testpkgs make install-tests However this results in test components in the default installation as well as the testpkg. Add an EXCLUDE_FROM_ALL option to the install() command to tell it that the installation rule should not be included unless its component is explicitly specified for installation.
* | | Merge topic 'fix-install-EXPORT-crash'Brad King2016-02-091-3/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a1ad098d Tests: Avoid OS X 10.5 limitation warning in RunCMake.install test 47460f3e install(EXPORT): Fix crash on target in another directory e86383e1 Tests: Use newer policy settings in RunCMake.install test
| * | | install(EXPORT): Fix crash on target in another directoryBrad King2016-02-051-3/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring merged by commit v3.5.0-rc1~299 (Merge topic 'use-generator-target', 2015-10-20) in and around commit v3.5.0-rc1~299^2~13 (cmExportSet: Store a cmGeneratorTarget, 2015-10-17) changed export sets to delay looking up actual targets and stores only their names. However, in InstallCommand::HandleExportMode we need to lookup targets immediately to check them for EXPORT_LINK_INTERFACE_LIBRARIES. The check was accidentally made local to the current directory, so if an export set contains a target from another directory the lookup fails and CMake crashes. Fix the check to look up the target name globally, and tolerate when no target is found just in case. Reported-by: Kelly Thompson <kgt@lanl.gov>
* | | CMake Nightly Date StampKitware Robot2016-02-091-1/+1
| | |
* | | Merge topic 'fix-Fortran-module-in-subdir'Brad King2016-02-081-4/+2
|\ \ \ | | | | | | | | | | | | | | | | c5eb21b6 Fix dependency scanning configuration in subdirectories
| * | | Fix dependency scanning configuration in subdirectoriesBrad King2016-02-051-4/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.5.0-rc1~347^2~2 (Set the current dirs on the snapshot before creating the cmMakefile) accidentally changed the source and binary directories configured in `cmake -E cmake_depends` for use during dependency scanning. This can cause the wrong directory information to be loaded. It also breaks Fortran module dependency scanning for modules provided by targets in subdirectories that do not have Fortran_MODULE_DIRECTORY set. Fix the dependency scanning directory configuration and add a test to cover the Fortran module case in which the breakage was observed. Reported-by: Kelly Thompson <kgt@lanl.gov>
* | | Merge topic 'fix-pedantic-warnings'Brad King2016-02-083-3/+3
|\ \ \ | | | | | | | | | | | | | | | | 58a4a771 Make cmLinkInterface:: and cmGeneratorTarget::Multiplicity unsigned ints
| * | | Make cmLinkInterface:: and cmGeneratorTarget::Multiplicity unsigned intsChristoph GrĂ¼ninger2016-02-043-3/+3
| |/ /
* | | Merge topic 'error-multiple-targets'Brad King2016-02-081-1/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | 497cad7c cmake: Teach --build to reject multiple --target options 886acd80 Help: Fix reference to `cmake --build` in cmake(1) manual
| * | | cmake: Teach --build to reject multiple --target optionsSebastian Schuberth2016-02-051-1/+13
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | Previously we did not clearly document that `--target` is only supported to be specified once. Even worse, specifying it multiple times would silently ignore any previously specified targets and only build the last target. Update the documentation to specify this. Update the implementation to reject multiple `--target` options to prevent user errors.
* | | CMake Nightly Date StampKitware Robot2016-02-081-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-02-071-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-02-061-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-02-051-1/+1
| | |
* | | Merge topic 'list-FILTER-command'Brad King2016-02-042-0/+115
|\ \ \ | |/ / |/| | | | | | | | 0205f882 list: Add FILTER subcommand (#3986)
| * | list: Add FILTER subcommand (#3986)Ashley Whetter2016-02-032-0/+115
| | | | | | | | | | | | Create a `list(FILTER)` command to filter lists by regular expression.
* | | CMake Nightly Date StampKitware Robot2016-02-041-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2016-02-031-1/+1
| |
* | Begin post-3.5 developmentBrad King2016-02-021-2/+2
| |
* | CMake 3.5.0-rc1 version updatev3.5.0-rc1Brad King2016-02-021-3/+3
|/
* Merge topic 'remove-stray-semicolon'Brad King2016-02-021-1/+1
|\ | | | | | | | | ccb2d5c0 cmAlgorithms.h: remove superfluous semicolon after method
| * cmAlgorithms.h: remove superfluous semicolon after methodChristoph GrĂ¼ninger2016-02-011-1/+1
| |