summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ExternalProject: Add option GIT_SUBMODULESGereon Kremer2014-01-282-6/+25
| | | | | This option allows to filter the submodules that are checked out. Add a simple testcase for GIT_SUBMODULES option passing an empty list.
* CMake Nightly Date StampKitware Robot2014-01-281-1/+1
|
* Merge topic 'disallowed-cxx-subset'Brad King2014-01-271-4/+29
|\ | | | | | | | | | | ed632736 Help: Note that std::string::clear may not be used. cc04bb6c Help: Document non-use of std::set::insert.
| * Help: Note that std::string::clear may not be used.Stephen Kelly2014-01-271-4/+6
| | | | | | | | | | As found in commit 519c0a5d (Can't use std::string::clear() in cmake., 2012-09-15).
| * Help: Document non-use of std::set::insert.Stephen Kelly2014-01-271-0/+23
| | | | | | | | | | As found in commit 8e7c207e (Use a manual loop to insert into set::set., 2012-09-15).
* | Merge topic 'constify'Brad King2014-01-2715-141/+137
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bde0dab1 cmMakefile: Make ConfigureString const. bf1e1bf1 cmMakefile: Make FindSourceGroup const. 01d7ceda cmMakefile: Trivially constify some methods. 9073318f cmMakefile: Remove non-const version of method 9b05bc4f cmMakefile: Remove method declarations with no implementation. c6c0bd9d cmMakefile: Consify custom command API. d6d4eaac cmMakefile: Constify policies accessors. 2a6e56e0 cmCacheManager: Consify version accessors. 5cc9fb02 cmSourceGroup: Fix method name capitalization. fe8b0330 cmMakefile: Constify some cmSourceGroup related code. e68a3ead cmSourceFile: Use a const cmMakefile. b6292402 cmSourceFileLocation: Use a const cmMakefile. b33ea578 cmMakefile: Make GetProperty const.
| * | cmMakefile: Make ConfigureString const.Stephen Kelly2014-01-222-4/+4
| | |
| * | cmMakefile: Make FindSourceGroup const.Stephen Kelly2014-01-227-21/+21
| | | | | | | | | | | | | | | Return a pointer instead of a reference. This allows making the accessor const with the least impact.
| * | cmMakefile: Trivially constify some methods.Stephen Kelly2014-01-222-51/+51
| | |
| * | cmMakefile: Remove non-const version of methodStephen Kelly2014-01-221-7/+0
| | | | | | | | | | | | The const version suffices.
| * | cmMakefile: Remove method declarations with no implementation.Stephen Kelly2014-01-221-2/+0
| | |
| * | cmMakefile: Consify custom command API.Stephen Kelly2014-01-224-4/+4
| | |
| * | cmMakefile: Constify policies accessors.Stephen Kelly2014-01-222-7/+8
| | |
| * | cmCacheManager: Consify version accessors.Stephen Kelly2014-01-223-6/+8
| | |
| * | cmSourceGroup: Fix method name capitalization.Stephen Kelly2014-01-223-4/+4
| | | | | | | | | | | | Adhere to the dominant style.
| * | cmMakefile: Constify some cmSourceGroup related code.Stephen Kelly2014-01-224-11/+12
| | |
| * | cmSourceFile: Use a const cmMakefile.Stephen Kelly2014-01-221-5/+5
| | |
| * | cmSourceFileLocation: Use a const cmMakefile.Stephen Kelly2014-01-222-6/+6
| | |
| * | cmMakefile: Make GetProperty const.Stephen Kelly2014-01-222-15/+16
| | |
* | | Merge topic 'ctest-update-p4-unknown-revision'Brad King2014-01-272-27/+38
|\ \ \ | | | | | | | | | | | | | | | | 243cfc2f ctest_update: Handle P4 unknown revisions more robustly
| * | | ctest_update: Handle P4 unknown revisions more robustlyPedro Navarro2014-01-222-27/+38
| | | | | | | | | | | | | | | | | | | | | | | | Mark unknown revisions as such and fail instead of reporting revision 0. Otherwise CTest reports massive file updates between revisions when the server timeouts while trying to fetch the current revision number.
* | | | Merge topic 'ninja-normalize-cmake-rerun-deps'Brad King2014-01-271-6/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 2c426bfb Ninja: Normalize paths of CMake re-run rule dependencies
| * | | | Ninja: Normalize paths of CMake re-run rule dependenciesBrad King2014-01-211-6/+14
| |/ / / | | | | | | | | | | | | | | | | Send all implicit dependencies through ConvertToNinjaPath. Add CMakeCache.txt before uniquifying the list.
* | | | Merge topic 'robust-ep-download-verify'Brad King2014-01-275-7/+56
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a432b93b file DOWNLOAD: Display the curl result status when a hash mismatch occurs. 1cb9ef81 file DOWNLOAD: Test non-zero return status. f73f0fb3 file DOWNLOAD: Add test for bad hash. b5e2265f ExternalProject: Reattempt download when verification fails.
| * | | | file DOWNLOAD: Display the curl result status when a hash mismatch occurs.Matt McCormick2014-01-161-0/+2
| | | | |
| * | | | file DOWNLOAD: Test non-zero return status.Matt McCormick2014-01-161-0/+13
| | | | |
| * | | | file DOWNLOAD: Add test for bad hash.Matt McCormick2014-01-162-0/+14
| | | | |
| * | | | ExternalProject: Reattempt download when verification fails.Matt McCormick2014-01-151-7/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When downloading an URL with ExternalProject, reattempt the download three times if the file hash verification fails. The re-attempt is limited to non-local URL's. The same download CMake script is re-used after removing any file that resulted from the previous download attempt. Up to three re-attempts are performed.
* | | | | CMake Nightly Date StampKitware Robot2014-01-271-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-01-261-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-01-251-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2014-01-241-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-01-231-1/+1
| |_|/ |/| |
* | | Merge topic 'cmake-rerun-depends'Brad King2014-01-2210-0/+87
|\ \ \ | | | | | | | | | | | | | | | | | | | | 82d43175 Allow projects to specify extra inputs to CMake 1ef444d6 Add test case to verify CMake does not re-run on first build
| * | | Allow projects to specify extra inputs to CMakeBrad King2014-01-2110-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Define a new 'CMAKE_CONFIGURE_DEPENDS' directory property that projects can use to specify input files to the CMake configuration process. Extend the RunCMake.Configure test to verify that the build system re-runs CMake when this input changes.
| * | | Add test case to verify CMake does not re-run on first buildBrad King2014-01-213-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | Extend the RunCMake.Configure with a case to verify that the CMake configuration process does not immediately re-run the first time that the generated build system is invoked.
* | | | Merge topic 'cmake-E-sleep'Brad King2014-01-229-1/+41
|\ \ \ \ | |/ / / | | | | | | | | | | | | 94389f63 cmake: Add '-E sleep' command
| * | | cmake: Add '-E sleep' commandBrad King2014-01-219-1/+41
| | |/ | |/| | | | | | | Add a cmake command-line interface to provide a cross-platform 'sleep'.
* | | Merge topic 'qcc-id'Brad King2014-01-2215-27/+117
|\ \ \ | | | | | | | | | | | | | | | | | | | | e00db59d QNX: Introduce QCC compiler id for that QNX platform compiler. d2dea79b CMakeDetermine*Compiler: Fix typo 'lile' => 'like'
| * | | QNX: Introduce QCC compiler id for that QNX platform compiler.Stephen Kelly2014-01-2211-23/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce policy CMP0047 to control resetting the id for compatibility. De-duplicate content in the QNX platform file by including the GNU one. QNX is a form of GNU platform. Do not clear CMAKE_SHARED_LIBRARY_${lang}_FLAGS variables. They are populated again later by the Compiler/GNU.cmake file anyway. Modify the CMAKE_CXX_COMPILE_OBJECT variable only when the QCC compiler id is in use, and the language is CXX. Use the QNX recommended flag for QCC instead of the gcc compatible -x flag. Populate new module files to handle system includes and depfiles when using the QCC compiler. Remove code which unsets the system include and depfiles related variables. When a GNU driver is used instead of the QCC one, the appropriate flags will be used. These variables were previously cleared for lowest-common-denominator compatibility with both drivers.
| * | | CMakeDetermine*Compiler: Fix typo 'lile' => 'like'Stephen Kelly2014-01-224-4/+4
| | | |
* | | | CMake Nightly Date StampKitware Robot2014-01-221-1/+1
| |/ / |/| |
* | | Merge topic 'cmake-E-symlink-replace-dangling'Brad King2014-01-219-15/+56
|\ \ \ | | | | | | | | | | | | | | | | e0228e2b cmake: Improve '-E create_symlink' edge case handling (#14713)
| * | | cmake: Improve '-E create_symlink' edge case handling (#14713)Brad King2014-01-209-15/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic added by commit ffc0b5e4 (Overwrite the symlink if it already exists, 2007-02-15) does not recognize and remove existing broken links before replacing them. Improve the logic to remove any existing destination file or link (but not directory). On failure, report an error message explaining why the existing path could not be removed or the new one could not be created. Add a RunCMake.CommandLine test to cover 'cmake -E' cases. Start with test cases covering 'cmake -E create_symlink' behavior on UNIX platforms.
* | | | Merge topic 'improve-Tests-RunCMake'Brad King2014-01-213-47/+84
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | d4ca30ae Tests/RunCMake: Add function to run a specified command-line 392a6553 Tests/RunCMake: Move documentation to a README.rst
| * | | Tests/RunCMake: Add function to run a specified command-lineBrad King2014-01-202-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a 'run_cmake_command' function that can be used by tests to run a given command-line and check the results rather than always running a CMake configuration process. This can be used in the future to test 'cmake -E' for example.
| * | | Tests/RunCMake: Move documentation to a README.rstBrad King2014-01-202-36/+52
| |/ /
* | | Merge topic 'osx-host-arch'Brad King2014-01-211-1/+6
|\ \ \ | | | | | | | | | | | | | | | | 9d2a0900 OS X: Use 'uname -m' for processor (#14712)
| * | | OS X: Use 'uname -m' for processor (#14712)Brad King2014-01-201-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 2412d9bc (Use 'uname -m' for processor on Cygwin, 2010-09-21) it was pointed out that POSIX requires 'uname -m' but not 'uname -p': http://www.opengroup.org/onlinepubs/9699919799/utilities/uname.html On OS X x86_64, 'uname -p' returns i386 while 'uname -m' returns x86_64. Since the latter is the POSIX-compliant option trust its value. However, on OS X ppc, 'uname -m' returns 'Power Macintosh' so add a special-case to convert that to 'powerpc'.
* | | | CMake Nightly Date StampKitware Robot2014-01-211-1/+1
| |/ / |/| |