https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
e380ca2 addded upcoming 1.61 to FindBoost.cmake 22 January 2016, 07:50:25 UTC
f81ccc5 CMake Nightly Date Stamp 22 January 2016, 05:01:03 UTC
3e7794a Merge topic 'reduce-allocations' 70788e92 Remove temporary allocations when calling cmHasLiteral{Suf,Pre}fix. bd2384f5 Optimize cmMakefile::ExpandVariablesInStringNew. ad9394f4 Remove temporary allocations in cmMacroHelper::InvokeInitialPass. f9599ed4 Remove temporary allocations by extending the lifetime of the retval. 275f2a85 Remove temporary allocations when calling cmGeneratorTarget::GetName. 21 January 2016, 18:55:53 UTC
aaf06f2 Merge topic 'add-FindXalanC' f9e45ab9 FindXalanC: New module to find the Apache Xalan-C++ library 21 January 2016, 18:55:50 UTC
563a6c7 Merge topic 'cmake-E-time-quoting' 1787269e cmake: Fix `-E time` argument passing to child 21 January 2016, 18:55:47 UTC
071c94e Merge topic 'ExternalProject-ctest-config' ec00e89e ExternalProject: Fix TEST_BEFORE_INSTALL for multi-config generators 5d739a3c ExternalProject: Simplify `cmake --build` configuration passing 21 January 2016, 18:55:44 UTC
1846765 Merge topic 'GetPrerequisites-ms-ucrt' c8daac35 GetPrerequisites: Define api-ms-win-* files as system libraries (#15691) 21 January 2016, 18:55:41 UTC
750ae8d CMake Nightly Date Stamp 21 January 2016, 05:01:04 UTC
70788e9 Remove temporary allocations when calling cmHasLiteral{Suf,Pre}fix. When the first argument passed is a std::string, we need to take it by const&, otherwise we copy the string and trigger a temporary allocation. This patch removes a few 10k temporary allocations when running the CMake daemon on the KDevelop build dir. This hotspot was found with heaptrack. 20 January 2016, 20:20:55 UTC
bd2384f Optimize cmMakefile::ExpandVariablesInStringNew. We can remove the temporary allocations required for the default-constructed t_lookup passed into the openstack by refactoring the code slightly. Furthermore, we use a vector instead of a stack, since the latter is based on a deque which is not required for a heap / lifo structure. This patch removes ~215k allocations. This hotspot was found with heaptrack. 20 January 2016, 20:20:55 UTC
ad9394f Remove temporary allocations in cmMacroHelper::InvokeInitialPass. This code used to convert std::string's to raw C strings only to put that back into a std::string. This patch thus removes ~70k temporary allocations when running the CMake daemon on KDevelop. This hotspot was found with heaptrack. 20 January 2016, 20:20:55 UTC
f9599ed Remove temporary allocations by extending the lifetime of the retval. See also Herb Sutter's article on the "most important const": http://herbsutter.com/2008/01/01/gotw-88-a-candidate-for-the-most-important-const/ When running the CMake daemon on the KDevelop build dir, this removes some hundreds of thousands of temporary allocations. This hotspot was found with heaptrack. 20 January 2016, 20:20:55 UTC
275f2a8 Remove temporary allocations when calling cmGeneratorTarget::GetName. This happens quite often from within comparisons such as in NamedGeneratorTargetFinder or FindGeneratorTargetImpl. It is the top hotspot of both, number of allocations as well as number of temporary allocations - the majority of calls lead to temporary allocations. In raw numbers, this patch removes ~1E6 temporary allocations of 1.5E6 temporary allocations in total when running the cmake daemon on the KDevelop build dir. That is 2/3 of the total. This hotspot was found with heaptrack. 20 January 2016, 20:20:54 UTC
f9e45ab FindXalanC: New module to find the Apache Xalan-C++ library 20 January 2016, 14:33:38 UTC
1787269 cmake: Fix `-E time` argument passing to child Since this command was introduced in 2002 it has incorrectly constructed the child process command line by concatenating arguments separated by spaces with no quoting. Fix this by passing the command argument vector directly to RunSingleCommand without an intermediate quoting and re-parsing step. Reported-by: Andrey Pokrovskiy <wonder.mice@gmail.com> 20 January 2016, 13:55:23 UTC
ec00e89 ExternalProject: Fix TEST_BEFORE_INSTALL for multi-config generators In multi-config generators we must tell `ctest` what configuration to test. Reported-by: Taylor Braun-Jones <taylor@braun-jones.org> 20 January 2016, 13:36:30 UTC
5d739a3 ExternalProject: Simplify `cmake --build` configuration passing Check CMAKE_CONFIGURATION_TYPES instead of CMAKE_CFG_INTDIR in order to recognize multi-config generators. Then use $<CONFIG> to pass the configuration value. 20 January 2016, 13:36:09 UTC
d8bced8 Merge topic 'cleanup-RunSingleCommand' 1040e690 cmSystemTools: Teach RunSingleCommand to merge child pipes when possible ce3b713b cmSystemTools: Simplify RunSingleCommand output string construction dc039cc0 cmSystemTools: Drop redundant condition in RunSingleCommand ffa2a8c9 cmSystemTools: Rename OUTPUT_NORMAL to OUTPUT_FORWARD to clarify its purpose 92e9bb21 cmcmd.cxx: Remove unused code in __run_iwyu implementation fb1526f5 cmake: Change `-E chdir` to pass through stdout/stderr directly 20 January 2016, 13:33:41 UTC
ae5f30b Merge topic 'mfc-utility-targets' a15e375c Fix MFC setting on utility targets (#15867) 20 January 2016, 13:33:38 UTC
184be68 Merge topic 'cache-parse-error-line-number' 77cd74a3 Print line number of cache parse errors (#11109) 20 January 2016, 13:33:35 UTC
606ad17 Merge topic 'java-updates' 18c3714f UseJava: Fix create_javah CLASSPATH handling on Windows 20 January 2016, 13:33:32 UTC
211d097 Merge topic 'FindPkgConfig-protect-semicolons' 53511936 FindPkgConfig: Quote ${_pkgconfig_path} to protect semicolons on Windows 20 January 2016, 13:33:27 UTC
15fe480 CMake Nightly Date Stamp 20 January 2016, 05:01:12 UTC
a15e375 Fix MFC setting on utility targets (#15867) Multi-byte MFC is deprecated, and some projects will not compile if MFC is enabled. 19 January 2016, 21:04:15 UTC
1040e69 cmSystemTools: Teach RunSingleCommand to merge child pipes when possible Audit the code to make sure there are no callers that use OUTPUT_MERGE with separate capture strings. Then change RunSingleCommand to implement output merging by giving the child process a single pipe for both its stdout and stderr descriptors. This will more cleanly merge the content on atomic write boundaries in the child instead of on arbitrary buffering boundaries in the parent. 19 January 2016, 20:55:05 UTC
ce3b713 cmSystemTools: Simplify RunSingleCommand output string construction Assign to the result strings instead setting to empty and appending. The old approach was left from when we directly buffered output in the strings. 19 January 2016, 20:51:00 UTC
dc039cc cmSystemTools: Drop redundant condition in RunSingleCommand The output processing loop is already guarded by a condition so we do not need to repeat the condition inside the loop. 19 January 2016, 20:49:48 UTC
ffa2a8c cmSystemTools: Rename OUTPUT_NORMAL to OUTPUT_FORWARD to clarify its purpose The OUTPUT_NORMAL value is not really "normal" and has only one caller. Rename it to OUTPUT_FORWARD to clarify that we are explicitly forwarding the output. 19 January 2016, 20:47:48 UTC
92e9bb2 cmcmd.cxx: Remove unused code in __run_iwyu implementation Do not try to capture stderr with OUTPUT_PASSTHROUGH. RunSingleCommand will never populate it. 19 January 2016, 20:46:15 UTC
fb1526f cmake: Change `-E chdir` to pass through stdout/stderr directly Use OUTPUT_PASSTHROUGH instead of OUTPUT_NORMAL in order to avoid buffering the output just to re-print it. 19 January 2016, 20:44:30 UTC
c8daac3 GetPrerequisites: Define api-ms-win-* files as system libraries (#15691) Suggested-by: Gilles Khouzam <gillesk@microsoft.com> 19 January 2016, 20:05:31 UTC
c13ed96 Merge branch 'release' 19 January 2016, 19:41:05 UTC
6506dca CMake 3.4.2 19 January 2016, 15:47:26 UTC
e4a135d Merge branch 'release' 19 January 2016, 15:46:30 UTC
18c3714 UseJava: Fix create_javah CLASSPATH handling on Windows Preserve semicolons in the value. 19 January 2016, 15:36:11 UTC
77cd74a Print line number of cache parse errors (#11109) Track the line number while parsing `CMakeCache.txt` files and include it in a parse failure error message. 19 January 2016, 15:19:42 UTC
5351193 FindPkgConfig: Quote ${_pkgconfig_path} to protect semicolons on Windows 19 January 2016, 14:39:04 UTC
249aac7 Merge topic 'export-static-private-depend' aea1b036 Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW e5cbec14 Tests: Use CMP0022 NEW behavior in some ExportImport cases 0ca122fc Tests: Isolate policy changes in ExportImport test 19 January 2016, 14:35:46 UTC
f8f5315 Merge topic 'FindPkgConfig-fix-restore' 8979a107 FindPkgConfig: Fix restoration of PKG_CONFIG_PATH in environment 19 January 2016, 14:35:43 UTC
65146af Merge topic 'ExternalProject-git-clone-o' 83d63391 ExternalProject: Add option to set `git clone -o` argument 19 January 2016, 14:35:40 UTC
ceeea23 Merge topic 'doc-export-compile-commands' 6e92f7b2 Help: Document the CMAKE_EXPORT_COMPILE_COMMANDS variable 19 January 2016, 14:35:38 UTC
790959a Merge topic 'FindCUDA-verbatim' 6ccc3070 FindCUDA: Support special characters in path (#15919) 19 January 2016, 14:35:35 UTC
caf4985 Merge topic 'rpath-preserve-compiler-defined' 3ec92267 install: Do not remove compiler-defined RPATH entries 19 January 2016, 14:35:33 UTC
2a73530 Merge topic 'windows-program-files' 09b2f1c3 Windows: Find Program Files directories more robustly from environment 19 January 2016, 14:35:30 UTC
5079cc1 CMake Nightly Date Stamp 19 January 2016, 05:01:07 UTC
03c0303 CMake Nightly Date Stamp 18 January 2016, 05:01:06 UTC
27410a9 CMake Nightly Date Stamp 17 January 2016, 05:01:07 UTC
66942a7 CMake Nightly Date Stamp 16 January 2016, 05:01:07 UTC
8979a10 FindPkgConfig: Fix restoration of PKG_CONFIG_PATH in environment The original value is saved in `_pkg_config_path_old`. Fix this typo left by commit v3.1.0-rc1~763^2 (FindPkgConfig: Extend PKG_CONFIG_PATH using CMake variables, 2014-03-06). 15 January 2016, 20:12:34 UTC
6e92f7b Help: Document the CMAKE_EXPORT_COMPILE_COMMANDS variable 15 January 2016, 20:04:33 UTC
3ec9226 install: Do not remove compiler-defined RPATH entries Some compilers may add their own RPATH entries when invoking the linker. For example, a GCC installation may contain the following definition in the specs file: *link_libgcc: %D -rpath <<some specific rpath in which libstdc++.so can be found>> In this case binaries may contain RPATH entries that CMake did not add. When we update the RPATH on installation we must preserve these entries even if CMake thinks the INSTALL_RPATH value should be empty. Fix this by always using file(RPATH_CHANGE) and teach it to behave as file(RPATH_REMOVE) if the actual RPATH in the file is empty after replacing the build-tree RPATH with the install-tree RPATH. This will preserve any compiler-added RPATH value instead of removing it. 15 January 2016, 19:53:24 UTC
83d6339 ExternalProject: Add option to set `git clone -o` argument Add a `GIT_REMOTE_NAME` option to `ExternalProject_Add` to support git clone --origin <name> Default to `origin` if not specified. 15 January 2016, 19:20:04 UTC
09b2f1c Windows: Find Program Files directories more robustly from environment In Modules/Platform/WindowsPaths.cmake our previously recorded environment variable combinations no longer seem to be correct. For example, a 64-bit cmake binary may see ProgramW6432 in the environment and end up not considering the "ProgramFiles(x86)" variable. Instead check for all possible environment variables in the preferred order and then remove duplicates. Reported-by: Shawn Waldon <shawn.waldon@kitware.com> 15 January 2016, 19:07:22 UTC
aea1b03 Fix export of STATIC library PRIVATE dependencies with CMP0022 NEW The target_link_libraries command records the PRIVATE dependencies of a STATIC library in INTERFACE_LINK_LIBRARIES as "$<LINK_ONLY:dep>". This hides the target name from export namespacing logic inside a generator expression. When user-written generator expressions reference a target name they must put it inside a "$<TARGET_NAME:dep>" expression to allow the export logic to rename the target. In the case that the private dependency is not already a generator expression, target_link_libraries must use "$<LINK_ONLY:$<TARGET_NAME:dep>>" to allow the export logic to rename the target. Reported-by: Tamás Kenéz <tamas.kenez@gmail.com> 15 January 2016, 15:18:53 UTC
e5cbec1 Tests: Use CMP0022 NEW behavior in some ExportImport cases 15 January 2016, 14:56:01 UTC
0ca122f Tests: Isolate policy changes in ExportImport test Use cmake_policy(PUSH/POP) to isolate CMP0022 policy changes. 15 January 2016, 14:55:26 UTC
6ccc307 FindCUDA: Support special characters in path (#15919) Add `VERBATIM` to all `add_custom_command` calls so that CMake will escape arguments properly even when special characters such as "()" are present. Suggested-by: Nils Gladitz <nilsgladitz@gmail.com> 15 January 2016, 13:46:20 UTC
b8d002a CMake Nightly Date Stamp 15 January 2016, 05:01:07 UTC
43a32bd Merge topic 'FindDCMTK-update' 4b24626e FindDCMTK: Simplify documentation. 361c199f FindDCMTK: Add reStructuredText formatting. d790f4fe FindDCMTK: Keep original copyright notice. 8c8e53d0 FindDCMTK: Minor documentation grammatical issues. d50cbbb0 FindDCMTK: Obey QUIET option for find_package. 31b4700e FindDCMTK: Improve compatibility with DCMTKConfig.cmake. 14 January 2016, 18:30:31 UTC
4b24626 FindDCMTK: Simplify documentation. 14 January 2016, 18:28:56 UTC
f3fd50a Merge topic 'report_failed_tests' a7393cbd ctest_test: Report which tests failed even when QUIET is used 14 January 2016, 16:42:26 UTC
6e1a3df Merge topic 'bootstap-system-liblzma' 7a37afa7 bootstrap: Add option to build with system liblzma (#15916) 14 January 2016, 16:42:23 UTC
9cf6388 Merge topic 'install-DIRECTORY-genex' 630c8aa8 install: Allow generator expressions in DIRECTORY 14 January 2016, 16:42:20 UTC
6be2ded CMake Nightly Date Stamp 14 January 2016, 05:01:07 UTC
7a37afa bootstrap: Add option to build with system liblzma (#15916) 13 January 2016, 19:28:02 UTC
a7393cb ctest_test: Report which tests failed even when QUIET is used Since commit v3.3.0-rc1~410^2~3 (ctest_test: Add QUIET option, 2015-02-17) if tests fail when QUIET is used one sees: The following tests FAILED: but not the subsequent line(s) indicating which tests failed. Restore the list of failed tests. 13 January 2016, 15:32:24 UTC
05ab4b7 Merge topic 'vs-debug-fastlink' fc5d6592 VS: Map link `/debug:fastlink` flag to VS 2015 IDE property (#15894) 13 January 2016, 14:33:21 UTC
59dac28 Merge topic 'cmake-W-options' 82166701 cmake-gui: Add options to control warning-as-error messages 28f2d750 Add -Werror and -Wno-error command-line options 13 January 2016, 14:33:18 UTC
5774f38 Merge topic 'FindPkgConfig-share-dir' 36d87e18 FindPkgConfig: add PREFIX/share/pkgconfig to PKG_CONFIG_PATH (#15910) 13 January 2016, 14:33:15 UTC
ef3202f Merge topic 'update-kwsys' 33cafa68 Merge branch 'upstream-KWSys' into update-kwsys ffcc235c KWSys 2016-01-11 (bc07fbf7) 13 January 2016, 14:33:13 UTC
630c8aa install: Allow generator expressions in DIRECTORY Teach install(DIRECTORY) to support generator expressions in the list of directories, much like install(FILES) already supports. 13 January 2016, 14:02:06 UTC
39b7954 CMake Nightly Date Stamp 13 January 2016, 05:01:10 UTC
361c199 FindDCMTK: Add reStructuredText formatting. 12 January 2016, 20:44:10 UTC
d790f4f FindDCMTK: Keep original copyright notice. This is a follow-up to 31b4700ed640bee962f9db9ce25fa84261a944d2. Remove the extra character that was added to ensure the CMake.ModuleNotices test passes. 12 January 2016, 19:45:11 UTC
8216670 cmake-gui: Add options to control warning-as-error messages Add new widgets to the warning messages dialog to control treating warnings as errors. 12 January 2016, 19:03:32 UTC
28f2d75 Add -Werror and -Wno-error command-line options Expand the -W set of cmake options to include support for the -Werror and -Wno-error format, which is used to control upgrading and downgrading warning and error messages. Implement support for these new formats for the dev and deprecated message types. Add tests and updated documentation for new options. 12 January 2016, 19:02:51 UTC
fc5d659 VS: Map link `/debug:fastlink` flag to VS 2015 IDE property (#15894) Suggested-by: Thomas Laguzzi <tholag@gmail.com> 12 January 2016, 18:59:59 UTC
36d87e1 FindPkgConfig: add PREFIX/share/pkgconfig to PKG_CONFIG_PATH (#15910) Most packages install their .pc files into PREFIX/lib/pkgconfig, but some put them into PREFIX/share/pkgconfig. Either is valid, and pkg-config itself looks in both for the /usr and /usr/local prefixes. This fixes an issue where some packages (yajl, for example) are not found if they are installed into a non-standard prefix and CMAKE_PREFIX_PATH is used to locate them. 12 January 2016, 18:42:17 UTC
8c8e53d FindDCMTK: Minor documentation grammatical issues. Also remove CTK integration reference to avoid confusion. 12 January 2016, 17:25:15 UTC
33cafa6 Merge branch 'upstream-KWSys' into update-kwsys * upstream-KWSys: KWSys 2016-01-11 (bc07fbf7) 12 January 2016, 15:55:49 UTC
ffcc235 KWSys 2016-01-11 (bc07fbf7) Code extracted from: http://public.kitware.com/KWSys.git at commit bc07fbf7a884713815b3ac72d85487bf6aa338f5 (master). Upstream Shortlog ----------------- James Johnston (1): bc07fbf7 Configure: Silence spurious warnings from Embarcadero compiler. 12 January 2016, 15:55:49 UTC
b500972 Merge branch 'release' 12 January 2016, 15:55:05 UTC
ae7398c Merge topic 'vs-win10-sdk' a57caf7e VS: Fix Windows 10 SDK version selection (#15831) ad594de8 cmSystemTools: Add VersionCompareEqual helper c173e37f VS: Do not select a partial Windows 10 SDK folder (#15831) 12 January 2016, 15:53:45 UTC
3e4da61 Merge topic 'FindwxWidgets-use-isystem' 4d05f195 FindwxWidgets: Drop suppression of -isystem 12 January 2016, 15:23:10 UTC
0355421 Merge topic 'update-kwsys' 9821924d Merge branch 'upstream-KWSys' into update-kwsys 8e7356a2 KWSys 2016-01-11 (e8bf616e) 12 January 2016, 15:23:07 UTC
6262fb2 Merge topic 'mingw-clang-compile-features' 3baca636 Record compile features for MinGW Clang on Windows (#15897) 12 January 2016, 15:23:05 UTC
31a58b4 Merge topic 'vs-global-properties' af39f115 VS: Implement VS_GLOBAL_* target properties in VS 2010+ (#13666) 12 January 2016, 15:23:02 UTC
b3c10ef Merge topic 'vs-link-debug-property' b3677b35 VS: Map the link `/debug` to its IDE property c22da7cf VS: Drop unused condition in link debug flag generation 4ca9df8b cmIDEOptions: Add support for case-insensitive flags 12 January 2016, 15:22:59 UTC
cd9a59b CMake Nightly Date Stamp 12 January 2016, 05:01:09 UTC
d50cbbb FindDCMTK: Obey QUIET option for find_package. 11 January 2016, 21:51:36 UTC
31b4700 FindDCMTK: Improve compatibility with DCMTKConfig.cmake. This improvement to the FindDCMTK module improves compatibility with recent DCMTK, which provides a DCMTKConfig.cmake file. See the module comments for a compatibility matrix. It also provides DCMTK_INCLUDE_DIRS. Ported from CommonTK (commontk.org). 11 January 2016, 21:51:24 UTC
4d05f19 FindwxWidgets: Drop suppression of -isystem This was added by commit v2.8.0~2292 (... Set variable wxWidgets_INCLUDE_DIRS_NO_SYSTEM on the Mac ..., 2008-04-16) and updated by commit v2.8.9~183^2 (FindwxWidgets: Do not use -isystem on OpenBSD, 2012-05-14). Since the underlying cause was never investigated fully we do not know the conditions under which -isystem breaks wxWidgets, but suppressing -isystem is problematic for users that do not want to see warnings in wxWidgets headers. Simply drop the special case for now so we can see whether anyone hits the problem again, at which point it can be investigated in more detail. Reported-by: Simon Wells <swel024@gmail.com> 11 January 2016, 21:26:24 UTC
8ce5ff8 Merge branch 'vs-win10-sdk' into release 11 January 2016, 18:57:43 UTC
a57caf7 VS: Fix Windows 10 SDK version selection (#15831) In commit v3.4.0-rc1~5^2~1 (VS: Add support for selecting the Windows 10 SDK, 2015-09-30) we added Windows 10 SDK selection choosing the most recent SDK that is not newer than the target version. This is backward because it should be up to the application code to not use APIs newer than the target version. It is up to the build system to provide a SDK that has at least the APIs expected to be available for the target version. Furthermore, since the default target version is the host version of Windows, the old approach breaks when the only SDK available is for a newer version of Windows. Fix this by always selecting a Windows 10 SDK if one exists. Use the SDK for the exact version if is available. Otherwise use the latest version of the SDK available because that will have at least the APIs expected for the target version. 11 January 2016, 18:44:11 UTC
ad594de cmSystemTools: Add VersionCompareEqual helper Wrap a call to VersionCompare with OP_EQUAL. 11 January 2016, 18:43:22 UTC
af39f11 VS: Implement VS_GLOBAL_* target properties in VS 2010+ (#13666) These have been documented but previously only implemented for VS 2008 and below. 11 January 2016, 18:04:34 UTC
9821924 Merge branch 'upstream-KWSys' into update-kwsys * upstream-KWSys: KWSys 2016-01-11 (e8bf616e) 11 January 2016, 16:20:14 UTC
8e7356a KWSys 2016-01-11 (e8bf616e) Code extracted from: http://public.kitware.com/KWSys.git at commit e8bf616e3556368bf19dbebcd3529a89011ebacb (master). Upstream Shortlog ----------------- Brad King (1): e8bf616e SystemTools: Fix GetShortPath buffer sizing Jan van Dorsten (1): cfb2477d SystemTools: Simplify GetShortPath de-quoting step Robert Maynard (1): 8ef9773d Don't use clang diagnostic pragma's when compiling with ICC on OSX. 11 January 2016, 16:20:13 UTC
3baca63 Record compile features for MinGW Clang on Windows (#15897) Drop the 'UNIX' condition on Clang compiler features. This enables use of compile features with MinGW Clang, though additional work may be needed for clang-cl. 11 January 2016, 15:13:18 UTC
b3677b3 VS: Map the link `/debug` to its IDE property Fix the link flag table entries for this flag to be case-insensitive. Also fix the VS 2015 value for the build property enumeration name. This causes `linkOptions.Parse(...)` to correctly extract the `/debug` flag and map it to the IDE property instead. Therefore we do not need to look for the flag explicitly when initializing the property. 11 January 2016, 14:45:00 UTC
back to top