https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
acd8a73 Merge topic 'liblzma-signed-shift' 8479dc46 liblzma: Avoid possible overflow on signed left shift 26 May 2016, 13:52:53 UTC
36d9a01 Merge topic 'try_compile-custom-variables' d256ba07 try_compile: Optionally forward custom platform variables to test project fb4791b3 cmCoreTryCompile: Refactor forwarding of variables to test project 26 May 2016, 13:52:12 UTC
67cc866 Merge topic 'fix-variable-watch-leak' 75e3e0d3 cmVariableWatch: Fix potential memory leak 26 May 2016, 13:52:09 UTC
579185b Merge topic 'cpack-dmg-no-app-link' 3acc29fc CPack/DragNDrop: Optionally disable `/Applications` symlink 26 May 2016, 13:52:07 UTC
903bcbc Merge topic 'FindCUDA-cublas_device' 81e73b72 FindCUDA: Add support for finding the cublas_device library 26 May 2016, 13:52:04 UTC
2a028b7 Merge topic 'style-cmSystemTools' 8e801eb5 cmSystemTools: Fix indentation typo 26 May 2016, 13:52:02 UTC
7bfcfd5 Merge topic 'FindMatlab-2016a' 715e4cf5 FindMatlab: Add support for Matlab 2016a (9.0) 26 May 2016, 13:51:58 UTC
b86bcd4 Merge topic 'GetPrerequisites-more-paths' c9cebed5 GetPrerequisites: Look for VS tools using registry entries (#16108) 26 May 2016, 13:51:56 UTC
0746a4c CMake Nightly Date Stamp 26 May 2016, 04:03:52 UTC
8479dc4 liblzma: Avoid possible overflow on signed left shift Use an unsigned value to produce the needed mask. 25 May 2016, 14:02:02 UTC
75e3e0d cmVariableWatch: Fix potential memory leak Teach cmVariableWatch::AddWatch to own the Pair it allocates until it needs to pass ownership to WatchMap. 25 May 2016, 13:58:36 UTC
3acc29f CPack/DragNDrop: Optionally disable `/Applications` symlink 25 May 2016, 13:51:04 UTC
81e73b7 FindCUDA: Add support for finding the cublas_device library 25 May 2016, 13:42:25 UTC
d256ba0 try_compile: Optionally forward custom platform variables to test project Add a `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify a list of custom variables to be forwarded to a `try_compile` test project. This will be useful for platform information modules or toolchain files to forward some platform-specific set of variables from the host project (perhaps set in its cache) to the test project so that it can build the same way. 25 May 2016, 13:36:19 UTC
fb4791b cmCoreTryCompile: Refactor forwarding of variables to test project De-duplicate the logic that constructs the cmake `-D` flag used to pass variables into the test project cache. Also subsume variables that were propagated by generating `set()` commands in the project and pass them as cache entries instead. 25 May 2016, 13:36:19 UTC
6052e4b Merge topic 'improve-character-find-and-replace' 5784747d Improve string find: prefer character overloads. 5cec953e Use std::replace for replacing chars in strings. 2a1a2033 cmExtraEclipseCDT4Generator: use std::replace. 34bc6e1f cmCTestScriptHandler: don't call find repeatedly. 25 May 2016, 13:34:29 UTC
9ebc209 Merge topic 'FindCUDA-flags-genex' 6b190b5c FindCUDA: Add support for generator expressions in CUDA_NVCC_FLAGS 25 May 2016, 13:34:26 UTC
916d525 Merge topic 'standard-include-directories' c1340827 Add a variable to specify language-wide system include directories 44199097 cmMakefile: Optimize AddSystemIncludeDirectories for empty set a896043b GHS: Compute include directories consistently with other generators 25 May 2016, 13:34:24 UTC
8cd007f Merge topic 'doc-standard-libs' 7807b3a9 Help: Document CMAKE_<LANG>_STANDARD_LIBRARIES variable 25 May 2016, 13:34:21 UTC
2bc55b6 Merge topic 'output-converter-enums' 25d1ef64 Use enums defined in cmOutputConverter using their fully qualified name. 25 May 2016, 13:34:19 UTC
6b190b5 FindCUDA: Add support for generator expressions in CUDA_NVCC_FLAGS Follow the configure_file by a file(GENERATE) so the resulting cmake scripts used by FindCUDA for wrapping nvcc calls can now support generator expressions in the CUDA_NVCC_FLAGS variable. 25 May 2016, 13:31:35 UTC
c134082 Add a variable to specify language-wide system include directories Create a `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` variable to specify system include directories for for `<LANG>` compiler command lines. This plays a role for include directories as the existing `CMAKE_<LANG>_STANDARD_LIBRARIES` variable does for link libraries. 25 May 2016, 13:30:31 UTC
8e801eb cmSystemTools: Fix indentation typo 25 May 2016, 13:27:54 UTC
25d1ef6 Use enums defined in cmOutputConverter using their fully qualified name. Mostly automated: values=("RelativeRoot" "NONE" "FULL" "HOME" "START" "HOME_OUTPUT" "START_OUTPUT" "OutputFormat" "UNCHANGED" "MAKERULE" "SHELL" "WATCOMQUOTE" "RESPONSE" "FortranFormat" "FortranFormatNone" "FortranFormatFixed" "FortranFormatFree") for i in "${values[@]}"; do git grep -l cmLocalGenerator::$i | xargs sed -i "s|cmLocalGenerator::$i|cmOutputConverter::$i|g"; done 25 May 2016, 13:20:09 UTC
715e4cf FindMatlab: Add support for Matlab 2016a (9.0) 25 May 2016, 13:08:32 UTC
c9cebed GetPrerequisites: Look for VS tools using registry entries (#16108) 25 May 2016, 13:00:33 UTC
d5ccab3 CMake Nightly Date Stamp 25 May 2016, 04:01:07 UTC
5784747 Improve string find: prefer character overloads. Apply fix-its from clang-tidy's performance-faster-string-find checker. Ignore findings in kwsys. 24 May 2016, 21:22:24 UTC
5cec953 Use std::replace for replacing chars in strings. Find uses of `cmSystemTools::ReplaceString` where both `replace` and `with` are string literals with a size of one. Automate with: git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\2', '\3');|g" git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\(.\)\", \"\\\\\\\\\");|std::replace(\1.begin(), \1.end(), '\2', '\\\\\\\\');|g" git grep -l ReplaceString | xargs sed -i "s|cmSystemTools::ReplaceString(\([^,]*\), \"\\\\\\\\\", \"\(.\)\");|std::replace(\1.begin(), \1.end(), '\\\\\\\\', '\2');|g" 24 May 2016, 21:22:20 UTC
2a1a203 cmExtraEclipseCDT4Generator: use std::replace. 24 May 2016, 21:22:16 UTC
34bc6e1 cmCTestScriptHandler: don't call find repeatedly. Also, prefer the character overload. 24 May 2016, 21:22:08 UTC
a98a699 Merge topic 'cpack-deb-different-package-names' adbd3985 CPack/Deb possibility to change package name 24 May 2016, 17:54:03 UTC
384de98 Merge topic 'cpack-deb-component-depends' 4f3b9706 CPack/Deb prevent accidental component dependencies 24 May 2016, 17:54:00 UTC
185be83 Merge topic 'ExternalProject-fix-stash-all' 2bc981e6 ExternalProject: Fix git stash not using "--all" option 24 May 2016, 17:53:58 UTC
7d5355a Merge topic 'doc-CPACK_DMG_FORMAT' 239367f0 CPackDMG: Document CPACK_DMG_FORMAT default 24 May 2016, 17:53:55 UTC
f77a49f Merge topic 'cpackifw-updates' 06ca7795 CPackIFW: Command cpack_ifw_configure_component learned ESSENTIAL option 222fa595 CPackIFW: Doc decoration 24 May 2016, 17:53:53 UTC
4419909 cmMakefile: Optimize AddSystemIncludeDirectories for empty set Do not bother looping over all targets if we have no system include directories to add anyway. 24 May 2016, 15:40:35 UTC
a896043 GHS: Compute include directories consistently with other generators All generators use cmLocalGenerator::GetIncludeDirectories to construct the final list of include directories for a target. 24 May 2016, 15:40:35 UTC
7807b3a Help: Document CMAKE_<LANG>_STANDARD_LIBRARIES variable Also drop documentation of non-existent CMAKE_STANDARD_LIBRARIES variable. 24 May 2016, 15:40:25 UTC
ecb4ad2 CMake Nightly Date Stamp 24 May 2016, 04:01:36 UTC
4f3b970 CPack/Deb prevent accidental component dependencies Prevent accidental inter component dependency setting since this is a breaking feature in situations where another CPack module is already using the feature. It should be enabled if desired since it can cause issues when upgrading only one of the components for e.g. configuration instead of all the components at once. 23 May 2016, 18:21:32 UTC
adbd398 CPack/Deb possibility to change package name This patch preserves backward compatibility of deb package names with previous CMake versions but similarly to CPack/RPM allows to change package name format and supports DEB-DEFAULT setting that produces proper Debian package names. 23 May 2016, 17:55:46 UTC
239367f CPackDMG: Document CPACK_DMG_FORMAT default 23 May 2016, 17:27:02 UTC
06ca779 CPackIFW: Command cpack_ifw_configure_component learned ESSENTIAL option 23 May 2016, 16:09:03 UTC
222fa59 CPackIFW: Doc decoration 23 May 2016, 16:09:03 UTC
c75d91a Merge topic 'rpath-no-regex' f4d3c44c Fix support for large RPATH updates (#16105) 23 May 2016, 13:42:23 UTC
64d3613 Merge topic 'make_osx_packaging_more_robust' d3812437 Make packaging script wait for the disk image to be mounted. 23 May 2016, 13:42:20 UTC
16b42d8 Merge topic 'clang-format-script' 2f2117e7 clang-format.bash: Limit formatting to files selected by options 23 May 2016, 13:42:18 UTC
2c13f1b CMake Nightly Date Stamp 23 May 2016, 04:01:06 UTC
52eeef3 CMake Nightly Date Stamp 22 May 2016, 04:01:04 UTC
2bc981e ExternalProject: Fix git stash not using "--all" option GIT_VERSION_STRING is unset in _ep_write_gitupdate_script(), hence git stash is not being called with the "--all" option, even if Git is new enough to support this. 21 May 2016, 09:41:34 UTC
24391d9 CMake Nightly Date Stamp 21 May 2016, 04:01:07 UTC
2f2117e clang-format.bash: Limit formatting to files selected by options Now that our one-shot clang-format run is complete we rarely need to filter the entire tree anymore. Filter nothing if no options are given and just print the usage message. Offer options to specify selection of some set of files from Git as needed for various workflows. 20 May 2016, 17:57:25 UTC
94b9ead Merge topic 'FindCUDA-fp16' cc95001b FindCUDA: Detect and report FP16 support 20 May 2016, 13:15:57 UTC
e07f7e6 Merge topic 'ExternalProject-improve-retry' 89113e12 ExternalProject: Re-implement download logic as a dedicated script e7d5e4b4 ExternalProject: Re-implement download verification as a dedicated script ebcc7027 ExternalProject: Avoid repeating download verification 33218f6a ExternalProject: Remove unused verify script logic e5409d1e ExternalProject: Remove unused 'retries' argument from verify script d610407c ExternalProject: Use uppercase placeholders for script generation 20 May 2016, 13:15:55 UTC
acd039a Merge topic 'minor-cleanup' 40bee43a cmCPackDragNDropGenerator: Replace std::{ostringstream => string} 20 May 2016, 13:15:52 UTC
4dc1164 CMake Nightly Date Stamp 20 May 2016, 04:01:07 UTC
f4d3c44 Fix support for large RPATH updates (#16105) Avoid using a KWSys RegularExpression to search for RPATH substrings. It cannot handle large expressions. 19 May 2016, 15:59:25 UTC
d381243 Make packaging script wait for the disk image to be mounted. Frequently the apple script would execute before the disk image had been fully mounted, and would fail. We now try to wait for the disk to be mounted first. 19 May 2016, 15:41:48 UTC
89113e1 ExternalProject: Re-implement download logic as a dedicated script Move the content to a `ExternalProject-download.cmake.in` file and use `configure_file` to generate the final script. Retry logic was not working before because similar script trigger FATAL_ERROR if 'file(DOWNLOAD ...)' exits with nonzero 'status_code'. FATAL_ERROR makes the whole chain of commands stop and '_ep_write_verifyfile_script' retry logic was not used in fact. Default retry number set to 5 with pauses 0, 5, 5, 15, 60 seconds. Some space left for future improvements if needed (90, 300, 1200=20min). Can be controlled by user. 19 May 2016, 15:20:50 UTC
e7d5e4b ExternalProject: Re-implement download verification as a dedicated script Move the content to a `ExternalProject-verify.cmake.in` file and use `configure_file` to generate the final script. 19 May 2016, 15:20:25 UTC
ebcc702 ExternalProject: Avoid repeating download verification Verify step for downloaded files will be performed in separate script. 19 May 2016, 15:15:59 UTC
33218f6 ExternalProject: Remove unused verify script logic The logic to re-run the download script will be moved elsewhere. 19 May 2016, 15:01:12 UTC
e5409d1 ExternalProject: Remove unused 'retries' argument from verify script There is no retries for local files and retry logic is broken for downloads. Will be implemented in '*-download.cmake' script. 19 May 2016, 14:58:08 UTC
d610407 ExternalProject: Use uppercase placeholders for script generation Use uppercase variables for future 'configure_file' command. 19 May 2016, 14:54:33 UTC
cc95001 FindCUDA: Detect and report FP16 support Reviewed-by: James Bigler <jamesbigler@gmail.com> 19 May 2016, 14:52:32 UTC
e0da6c3 Merge topic 'ninja-output-path-prefix' eb076692 Tests: Select RunCMake.Ninja test cases based on ninja version 8a862a4d Ninja: Support embedding of CMake as subninja project 038e7716 Ninja: Pass all build paths through a central method 7c26a6a2 Ninja: Fix path to soname-d target file ac3cdd9a Ninja: Convert object file names to ninja paths earlier d4381cb1 Ninja: Convert link library file names like all other output paths 0397c92a Ninja: Pre-compute "CMakeCache.txt" build target name 3b3ecdfa Ninja: Pre-compute "all" build target name 5ca72750 Ninja: Simplify generation of custom target logical path 19 May 2016, 14:41:27 UTC
43a456e Merge topic 'ExternalProject-UPDATE_COMMAND-always' bdca6838 ExternalProject: Always run update step with non-empty UPDATE_COMMAND 19 May 2016, 14:41:24 UTC
5a9efbf Merge topic 'cpack-ifw-updates' 41199f8c CPackIFW: Add support for Promoting Updates 6ca6b0dd CPackIFW: Add more known QtIFW releases 19 May 2016, 14:41:21 UTC
6bf6482 CMake Nightly Date Stamp 19 May 2016, 04:01:07 UTC
bdca683 ExternalProject: Always run update step with non-empty UPDATE_COMMAND The purpose of the `update` step is to run an update on each build (subject to `UPDATE_DISCONNECTED`). This is done for version-controlled source directories. We should do it for a custom `UPDATE_COMMAND` too. In particular, when `UPDATE_DISCONNECTED` is used we expect the `skip-update` step to exist. 18 May 2016, 18:54:25 UTC
41199f8 CPackIFW: Add support for Promoting Updates Add support for this feature added by QtIFW 2.0.3: http://doc.qt.io/qtinstallerframework/ifw-updates.html Add a `cpack_ifw_update_repository` command as porcelain. 18 May 2016, 13:49:14 UTC
6ca6b0d CPackIFW: Add more known QtIFW releases 18 May 2016, 13:41:42 UTC
4f17bac Merge topic 'file-glob-sort' edcccde7 file: Sort GLOB results to make it deterministic (#14491) 18 May 2016, 13:30:59 UTC
570d689 Merge topic 'ghs-shorter-object-names' d7233a04 GHS: Use shorter object file names on collision 18 May 2016, 13:30:55 UTC
441dd9a Merge topic 'platform-required-rpath-override' 5a21557b AIX,HP: Allow user to override the default runtime path (libpath) 18 May 2016, 13:30:53 UTC
1e876b4 Merge topic 'clang-format-lexer' 030556b7 cmListFileLexer: Revise C++ coding style using clang-format e4a92dab cmListFileLexer: Update to flex 2.6 18 May 2016, 13:30:50 UTC
d7233a0 GHS: Use shorter object file names on collision 18 May 2016, 13:27:19 UTC
eb07669 Tests: Select RunCMake.Ninja test cases based on ninja version Some test cases need features not available in Ninja < 1.6, so check the version before running them. 18 May 2016, 13:24:54 UTC
529c96c CMake Nightly Date Stamp 18 May 2016, 04:01:07 UTC
40bee43 cmCPackDragNDropGenerator: Replace std::{ostringstream => string} 17 May 2016, 17:47:21 UTC
5a21557 AIX,HP: Allow user to override the default runtime path (libpath) The `CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH` is used by CMake to always append `-Wl,-blibpath:/usr/lib:/lib` to the link line. This is needed by default on these platforms but needs to be overridden in some use cases (e.g. an environment in which one maintains versioned shared libraries). Change our logic to set this value only if it not already set by the user, project, or toolchain file. 17 May 2016, 17:36:29 UTC
030556b cmListFileLexer: Revise C++ coding style using clang-format Manually extract the C++ portion of `cmListFileLexer.in.l` into a temporary file, format it, and then move it back into the original file. Manually format C++ code inside the lexer actions to match our style. Then re-generate the lexer. 17 May 2016, 17:27:23 UTC
e4a92da cmListFileLexer: Update to flex 2.6 Revise the documented modifications we need to make to the flex-generated source file according to the needs of the new version. Update our own implementation to avoid warnings with flex types. 17 May 2016, 14:56:37 UTC
edcccde file: Sort GLOB results to make it deterministic (#14491) Even though the `file(GLOB)` documentation specifically warns against using it to collect a list of source files, projects often do it anyway. Since it uses `readdir()`, the list of files will be unsorted. This list is often passed directly to add_executable / add_library. Linking binaries with an unsorted list will make it unreproducible, which means that the produced binary will differ depending on the unpredictable `readdir()` order. To solve those reproducibility issues in a lot of programs (which don't explicitly `list(SORT)` the list manually), sort the resulting list of the `file(GLOB)` command. A more detailed rationale about reproducible builds is available [here](https://reproducible-builds.org/). 17 May 2016, 14:12:11 UTC
8a862a4 Ninja: Support embedding of CMake as subninja project Add a `CMAKE_NINJA_OUTPUT_PATH_PREFIX` variable. When it is set, CMake generates a `build.ninja` file suitable for embedding into another ninja project potentially generated by an alien generator. 17 May 2016, 13:34:12 UTC
038e771 Ninja: Pass all build paths through a central method This gives us a central location to revise paths. 17 May 2016, 13:34:11 UTC
7c26a6a Ninja: Fix path to soname-d target file In WriteLinkStatement we convert all target output paths to ninja-style paths. Add a missing conversion for the `soname` file name. 17 May 2016, 13:34:10 UTC
ac3cdd9 Ninja: Convert object file names to ninja paths earlier In WriteObjectBuildStatement we pass object file names and directories to several places that expect paths as Ninja sees them. Convert them to Ninja paths before all such uses. 17 May 2016, 13:34:09 UTC
d4381cb Ninja: Convert link library file names like all other output paths All paths generated on Ninja-invoked command lines should be passed through ConvertToNinjaPath. Fix ConvertToLinkReference to call this instead of partially duplicating its implementation. 17 May 2016, 13:34:09 UTC
0397c92 Ninja: Pre-compute "CMakeCache.txt" build target name 17 May 2016, 13:34:08 UTC
3b3ecdf Ninja: Pre-compute "all" build target name 17 May 2016, 13:34:07 UTC
5ca7275 Ninja: Simplify generation of custom target logical path In `AppendTargetOutputs` we generate a logical build target name for each UTILITY command. Simplify the logic to avoid testing the result of `ConvertToNinjaPath`. 17 May 2016, 13:34:06 UTC
7d2a0aa Merge topic 'clang-format-source' d9fd2f54 Revise C++ coding style using clang-format 82df6dea Empty commit at end of history preceding clang-format style transition 6a13f43f CONTRIBUTING: Add a section on coding style bf451d9f Add a script to run clang-format on the entire source tree 1e90d78f Configure clang-format for CMake source tree da60adc3 Tell Git to use a distinct conflict marker size in `.rst` files 17 May 2016, 13:33:02 UTC
930ac45 Merge topic 'clang-format-prep' c7006d2e cmGeneratorTarget: Protect macro code layout from clang-format 17 May 2016, 13:32:59 UTC
8b0be06 CMake Nightly Date Stamp 17 May 2016, 04:01:08 UTC
d9fd2f5 Revise C++ coding style using clang-format Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. 16 May 2016, 20:05:19 UTC
82df6de Empty commit at end of history preceding clang-format style transition This is an empty commit that precedes an automatic application of clang-format to update the C++ style of our entire source tree. This may be helpful to rebase a topic branch that was originally based on a commit preceding the transition. One may first rebase the topic on this commit. Then use one of the following approaches. * Rewrite the topic, including this commit, using `git filter-branch` `--tree-filter` with `Utilities/Scripts/clang-format.bash` to update the style in every commit. Rebase the revised topic, excluding the rewrite of this commit, on the style transition commit. OR * Add a `.git/info/grafts` entry to change the parent of the first commit in the topic from this commit to the style transition commit. Rewrite the topic using `git filter-branch --tree-filter` with `Utilities/Scripts/clang-format.bash` to update the style in every commit. Then remove the graft, which was resolved by the filter. See `git help filter-branch` and `git help repository-layout` for details. 16 May 2016, 20:04:46 UTC
6a13f43 CONTRIBUTING: Add a section on coding style Document that we now define our coding style with `clang-format`. 16 May 2016, 20:04:46 UTC
bf451d9 Add a script to run clang-format on the entire source tree List all sources in version control and filter out those that we should not format for various reasons. Then run the clang-format tool to do an in-place update. 16 May 2016, 20:04:46 UTC
back to top