summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'install-EXCLUDE_FROM_ALL'Brad King2016-02-0930-41/+178
|\ | | | | | | | | | | | | 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)
| * Help: Add notes for topic 'install-EXCLUDE_FROM_ALL'Brad King2016-02-041-0/+5
| |
| * Tests: Add cases for install() command EXCLUDE_FROM_ALL optionBrad King2016-02-0410-0/+60
| |
| * install: Add EXCLUDE_FROM_ALL option (#14921)Nick Lewis2016-02-0419-41/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'test-ctest_submit-update'Brad King2016-02-094-4/+4
|\ \ | | | | | | | | | | | | 2859d9ef Tests: Extend ctest_submit host lookup failure matching (#15958)
| * | Tests: Extend ctest_submit host lookup failure matching (#15958)Orion Poplawski2016-02-084-4/+4
| | | | | | | | | | | | | | | | | | | | | Match this message: Could not resolve host: -no-site-; Name or service not known ^^^^^^^^^^^^^^^^^^^^^^^^^^^
* | | Merge topic 'fix-install-EXPORT-crash'Brad King2016-02-098-6/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Tests: Avoid OS X 10.5 limitation warning in RunCMake.install testBrad King2016-02-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The EXPORT-OldIFace test case uses install(TARGETS) and so generates a warning: CMake Warning in CMakeLists.txt: WARNING: Target "foo" has runtime paths which cannot be changed during install. To change runtime paths, OS X version 10.6 or newer is required. Therefore, runtime paths will not be changed when installing. CMAKE_BUILD_WITH_INSTALL_RPATH may be used to work around this limitation. Set CMAKE_BUILD_WITH_INSTALL_RPATH to avoid the warning since we do not need to run the binaries from the build tree anyway.
| * | | install(EXPORT): Fix crash on target in another directoryBrad King2016-02-054-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Tests: Use newer policy settings in RunCMake.install testBrad King2016-02-054-3/+4
| |/ / | | | | | | | | | In particular, avoid CMP0042 warnings on OS X.
* | | CMake Nightly Date StampKitware Robot2016-02-091-1/+1
| | |
* | | Merge topic 'test-FortranCInterface-again'Brad King2016-02-081-2/+2
|\ \ \ | | | | | | | | | | | | | | | | d31d7ffd Tests: Fix Fortran test to run FortranCInterface again
| * | | Tests: Fix Fortran test to run FortranCInterface againBrad King2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates to Tests/Fortran by commit v3.2.0-rc1~501^2 (Avoid if() quoted auto-dereference, 2014-10-14) changed our check "${CMAKE_Fortran_COMPILER_ID}" MATCHES "${CMAKE_C_COMPILER_ID}" to CMAKE_Fortran_COMPILER_ID MATCHES CMAKE_C_COMPILER_ID because CMP0054 warned about the LHS compiler id "MSVC" being expanded. However, the RHS of if(MATCHES) does not auto-dereference so this check has returned FALSE since then and the FortranCInterface part of the test has not been running! Fix this by using STREQUAL with quoted arguments and setting CMP0054 to NEW (by requiring 3.1).
* | | | Merge topic 'fix-Fortran-module-in-subdir'Brad King2016-02-086-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | c5eb21b6 Fix dependency scanning configuration in subdirectories
| * | | | Fix dependency scanning configuration in subdirectoriesBrad King2016-02-056-5/+9
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-doc-typos'Brad King2016-02-082-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | a3b91d16 Help: Fix command specification for cmake_minimum_required d8c90800 Help: Fix mistake in cmake-buildsystem(7) example
| * | | | Help: Fix command specification for cmake_minimum_requiredHorst Kronstorfer2016-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation indicates that at least two components of VERSION must be specified (see Source/cmCMakeMinimumRequired.cxx.) Therefore the minor version is not optional.
| * | | | Help: Fix mistake in cmake-buildsystem(7) examplePaul Wilkinson2016-02-081-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | The COMPATIBLE_INTERFACE_NUMBER_MAX example now sets INTERFACE_CONTAINER_SIZE_REQUIRED on lib1Version2 and lib1Version3. Previously set it on lib1Version2 twice and never on lib1Version3.
* | | | Merge topic 'FindCUDA.cmake/FixNonExistantDependencyFile'Brad King2016-02-081-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 81ecc726 FindCUDA: Added some additional comments about non-existent dependency files. 4b561b4c FindCUDA: Fix for when a non-existent dependency file is found.
| * | | | FindCUDA: Added some additional comments about non-existent dependency files.James Bigler2016-02-051-0/+2
| | | | |
| * | | | FindCUDA: Fix for when a non-existent dependency file is found.James Bigler2016-02-051-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously if a non-existent dependency file is found we set the file to "" and then do if(NOT IS_DIRECTORY "${file}"). Later we call get_filename_component on the empty file which returns basically the current build directory. Having a dependency on the current build directory is really annoying, because anything that compiles into that directory will change the file stamp and cause your files to rebuild every time you call make. :(
* | | | 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-087-2/+29
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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-057-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | Help: Fix reference to `cmake --build` in cmake(1) manualBrad King2016-02-051-1/+1
| | |_|/ | |/| |
* | | | Merge topic 'ExternalProject-build-config-compat'Brad King2016-02-081-2/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 1b9d15c1 ExternalProject: Be compatible with projects setting CMAKE_CFG_INTDIR
| * | | | ExternalProject: Be compatible with projects setting CMAKE_CFG_INTDIRBrad King2016-02-051-2/+17
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.5.0-rc1~32^2~1 (ExternalProject: Simplify `cmake --build` configuration passing, 2016-01-19) we use the `$<CONFIG>` generator expression to generate the `cmake --build . --config <config>` value for the default BUILD_COMMAND instead of the CMAKE_CFG_INTDIR placeholder value provided by multi-config generators. However, some projects have been abusing the old implementation detail by setting CMAKE_CFG_INTDIR themselves to get a specific configuration. Those projects should be updated to set their own BUILD_COMMAND to get non-default behavior. Meanwhile we can be compatible with their existing releases by detecting when CMAKE_CFG_INTDIR is not a generator-provided placeholder and using its value instead.
* | | | 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-0429-3/+191
|\ \ \ | | | | | | | | | | | | | | | | 0205f882 list: Add FILTER subcommand (#3986)
| * | | list: Add FILTER subcommand (#3986)Ashley Whetter2016-02-0329-3/+191
| | | | | | | | | | | | | | | | Create a `list(FILTER)` command to filter lists by regular expression.
* | | | Merge topic 'iar_ninja_support'Brad King2016-02-042-1/+5
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 99a9c7e5 IAR: Add support for using this compiler with the Ninja generator
| * | | IAR: Add support for using this compiler with the Ninja generatorJuhani Simola2016-02-032-1/+5
| |/ / | | | | | | | | | | | | | | | The dependency flags require recent versions of `iccarm` and `iccavr`. The multi-rule dependency generated with `--dependencies=m` does not work well with Ninja, so use `--dependencies=ns` instead.
* | | 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-023-2/+11
| |
* | Merge branch 'release'Brad King2016-02-024-13/+4
|\ \ | |/ |/|
| * CMake 3.5.0-rc1 version updatev3.5.0-rc1Brad King2016-02-022-4/+4
| |
| * Help: Drop development topic notes to prepare releaseBrad King2016-02-022-9/+0
|/ | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Merge topic 'doc-3.5-relnotes'Brad King2016-02-0235-211/+183
|\ | | | | | | | | | | ad701d9f Help: Organize and revise 3.5 release notes 377a12b2 Help: Consolidate 3.5 release notes
| * Help: Organize and revise 3.5 release notesBrad King2016-02-011-77/+106
| | | | | | | | | | Add section headers similar to the 3.4 release notes and move each individual bullet into an appropriate section. Revise a few bullets.
| * Help: Consolidate 3.5 release notesBrad King2016-02-0135-211/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move all development release notes into a new version-specific document: tail -q -n +3 Help/release/dev/* > Help/release/3.5.rst git rm -- Help/release/dev/* except the sample topic: git checkout HEAD -- Help/release/dev/0-sample-topic.rst Reference the new document from the release notes index document. Add a title and intro sentence to the new document by hand.
* | 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
| |/
* | Merge topic 'fix-CMAKE_MATCH-self-match'Brad King2016-02-023-0/+16
|\ \ | | | | | | | | | | | | 6ffc4323 cmConditionEvaluator: Fix matching of `CMAKE_MATCH_*` values (#15944)
| * | cmConditionEvaluator: Fix matching of `CMAKE_MATCH_*` values (#15944)Brad King2016-02-013-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While evaluating `if(MATCHES)` we get a `const char*` pointer to the string to be matched. On code like if(CMAKE_MATCH_COUNT MATCHES "Y") the string to be matched may be owned by our own result variables. We must move the value to our own buffer before clearing them. Otherwise we risk reading freed storage.
* | | CMake Nightly Date StampKitware Robot2016-02-021-1/+1
| |/ |/|