https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
a94c1c6 Update FindJsonCpp.cmake JsonCpp can generate a CMake config file during its build. This change adapts the find module to check for that config file first. 19 February 2015, 17:52:16 UTC
d5ad641 Merge branch 'release' 19 February 2015, 14:35:06 UTC
2f0b9c6 Merge topic 'CMakeParseImplicitLinkInfo-CMP0054' d1cf09e3 CMakeParseImplicitLinkInfo: Avoid if() auto-deref in quoted arg 19 February 2015, 14:32:33 UTC
05c54c5 Merge topic 'mingw-no-find_library-dll' a0f17fbe Windows-GNU: Do not tell find_library to treat '.dll' as linkable 19 February 2015, 14:32:31 UTC
6f9c4d1 Merge topic 'compiler-version-Fortran' 4cf3589e Help: Add notes for topic 'compiler-version-Fortran' f611406f Fortran: Test that CMAKE_Fortran_COMPILER_VERSION is set (#15372) c6e1f464 Fortran: Detect G95 compiler version 0033faac Fortran: Detect PGI compiler version 302d47b1 Fortran: Detect XL and VisualAge compiler versions 8c8b77a5 Fortran: Detect GNU compiler version 49562a77 Fortran: Detect PathScale compiler version aa77b631 Fortran: Detect SunPro compiler version 2e09c423 Fortran: Detect Intel compiler version e6ebc814 Fortran: Add infrastructure to detect compiler version (#15372) 19 February 2015, 14:32:29 UTC
4982109 Merge topic 'binary-release-no-OpenSSL-on-Win-or-OSX' 7e6608fe Utilities/Release: Build OS X and Win binaries without OpenSSL 19 February 2015, 14:32:27 UTC
d7bc3ff Merge topic 'FindJNI-awt-arch' bce4e20f FindJNI: Add arch-specific library dir for JDK 9 layout (#15408) 19 February 2015, 14:32:25 UTC
4cf3589 Help: Add notes for topic 'compiler-version-Fortran' 19 February 2015, 14:26:29 UTC
f611406 Fortran: Test that CMAKE_Fortran_COMPILER_VERSION is set (#15372) Update the CMakeOnly.CompilerIdFortran test to require that the variable is set instead of just warning. We already require it for C and CXX. 19 February 2015, 14:26:28 UTC
c6e1f46 Fortran: Detect G95 compiler version The __G95__ and __G95_MINOR__ preprocessor symbols encode the compiler version as decimal digits. 19 February 2015, 14:26:28 UTC
0033faa Fortran: Detect PGI compiler version Port logic from the "Compiler/PGI-DetermineCompiler" module into "CMakeFortranCompilerId.F.in". 19 February 2015, 14:26:28 UTC
302d47b Fortran: Detect XL and VisualAge compiler versions Port logic from the "Compiler/XL-*-DetermineCompiler" and "Compiler/VisualAge-*-DetermineCompiler" modules into "CMakeFortranCompilerId.F.in". 19 February 2015, 14:26:28 UTC
8c8b77a Fortran: Detect GNU compiler version Port logic from the "Compiler/GNU-DetermineCompiler" module into "CMakeFortranCompilerId.F.in". 19 February 2015, 14:26:28 UTC
49562a7 Fortran: Detect PathScale compiler version Port logic from the "Compiler/PathScale-DetermineCompiler" module into "CMakeFortranCompilerId.F.in". 19 February 2015, 14:26:27 UTC
aa77b63 Fortran: Detect SunPro compiler version Port logic from "Compiler/SunPro-*DetermineCompiler" modules into "CMakeFortranCompilerId.F.in". 19 February 2015, 14:26:27 UTC
2e09c42 Fortran: Detect Intel compiler version Port logic from the "Compiler/Intel-DetermineCompiler" module into "CMakeFortranCompilerId.F.in". 19 February 2015, 14:26:27 UTC
e6ebc81 Fortran: Add infrastructure to detect compiler version (#15372) Fortran does not offer syntax to compose a string literal at preprocessing time from numeric compuations. Instead encode each digit of each component as a separate INFO string and compose them in CMake code after extraction. Support MAJOR, MINOR, PATCH, and TWEAK components with up to 8 digits each. 19 February 2015, 14:26:27 UTC
f7fc99c CMake Nightly Date Stamp 19 February 2015, 05:01:10 UTC
93a38a2 Merge topic 'minor-cleanups' 6652afe6 CTest: Use clear instead of erase-all. 75661fdf cmListCommand: Move size variable out of loop. 10e53e23 cmAlgorithms: Add missing const to functors. 74906322 cmAlgorithms: Remove sort of already-sorted container. 2acd04c9 cmcmd: Remove some comment copy-pasta. 2d833232 cmCoreTryCompile: Remove variable assignment. 26602cf5 cmLocalGenerator: Move variable population inside of condition. cfb84834 Update comment to match recent dashboard testing. 6010f936 Revert "cmGlobalGenerator: Fix value type pushed into autogens vector" 0550b9e3 Revert "Attempt to fix the compile of cmake on Sun CC." 1ee4721f Help: Fix formatting of command parameter. 62429a1e cmGlobalGenerator: Remove unneeded pointer check. c697c1fa cmTarget: Remove template argument workaround. 18 February 2015, 17:49:29 UTC
d1cf09e CMakeParseImplicitLinkInfo: Avoid if() auto-deref in quoted arg When matching implicit library names, use a sentinel "x" to avoid ever expanding the library name as a variable. This was detected by a CMP0054 warning. 18 February 2015, 17:32:47 UTC
a0f17fb Windows-GNU: Do not tell find_library to treat '.dll' as linkable Modern software distributions always use a separate ".dll.a" or ".lib" import library for linking. 18 February 2015, 14:40:25 UTC
05e4fc6 Merge branch 'binary-release-no-OpenSSL-on-Win-or-OSX' into release 18 February 2015, 14:30:29 UTC
7e6608f Utilities/Release: Build OS X and Win binaries without OpenSSL This will tell our curl to use the OS-native TLS/SSL APIs. 18 February 2015, 14:29:50 UTC
8371cd7 Merge branch 'FindJNI-awt-arch' into release 18 February 2015, 14:20:24 UTC
bce4e20 FindJNI: Add arch-specific library dir for JDK 9 layout (#15408) JDK9's directory structure changes and no jdk/jre exists. The arch lib path is now jdk/lib/<arch> (instead of jdk/jre/lib/<arch>). 18 February 2015, 14:19:17 UTC
4fb9e84 CMake Nightly Date Stamp 18 February 2015, 05:01:09 UTC
6652afe CTest: Use clear instead of erase-all. 17 February 2015, 19:18:59 UTC
75661fd cmListCommand: Move size variable out of loop. Re-use it where possible in two instances. 17 February 2015, 19:18:58 UTC
10e53e2 cmAlgorithms: Add missing const to functors. 17 February 2015, 19:18:57 UTC
7490632 cmAlgorithms: Remove sort of already-sorted container. The indices is populated by an increasing number. 17 February 2015, 19:18:57 UTC
2acd04c cmcmd: Remove some comment copy-pasta. 17 February 2015, 19:18:56 UTC
2d83323 cmCoreTryCompile: Remove variable assignment. The variable is not a reference, and we return in the same scope after assigning, so it has no effect. 17 February 2015, 18:23:27 UTC
26602cf cmLocalGenerator: Move variable population inside of condition. It is only used in the condition, so no need to look for uses elsewhere when reading the code. 17 February 2015, 18:21:36 UTC
cfb8483 Update comment to match recent dashboard testing. 17 February 2015, 18:20:23 UTC
6010f93 Revert "cmGlobalGenerator: Fix value type pushed into autogens vector" This reverts commit ae6fc555a7e8929f6d96545bd1137c8bd378566d. Use the more-natural make_pair algorithm. The compiler motivating the need for this is not supported as a host anymore. 17 February 2015, 18:19:06 UTC
0550b9e Revert "Attempt to fix the compile of cmake on Sun CC." This reverts commit a573a856581118d7a9d8dd7be1f613ba7b1ddb04. The workaround is not needed on supported SolarisStudio compilers. 17 February 2015, 18:18:12 UTC
1ee4721 Help: Fix formatting of command parameter. 17 February 2015, 18:18:11 UTC
62429a1 cmGlobalGenerator: Remove unneeded pointer check. Deleting nullptr is ok. 17 February 2015, 18:18:11 UTC
c697c1f cmTarget: Remove template argument workaround. Pre-C++98 compilers required that the template argument be used in the function parameters. Those compilers are no longer supported as hosts, so drop the workaround. 17 February 2015, 18:18:11 UTC
5c635fa Merge topic 'vs7-OutputDirectory' fa8b30eb VS: Fix .vcproj and .vfproj file OutputDirectory generation aa2ba121 VS: Use $(ConfigurationName) as CMAKE_CFG_INTDIR in VS 7, 8, 9 17 February 2015, 15:09:13 UTC
034f8e0 CMake Nightly Date Stamp 17 February 2015, 05:01:08 UTC
fa8b30e VS: Fix .vcproj and .vfproj file OutputDirectory generation Teach cmLocalVisualStudio7Generator to set 'OutputDirectory' using the same method as is used to set the 'OutputFile' in the generated project file. Also, OutputDirectory only needs to be set for targets that run the linker or librarian. These two changes make the VS 7 OutputDirectory consistent with what cmVisualStudio10TargetGenerator generates for OutDir. Without this, since the VS Intel Fortran plugin for VS >= 10 still uses the VS 7 .vfproj file format, when executing test VSGNUFortran using Intel Fortran Compiler 15.xx, the following warning is issued just before compilation: TargetPath(...) does not match the Linker's OutputFile property value (...). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). Subsequently, an error is reported during linking. Inspired-by: Vincent Newsum <vynewsum@gmail.com> 16 February 2015, 16:48:16 UTC
aa2ba12 VS: Use $(ConfigurationName) as CMAKE_CFG_INTDIR in VS 7, 8, 9 This will allow us to use a value other than just the config name for the project OutputDirectory setting used for $(OutDir). Also use $(ConfigurationName) instead of $(OutDir) for the link directory configuration suffix since that is a hard-coded instance of a use case for CMAKE_CFG_INTDIR. 16 February 2015, 16:48:04 UTC
ec1ec47 Merge topic 'cmListCommand-algorithms' 116459d3 cmListCommand: Avoid needlessly erasing from vectors. 1c7c35c3 cmListCommand: Replace remove duplicates loop with algorithm. cebeed24 cmAlgorithms: Add cmRemoveDuplicates algorithm. 3cfe7a4c cmListCommand: Implement REMOVE_ITEM in terms of cmRemoveMatching. 050958a3 cmAlgorithms: Add cmRemoveMatching algorithm. a77af8f1 cmListCommand: Replace joining loop with cmJoin algorithm. 6a22e401 cmListCommand: Use cmRemoveIndices for REMOVE_AT subcommand. 0b5cf0da cmAlgorithms: Implement algorithm for removing indexes. 069f2440 cmListCommand: Convert loop to find algorithm. 67a26764 cmListCommand: Implement REVERSE subcommand with std::reverse. 1cecd3a5 cmListCommand: Use std::find algorithm for FIND subcommand. 16 February 2015, 14:44:44 UTC
7632dae Merge topic 'test-rpmbuild-cleanup' d891d474 Tests: Consolidate detection of 'rpmbuild' 16 February 2015, 14:44:42 UTC
7747e1a Merge topic 'wix-product-fragment' a2ccbffd CPackWIX: Extend the patching mechanism to allow adding content to <Product>. 16 February 2015, 14:44:40 UTC
f724ab5 CMake Nightly Date Stamp 16 February 2015, 05:01:09 UTC
116459d cmListCommand: Avoid needlessly erasing from vectors. The entire vector will be destroyed at once at the end of the scope, and the remove algorithms already give us the end of the range of interesting values, so just use those sentinals. 15 February 2015, 19:47:51 UTC
1c7c35c cmListCommand: Replace remove duplicates loop with algorithm. 15 February 2015, 19:47:51 UTC
cebeed2 cmAlgorithms: Add cmRemoveDuplicates algorithm. Start by creating a vector to hold a unique values of the input range. We expect that in most cases, there will be relatively few duplicates, so reserving enough memory for a complete copy is worthwhile. Unlike a solution involving a std::set, this algorithm allocates all the memory it needs in one go and in one place, so it is more cache friendly. Populate the unique copy with a lower_bound insert algorithm and record the indices of duplicates. This is the same complexity as the std::set insert algorithm, but without the need to allocate memory on the heap and other disadvantages of std::set. Remove the duplicates with the cmRemoveIndices algorithm. 15 February 2015, 19:46:25 UTC
3cfe7a4 cmListCommand: Implement REMOVE_ITEM in terms of cmRemoveMatching. 15 February 2015, 18:56:09 UTC
050958a cmAlgorithms: Add cmRemoveMatching algorithm. Implement it in terms of std::remove_if with a binary search through a matching range. 15 February 2015, 18:56:08 UTC
a77af8f cmListCommand: Replace joining loop with cmJoin algorithm. 15 February 2015, 18:56:07 UTC
6a22e40 cmListCommand: Use cmRemoveIndices for REMOVE_AT subcommand. Avoid repeatedly looping over the indices to process elements (even without breaking out of the loop when the element is found). 15 February 2015, 18:55:28 UTC
0b5cf0d cmAlgorithms: Implement algorithm for removing indexes. Implement ContainerAlgorithms::RemoveN to remove N elements to the end of a container by rotating. The rotate is implemented in terms of the efficient swap algorithm, optimized even more in the standard library implementation when the compiler supports the rvalue-references feature to move elements. Implement cmRemoveN with a Range API for completeness. std::rotate in C++11 is specified to return an iterator, but c++98 specifies it to return void. libstdc++ 5.0 will be the first version to have the correct return type. Implement ContainerAlgorithms::Rotate in terms of std::rotate and return the correct iterator from it. While std::rotate requires forward iterators, this workaround means cmRotate requires bidirectional iterators. As most of CMake uses random access iterators anyway, this should not be a problem. Implement cmRemoveIndices in terms of the RemoveN algorithm, such that each element which is not removed is rotated only once. This can not use the cmRemoveN range-API algorithm because that would require creating a new range, but the range must be taken by reference and so it can't be a temporary. These remove algorithms are not part of the STL and I couldn't find them anywhere else either. 15 February 2015, 18:04:31 UTC
069f244 cmListCommand: Convert loop to find algorithm. 15 February 2015, 18:04:30 UTC
67a2676 cmListCommand: Implement REVERSE subcommand with std::reverse. 15 February 2015, 17:57:23 UTC
1cecd3a cmListCommand: Use std::find algorithm for FIND subcommand. Use a ostringstream to account for the input being a variable of type size_t as a result of using std::distance. There is no single format string which portably accepts a size_t. 15 February 2015, 13:28:50 UTC
fd8112e CMake Nightly Date Stamp 15 February 2015, 05:01:08 UTC
feb7625 CMake Nightly Date Stamp 14 February 2015, 05:01:14 UTC
be3d4b6 Merge branch 'release' 13 February 2015, 20:04:45 UTC
8206e8b Merge topic 'doc-3.2-relnotes-fixup' 6d19ef9b Help: In 3.2 relnotes move OpenGL/X11 to deprecated/removed section 13 February 2015, 20:04:06 UTC
9457bf9 Merge branch 'doc-3.2-relnotes-fixup' into release 13 February 2015, 18:49:50 UTC
6d19ef9 Help: In 3.2 relnotes move OpenGL/X11 to deprecated/removed section It is a possibly incompatible change. 13 February 2015, 18:45:15 UTC
d891d47 Tests: Consolidate detection of 'rpmbuild' Several tests use slight variations of the same logic to enable CPack RPM tests. Consolidate this logic into one check before any tests are added. Look for 'rpmbuild' only on Linux and only when the test build tree does not have spaces in the path. In particular, this will make the result available in time for the RunCMake.CPackRPM test to be activated even if CMake is configured exactly once. 13 February 2015, 16:50:38 UTC
0304e54 Merge topic 'doc-configure_file-output-location' 029d38fa Help: Revise configure_file documentation (#15403) 13 February 2015, 16:03:03 UTC
d661618 Merge topic 'clean-up-cmFunctionCommand' 78757e7f cmFunctionCommand: Replace loops with cmJoin. fc1cf265 cmFunctionCommand: Remove counting variable. e5ebeae7 cmFunctionCommand: Split loop in two. 13 February 2015, 16:03:00 UTC
cc90fd5 Merge topic 'xcode-attribute-genex' bf8f9c29 Xcode: Teach XCODE_ATTRIBUTE target properties about generator expressions 13 February 2015, 16:02:58 UTC
a2ccbff CPackWIX: Extend the patching mechanism to allow adding content to <Product>. 13 February 2015, 11:09:40 UTC
8d38ff0 CMake Nightly Date Stamp 13 February 2015, 05:01:16 UTC
481ec77 Merge branch 'doc-configure_file-output-location' into release 12 February 2015, 21:22:15 UTC
029d38f Help: Revise configure_file documentation (#15403) Format the documentation with better reST markup. Revise the wording to clarify how relative paths are handled. Also add an example section. 12 February 2015, 21:20:32 UTC
78757e7 cmFunctionCommand: Replace loops with cmJoin. 12 February 2015, 19:25:21 UTC
fc1cf26 cmFunctionCommand: Remove counting variable. Start iteration at correct starting point directly. 12 February 2015, 19:25:21 UTC
e5ebeae cmFunctionCommand: Split loop in two. 12 February 2015, 19:25:20 UTC
bf8f9c2 Xcode: Teach XCODE_ATTRIBUTE target properties about generator expressions Signed-off-by: Gregor Jasny <gjasny@googlemail.com> 12 February 2015, 18:35:31 UTC
0ec1f45 Merge branch 'release' 12 February 2015, 17:53:35 UTC
8e05ba2 Merge branch 'release-3.1' 12 February 2015, 17:45:22 UTC
32821bb Merge topic 'clean-up-cmMacroCommand' b5f98e50 cmMacroCommand: Manipulate target string directly. 83414d5a cmMacroCommand: Move computation of ARGV%n names out of double loop. 9a1f8f35 cmMacroCommand: Move ARGV replacement out of condition. 4aa7bd2a cmMacroCommand: Remove condition around ARGN replacement. 6774c92b cmMacroCommand: Declare tmps in the scope that it's used. 2c4a7298 cmMacroCommand: Declare arg in the scope that it is used. a551851a cmMacroCommand: Inline variable computation. f79c0f76 cmMacroCommand: Compute variables outside of two loops. 8e0827b6 cmMacroCommand: Remove intermediate arg variables. f2c49f59 cmMacroCommand: Remove condition around ARGN computation. 3250a7e5 cmMacroCommand: Remove conditional append of semicolon. 081a13f7 cmMacroCommand: Declare arg variables where used and initialized. 17b5ebd3 cmMacroCommand: Join the args strings outside of the loops. 12 February 2015, 16:53:11 UTC
e6ae3c6 Merge topic 'use-cmRange' 7c3f6376 Convert loop into two algorithms. 8a399c8c Convert loop to the common pattern. abfca975 Move loop inside of condition. 0b61b86d Handle last element outside of the loop. e21f7829 cmTarget: Use a sorted vector in place of a set. 559dc155 cmSet: Replace loop with cmJoin. 0ea71932 cmFindBase: Replace loop with cmJoin on range. 9380e85f Convert loops to cmJoin algorithm with cmRange. bb10012f cmStringCommand: Accumulate with cmJoin and range adaptors. 0c12f1ea cmAlgorithms: Add a range adaptor and API for adjusting a range. 27c6f017 Use cmJoin to accumulate string ranges. 4e78ebbd cmAlgorithms: Add a Range container and adaptor method. 89102249 Replace common loop pattern with cmJoin 7b8725bf Convert loops populating maybe-empty content into the common pattern. 7ee56f03 Convert loops into the commonly used pattern. 0a4e5674 cmMacroCommand: Remove counting variable. ... 12 February 2015, 16:53:04 UTC
fc7e156 Merge topic 'install-DESTINATION-genex' f30022eb install: Allow generator expressions in TARGETS DESTINATION (#14317) 7607c3d1 cmInstallGenerator: Pass destination explicitly to AddInstallRule ebd556ca cmInstallGenerator: Fix check for absolute install destinations 290ca8e2 cmInstallGenerator: Refactor computation of absolute install dest f99991db cmInstallGenerator: Move GetDestination to subclasses that need it 12 February 2015, 16:53:02 UTC
8c59928 Merge topic 'FindCoin3D-drop-link' e2a8984c FindCoin3D: Drop link to project homepage 12 February 2015, 16:53:00 UTC
a4a6b55 Merge topic 'cpack_rpm_mulit_prefix_fixup' be36bfd6 CPackRPM: Do not run file(GLOB_RECURSE) without CMP0009 set to NEW 12 February 2015, 16:52:58 UTC
09cdcc5 CMake Nightly Date Stamp 12 February 2015, 05:01:15 UTC
b5f98e5 cmMacroCommand: Manipulate target string directly. Avoid copying a string from the source, manipulating it, and then copying it back. Manipulate it in place instead. 11 February 2015, 21:58:34 UTC
83414d5 cmMacroCommand: Move computation of ARGV%n names out of double loop. 11 February 2015, 21:58:34 UTC
9a1f8f3 cmMacroCommand: Move ARGV replacement out of condition. 11 February 2015, 21:58:34 UTC
4aa7bd2 cmMacroCommand: Remove condition around ARGN replacement. There is none for ARGC replacement, so no reason to conditionalize the replacement. The computation is already done. 11 February 2015, 21:58:34 UTC
6774c92 cmMacroCommand: Declare tmps in the scope that it's used. We don't particularly need to reuse the string memory here, and this pattern is not common in CMake. 11 February 2015, 21:58:34 UTC
2c4a729 cmMacroCommand: Declare arg in the scope that it is used. It can make sense to declare objects outside of loops if the size required by the object can grow (eg std::string when using getline), but that is not the case here. 11 February 2015, 21:58:34 UTC
a551851 cmMacroCommand: Inline variable computation. 11 February 2015, 21:58:33 UTC
f79c0f7 cmMacroCommand: Compute variables outside of two loops. Avoid computing them from scratch for each argument of each function. 11 February 2015, 21:58:33 UTC
8e0827b cmMacroCommand: Remove intermediate arg variables. 11 February 2015, 21:58:33 UTC
f2c49f5 cmMacroCommand: Remove condition around ARGN computation. An empty string is appended if the condition is false, which is ok for this commit. 11 February 2015, 21:58:33 UTC
3250a7e cmMacroCommand: Remove conditional append of semicolon. The conditions are never true. 11 February 2015, 21:58:33 UTC
081a13f cmMacroCommand: Declare arg variables where used and initialized. Make the initialization by population with the expanded* content unconditional. 11 February 2015, 21:58:33 UTC
17b5ebd cmMacroCommand: Join the args strings outside of the loops. This means that we compute the strings even if not used in the macro but this shouldn't be expensive and it simplifies the code. 11 February 2015, 21:58:31 UTC
7c3f637 Convert loop into two algorithms. 11 February 2015, 21:58:09 UTC
8a399c8 Convert loop to the common pattern. 11 February 2015, 21:58:09 UTC
abfca97 Move loop inside of condition. The loop is only executed if the condition is true. 11 February 2015, 21:58:09 UTC
back to top