summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CTestCoverageCollectGCOV: Add test caseBill Hoffman2015-02-033-0/+59
|
* CTestCoverageCollectGCOV: Allow custom flags to gcovBill Hoffman2015-02-031-2/+15
| | | | | | | | Add a GCOV_OPTIONS option to allow specification of custom flags. In ctest_coverage gcov support, if you set CTEST_COVERAGE_EXTRA_FLAGS, they get put on the command line before the -o. In this case we remove the -b and replace it with GCOV_OPTIONS. All other arguments remain the same.
* CTestCoverageCollectGCOV: Fix handling of large file countsBill Hoffman2015-02-031-2/+9
| | | | Use the --files-from option to tar to handle lots of files.
* ctest_submit: Escape URL components in CDASH_UPLOAD modeBill Hoffman2015-01-303-15/+31
| | | | Call curl_easy_escape on arguments sent to CDash upload.
* Merge topic 'file-strings-utf-16'Brad King2015-01-2716-4/+99
|\ | | | | | | | | 1f77a700 file: Teach STRINGS to support UTF-16 and UTF-32 encodings
| * file: Teach STRINGS to support UTF-16 and UTF-32 encodingsJustin Borodinsky2015-01-2716-4/+99
| |
* | Merge topic 'test-features-enforce-expectation'Brad King2015-01-271-0/+15
|\ \ | | | | | | | | | | | | | | | 67e76e82 Features: Fix test to reject missing expectation definitions 3046be77 Features: Emit a test failure if 'override' is present but not expected
| * | Features: Fix test to reject missing expectation definitionsBrad King2015-01-261-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Whenever feature support is added to a compiler, the CompileFeatures test needs to be updated to set expected availability of features. Add #error directives to ensure the test fails if expectations are not set. Suggested-by: Stephen Kelly <steveire@gmail.com>
| * | Features: Emit a test failure if 'override' is present but not expectedStephen Kelly2015-01-261-0/+3
| | |
* | | Merge topic 'doc-cmake-E-mode'Brad King2015-01-271-12/+108
|\ \ \ | | | | | | | | | | | | | | | | 4c49ce96 Help: Document 'cmake -E <command>' modes in cmake.1 manual
| * | | Help: Document 'cmake -E <command>' modes in cmake.1 manualBrad King2015-01-261-12/+108
| | | | | | | | | | | | | | | | | | | | Add a dedicated manual section, move the -E command documentation there, and elaborate.
* | | | Merge topic 'cmake-E-tar-files-from'Brad King2015-01-2716-0/+82
|\ \ \ \ | |/ / / | | | | | | | | | | | | 44fd71de cmake: Teach "-E tar" command a "--files-from=" option
| * | | cmake: Teach "-E tar" command a "--files-from=" optionBrad King2015-01-2616-0/+82
| | |/ | |/| | | | | | | | | | | | | Read file names from the lines of a specified file. Reject input lines starting in '-' to leave room for option parsing to be added later. Add just '--add-file=' now to allow files starting in '-' to be specified.
* | | Merge topic 'test-rerun-cmake'Brad King2015-01-2714-0/+106
|\ \ \ | | | | | | | | | | | | | | | | | | | | 7f2dc8dc configure_file: Test that CMake re-runs on input change or output missing daf95a38 try_compile: Test that CMake re-runs on input change
| * | | configure_file: Test that CMake re-runs on input change or output missingBrad King2015-01-276-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the Makefile generators we expect that touching or modifying the input file of a configure_file, or removing its output, will cause CMake to re-run on the next build. Extend the RunCMake.configure_file test with a case covering this. Also check that CMake does not re-run if nothing has changed.
| * | | try_compile: Test that CMake re-runs on input changeBrad King2015-01-278-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With the Makefile and Ninja generators we expect that touching the input source file for a try_compile will cause CMake to re-run on the next build. Extend the RunCMake.try_compile test with a case covering this. Also check that CMake does not re-run if nothing has changed.
* | | | Merge topic 'tests-RunCMake-normalize-newlines'Brad King2015-01-271-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | bf05938b Tests/RunCMake: Normalize newlines before checking actual output
| * | | Tests/RunCMake: Normalize newlines before checking actual outputBrad King2015-01-271-0/+1
| | | | | | | | | | | | | | | | | | | | We read the expected output with file(STRINGS) which converts CRLF newlines to LF. Do the same with the actual output before comparing.
* | | | Merge topic 'cmake-gui-osx'Brad King2015-01-273-5/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ced6375 cmake-gui: Shrink spacing between search field and checkbox. b46a1519 cmake-gui: Change install buttons to activate on clicked instead of pressed. c19539c5 cmake-gui: Fix install menu to be available for Qt5 builds on OS X.
| * | | | cmake-gui: Shrink spacing between search field and checkbox.Kevin Wojniak2015-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | This allows the search field to show on OS X Yosemite
| * | | | cmake-gui: Change install buttons to activate on clicked instead of pressed.Kevin Wojniak2015-01-261-3/+3
| | | | | | | | | | | | | | | | | | | | This matches the behavior of other buttons.
| * | | | cmake-gui: Fix install menu to be available for Qt5 builds on OS X.Kevin Wojniak2015-01-261-1/+1
| | |/ / | |/| |
* | | | Merge topic 'cmake-builtin-targets-use-ninja-terminal'Brad King2015-01-273-8/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | bbffaa0e Configure some CMake-provided targets with USES_TERMINAL (#14915)
| * | | | Configure some CMake-provided targets with USES_TERMINAL (#14915)Sylvain Joubert2015-01-273-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will make them use the 'console' pool with the Ninja generator. Impacted targets are: - Built-in targets: install, install/local, install/strip, tests, package, package_source, rebuild_cache - Targets provided by the CTestTargets module: Nightly, Continuous, Experimental, and all their variants (*Start, *Configure, ...)
* | | | | Merge topic 'load-initial-cache-from-stderr-to-stdout'Brad King2015-01-271-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6cc0f6b5 cmake: Display "loading initial cache" message on stdout
| * | | | | cmake: Display "loading initial cache" message on stdoutJean-Christophe Fillion-Robin2015-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This message has been on stderr since the "-C" option was first added, but it is informational and not an error. Other informational messages go to stdout, so send this one there too.
* | | | | | Merge topic 'doc-link_libraries-note'Brad King2015-01-272-9/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c7310917 Help: Clarify status of link_libraries command
| * | | | | | Help: Clarify status of link_libraries commandBrad King2015-01-262-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command has been documented as 'deprecated', but it is not really slated for removal and can still be used. Clarify this in the documentation. While at it, revise the documentation to use wording more consistent with that now in target_link_libraries. Suggested-by: Christoph GrĂ¼ninger <foss@grueninger.de>
* | | | | | | CMake Nightly Date StampKitware Robot2015-01-271-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'tests-RunCMake-make-program'Brad King2015-01-262-0/+4
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | 23bf98fc Tests/RunCMake: Honor CMAKE_MAKE_PROGRAM
| * | | | | Tests/RunCMake: Honor CMAKE_MAKE_PROGRAMBrad King2015-01-242-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If tests are using an explicit make program, pass it through to RunCMake tests so that any that actually do build use the expected tool.
* | | | | | Merge topic 'backport-kwsys-directory-check-opendir'Brad King2015-01-260-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 482c8475 KWSys Directory: Check opendir return value before using it (#15367)
| * | | | | | KWSys Directory: Check opendir return value before using it (#15367)Brad King2015-01-231-0/+5
| | |/ / / / | |/| | | | | | | | | | | | | | | | In Directory::GetNumberOfFilesInDirectory add a missing check for NULL.
* | | | | | Merge topic 'try-run-link-libraries'Brad King2015-01-2613-5/+66
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0adcccb try_run: Add tests for LINK_LIBRARIES with mock libraries. 223c5cb7 try_run: Add test for bad link libraries. e2b1f058 try_run: Add support for LINK_LIBRARIES option.
| * | | | | try_run: Add tests for LINK_LIBRARIES with mock libraries.Matt McCormick2015-01-261-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the ExportImport test to try using an imported library with try_run.
| * | | | | try_run: Add test for bad link libraries.Matt McCormick2015-01-267-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Based off the corresponding try_compile test.
| * | | | | try_run: Add support for LINK_LIBRARIES option.Matt McCormick2015-01-265-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most functionality is already implemented in Source/cmCoreTryCompile.{h,cxx}. Document and improve argument parsing. This functionality is already being used by a number of modules, like CheckCSourceCompiles.cmake, but it is not documented.
* | | | | | Merge topic 'FindCUDA-cusolver'Brad King2015-01-261-0/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d5d3d0c9 Help: Add notes for topic 'FindCUDA-cusolver'
| * | | | | | Help: Add notes for topic 'FindCUDA-cusolver'Brad King2015-01-231-0/+5
| | | | | | |
* | | | | | | Merge topic 'ExternalProject-switch-ALWAYS'Brad King2015-01-261-0/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4605973 ExternalProject: Allow ALWAYS step property to be switched (#15368)
| * | | | | | | ExternalProject: Allow ALWAYS step property to be switched (#15368)Brad King2015-01-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Within an existing build tree, if the stamp for a step already exists when one activates the ALWAYS option, we still want it to always build. Remove the step stamp file during CMake configuration to ensure it does not exist when the ALWAYS option is enabled.
* | | | | | | | Merge topic 'update-kwsys'Brad King2015-01-261-0/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 391748d5 Merge branch 'upstream-kwsys' into update-kwsys 0b9aad75 KWSys 2015-01-23 (d4e7f08e)
| * \ \ \ \ \ \ \ Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-01-241-0/+5
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | |
| | * | | | | | | KWSys 2015-01-23 (d4e7f08e)KWSys Robot2015-01-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ d4e7f08e | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' b33e7b96..d4e7f08e Brad King (1): d4e7f08e Directory: Check opendir return value before using it Change-Id: I3485ec9c7ad3b7f25df610d4d1898c5150a995f0
* | | | | | | | | Merge topic 'ninja-rsp_file-calculation'Brad King2015-01-261-7/+22
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 097e26f4 ninja: use the minimum of all command line length limits (#14892)
| * | | | | | | | | ninja: use the minimum of all command line length limits (#14892)Ben Boeckel2015-01-231-7/+22
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When choosing whether to use a response file, consider several possible command line length limits for the current operating system, and choose the smallest.
* | | | | | | | | Merge topic 'curl-default-cainfo'Brad King2015-01-2610-17/+121
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0abd3e53 cmake: Use a default CA path when not using system curl 6ce346c5 curl: Add CURL_CA_PATH option to CMake build process
| * | | | | | | | | cmake: Use a default CA path when not using system curlBrad King2015-01-237-6/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using system curl, we trust it to be configured with desired CA certs. When using our own build of curl, we use os-configured CA certs on Windows and OS X. On other systems, try to achieve this by searching for common CA cert locations. According to a brief investigation, the curl packages on popular Linux distros are currently configured as: * Arch: /etc/ssl/certs/ca-certificates.crt * Debian with OpenSSL: /etc/ssl/certs * Debian with GNU TLS: /etc/ssl/certs/ca-certificates.crt * Debian with NSS: /etc/ssl/certs/ca-certificates.crt * Fedora: /etc/pki/tls/certs/ca-bundle.crt * Gentoo with OpenSSL: /etc/ssl/certs * Gentoo without OpenSSL: /etc/ssl/certs/ca-certificates.crt Teach CMake and CTest to look for these paths and use them as a CA path or bundle when no other os-configured or user-specified CAs are available.
| * | | | | | | | | curl: Add CURL_CA_PATH option to CMake build processBrad King2015-01-233-11/+11
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move CMAKE_USE_OPENSSL and CURL_CA_BUNDLE up to the top of CMake so that CMake's own sources can know their values. Add the CURL_CA_PATH option at the top and honor it as part of the curl build.
* | | | | | | | | CMake Nightly Date StampKitware Robot2015-01-261-1/+1
| | | | | | | | |