summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Fix default compiler flags on WindowsBrad King2017-02-152-11/+12
| | | | | | | Fix the default values of `CMAKE_CUDA_FLAGS[_<CONFIG>]` on Windows to make the host compiler flags match those produced for C++ by the `Platform/Windows-MSVC` module. This makes the flags consistent with those used for C++.
* CUDA: Fix test cases to not override CUDA flagsBrad King2017-02-155-5/+5
| | | | Append to `CMAKE_CUDA_FLAGS` instead of overwriting it.
* Merge branch 'cuda-no-Os' into releaseBrad King2017-02-141-1/+1
|\
| * CUDA: Do not use non-existent -Os flag for nvccBrad King2017-02-141-1/+1
| | | | | | | | | | Fix the CUDA MinSizeRel configuration flags to avoid using the `-Os` flag that nvcc does not support.
* | Merge branch 'cuda-with-c' into releaseBrad King2017-02-146-0/+51
|\ \
| * | CUDA: Link to standard system libraries when linking as CUDABrad King2017-02-143-0/+16
| | | | | | | | | | | | | | | | | | | | | On Windows with MSVC-like host compilers we must honor the standard libraries chosen by the `Platform/Windows-MSVC` module. Otherwise C code linked into the CUDA binary that expects to have these libraries available may not link.
| * | Tests: Add case for CUDA with C but not C++Brad King2017-02-144-0/+35
| | | | | | | | | | | | An executable using CUDA and C should link as CUDA.
* | | Merge branch 'backport-clang-format-cuda' into releaseBrad King2017-02-1420-88/+79
|\ \ \ | |/ /
| * | Tests: Run clang-format on CUDA codeBrad King2017-02-1416-86/+59
| | |
| * | Modules: Run clang-format on CUDA codeBrad King2017-02-141-1/+1
| | |
| * | clang-format.bash: Format CUDA source files tooBrad King2017-02-143-1/+19
| | | | | | | | | | | | | | | | | | Add `.clang-format` configuration files for Cuda test directories that use `Standard: Cpp11`. Otherwise clang-format splits the triple angle brackets used for CUDA kernels.
* | | Merge branch 'execute_process-default-encoding' into releaseBrad King2017-02-132-5/+16
|\ \ \
| * | | execute_process: Restore no-decoding default behaviorBrad King2017-02-132-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.8.0-rc1~232^2 (execute_process: Add ENCODING option for Windows child process output, 2016-11-23) we decode child process output using the console's active codepage by default. This differs from previous versions of CMake and is therefore incompatible. Changing this default will require a policy, so for now revert the default behavior back to performing no decoding. Reported-by: Nils Gladitz <nilsgladitz@gmail.com>
| * | | Help: Improve execute_process ENCODING option documentationBrad King2017-02-131-4/+15
| | | | | | | | | | | | | | | | Spell out the options in a definition list and document each one.
* | | | Merge branch 'cmake_provide_include_dir_for_toolkit' into releaseBrad King2017-02-138-4/+71
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| |
| * | CUDA: Detect the toolkit include directoriesRobert Maynard2017-02-108-4/+71
| | | | | | | | | | | | | | | The `nvcc -v` output provides what include directories need to be added to use the CUDA toolkit from other languages ( C/C++ ).
* | | Merge branch 'sphinx-1.4' into releaseBrad King2017-02-106-17/+25
|\ \ \ | |/ / |/| / | |/
| * Help: Fix cmake code block warnings produced by Sphinx 1.4Brad King2017-02-104-10/+10
| | | | | | | | | | | | | | Some of our "cmake" code blocks do not use fully valid CMake syntax because they have placeholders for human reference. Sphinx has never been able to properly lex and highlight these, but now warns. Fix each block's syntax or change to a non-cmake block as appropriate.
| * Utilities/Sphinx: Port qthelp css workaround to Sphinx 1.4Brad King2017-02-101-5/+9
| | | | | | | | | | | | The `default.css` static content is no longer placed in the qthelp `_static` directory. If it does not exist, skip over it and insert the content of `basic.css` directly into `cmake.css`.
| * Utilities/Sphinx: Port cmake extension to Sphinx 1.4Gregor Jasny2017-02-101-2/+6
| | | | | | | | | | | | | | | | Sphinx 1.4 introduced a breaking change to `indexnode` by changing the length of a tuple. Teach our extension to produce a tuple of the proper length for the version of Sphinx in use. This gets rid of the "4 column based index found" warning.
* | Merge branch 'FeatureSummary-doc-cleanup' into releasev3.8.0-rc1Brad King2017-02-061-8/+10
|\ \
| * | FeatureSummary: Fix documentationDaniele E. Domenichelli2017-02-061-8/+10
| |/
* | CMake 3.8.0-rc1 version updateBrad King2017-02-062-4/+4
| |
* | Help: Drop development topic notes to prepare releaseBrad King2017-02-062-9/+0
|/ | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Merge topic 'doc-3.8-relnotes'Brad King2017-02-0665-499/+422
|\ | | | | | | | | | | c2f7ef63 Help: Organize and revise 3.8 release notes 3f5e4f19 Help: Consolidate 3.8 release notes
| * Help: Organize and revise 3.8 release notesBrad King2017-02-061-266/+306
| | | | | | | | | | Add section headers similar to the 3.7 release notes and move each individual bullet into an appropriate section. Revise a few bullets.
| * Help: Consolidate 3.8 release notesBrad King2017-02-0665-499/+382
|/ | | | | | | | | | | | | | Move all development release notes into a new version-specific document: tail -q -n +3 Help/release/dev/* > Help/release/3.8.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 'vs-quote-rerun-paths'Brad King2017-02-062-6/+6
|\ | | | | | | | | f8f3cb8d VS: Fix quoting of special characters in cmake re-run check commands
| * VS: Fix quoting of special characters in cmake re-run check commandsBrad King2017-02-062-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix our calls to `AddCustomCommandToOutput` for adding cmake re-run check commands to disable old-style quoting in favor of the full quoting logic. This is necessary when paths contain special characters like `&` that old-style quoting logic does not handle. This also requires us to expand the `$(SolutionPath)` placeholder explicitly because otherwise its expanded value will no longer be quoted correctly. As a side effect, this fixes the value in VS 10 and above where the placeholder may be undefined when driving the build through MSBuild without the `.sln` file. Reported-by: Steven Cook <sc@harshbutfair.org> Fixes: #16585
* | Merge topic 'productbuild_signing'Brad King2017-02-063-0/+50
|\ \ | | | | | | | | | | | | 48aad9cd CPackProductBuild: Add options to sign packages
| * | CPackProductBuild: Add options to sign packagesRoman Wüger2017-02-043-0/+50
| |/
* | Merge topic 'androidtestutilities_cleanup'Brad King2017-02-065-6/+34
|\ \ | | | | | | | | | | | | | | | 8a5cb84b AndroidTestUtilities: do not require ExternalData unconditionally 9d34e51c AndroidTestUtilities: ignore exit status of ls
| * | AndroidTestUtilities: do not require ExternalData unconditionallyZack Galbreath2017-02-044-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempting to use AndroidTestUtilities to simply install some local files on device can result in the following error: Neither ExternalData_URL_TEMPLATES nor ExternalData_OBJECT_STORES is set We no longer require these ExternalData-specific variables to be set if no such remote data files are requested. Fixes: #16529
| * | AndroidTestUtilities: ignore exit status of lsZack Galbreath2017-02-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adb used to suffer from a bug where `adb shell` would return 0 irrespective the exit status of the underlying process that it executed. This is now fixed for newer versions of Android (N+). As a result, attempting to `adb shell ls` a nonexistent file can now result in a non-zero exit status. Updating check_device_file_exists to ignore the exit status of `adb shell` fixes this bug for newer Android devices.
* | | Merge topic 'FindHDF5-fix-HDF5_ROOT'Brad King2017-02-061-83/+102
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf0d8f1f FindHDF5: Restore HDF5_INCLUDE_DIR in all code paths 5564c017 FindHDF5: Restore fallback to static libraries 4908969f FindHDF5: Fix search with HDF5_ROOT 77f6d22a FindHDF5: Use keywords in find_library calls 3d5ad723 FindHDF5: Initialize/finalize internal search options variable ae89967f FindHDF5: Fix command-line parsing argument extraction order
| * | | FindHDF5: Restore HDF5_INCLUDE_DIR in all code pathsBrad King2017-02-031-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This compatibility variable should be set no matter which method was used to find HDF5. Even if `HDF5_INCLUDE_DIRS` was set by copying the `HDF5_INCLUDE_DIR` value from `hdf5-config.cmake` it will not hurt to copy the same value back. Issue: #16566
| * | | FindHDF5: Restore fallback to static librariesBrad King2017-02-031-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.6.1~6^2~2 (FindHDF5: Fix h5cc arg parsing to work with homebrew on Mac, 2016-07-11) we treated `HDF5_USE_STATIC_LIBRARIES` OFF as a requirement for shared libraries. It is just supposed to be a preference. Even if `HDF5_USE_STATIC_LIBRARIES` is not set we should still fall back to finding static libraries if shared libraries are not available. Issue: #16566
| * | | FindHDF5: Fix search with HDF5_ROOTBrad King2017-02-031-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching to correctly find HL for all bindings, 2016-05-12) turned off a large amount of its logic when HDF5_ROOT is set. This caused use of the hdf5 compiler wrapper to extract all needed libraries (e.g. z, dl as dependencies of hdf5 static libraries) to be skipped when using HDF5_ROOT. Fix the search logic to honor HDF5_ROOT in all code paths. Restrict the search for hdf5-specific components to this root, but allow external libraries to be found anywhere. Fixes: #16566
| * | | FindHDF5: Use keywords in find_library callsBrad King2017-02-031-2/+8
| | | | | | | | | | | | | | | | Clarify the purpose of each argument.
| * | | FindHDF5: Initialize/finalize internal search options variableBrad King2017-02-031-7/+11
| | | | | | | | | | | | | | | | While at it, use a more private name.
| * | | FindHDF5: Fix command-line parsing argument extraction orderBrad King2017-02-031-55/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-implement our internal `_HDF5_parse_compile_line` helper to process command line arguments all at once and in order. Otherwise the libraries named by absolute path and those named by `-l` arguments are not kept in order. The new implementation will not handle separate arguments like `-I /path/to/include/dir` but I have not seen the HDF5 compiler wrappers produce this form. If necessary the parsing loop can be extended with a state variable to keep track of such pairs.
* | | | Merge topic 'findmpi-flags-fix'Brad King2017-02-061-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | a2a73935 FindMPI: Remove leading spaces from flags 93f29be2 FindMPI: Reset MPI_INCLUDE_PATH_WORK before use
| * | | | FindMPI: Remove leading spaces from flagsChristian Pfeiffer2017-02-021-0/+2
| | | | |
| * | | | FindMPI: Reset MPI_INCLUDE_PATH_WORK before useChristian Pfeiffer2017-02-011-0/+2
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2017-02-061-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2017-02-051-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2017-02-041-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'gcc-features'Brad King2017-02-036-23/+39
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 37ed860a GNU C++: record that -fvisibility-inlines-hidden is available since 4.0 94a8ee6f GNU C: record that C99 is available since at least 3.4 940bf6a4 Tests/Module/WCDH: only use -Werror=undef compiler flag if actually supported f26ca5a1 Tests/Module/WCDH: write multi_file_compiler_detection.h before using it
| * | | GNU C++: record that -fvisibility-inlines-hidden is available since 4.0Rolf Eike Beer2017-02-021-1/+1
| | | | | | | | | | | | | | | | See https://gcc.gnu.org/onlinedocs/gcc-4.0.0/gcc/Option-Summary.html
| * | | GNU C: record that C99 is available since at least 3.4Rolf Eike Beer2017-02-024-10/+22
| | | |