https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
81c2252 The "/Os" compiler flag does not map to "<Optimization>MinSize</Optimization>" Instead it maps to "<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>", as already defined in this file. I'm currently getting the following errors from MSBuild (14.0.25123.0) when using the "/Os" flag with CMake: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(356,5): error : Element <Optimization> has an invalid value of "MinSize". After manually fixing the optimization settings in Visual Studio, I can see the *.vcxproj file contains the following: <ClCompile> ... <Optimization>Full</Optimization> ... <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> </ClCompile> It looks like commit 2c2ec4883bd9829b3589ce0aebe466bae9e8b0e9 broke this. 16 June 2016, 15:53:31 UTC
f3d76a8 Merge topic 'ice-3.6.2' 82ecc2a3 FindIce: Add versions 3.6.1 and 3.6.2 16 June 2016, 13:52:58 UTC
a854e17 Merge topic 'cmOutputConverter-stringstream' d645b03e cmOutputConverter: implement Shell__GetArgument using ostringstream 16 June 2016, 13:46:56 UTC
0e523d0 Merge topic 'cleanup-streams' ed5fa48d cmXMLWriter: use ifstream from KWSys 24ab29b8 Prefer istringstream and ostringstream over stringstream. ab8b77dd Remove redundant arguments from fstream constructors eb79fa72 Access std::ios_base with std::ios 16 June 2016, 13:46:54 UTC
993991a Merge topic 'findcuda-use-correct-runtime-for-required' 90d114ed FindCUDA: Use the correct runtime in REQUIRED_VARS check 16 June 2016, 13:46:52 UTC
290913f Merge topic 'iwyu-preparation' 1c2c6297 cmTargetLinkLibraryType: Extract from cmStandardIncludes.h ffdc0a8e cmTypeMacro: Extract from cmStandardIncludes.h e4eb88e2 cmCustomCommandLines: Extract from cmStandardIncludes.h 535ec2bf cmDocumentationEntry: Extract from cmStandardIncludes c3819aca cmConfigure.h: Establish as 'include first' file 16 June 2016, 13:46:49 UTC
84c0fdb Merge topic 'clean-up-cmMakefile-IssueMessage' 5bbcf758 cmIfCommand: Don't rely on NestedError logic to issue messages 262ce91e cmMakefile: Extract invoke result variables 16 June 2016, 13:46:47 UTC
2701b51 Merge topic 'clean-up-Parser' 905e738f Parser: Out-of-line conditional code to cmMakefile 0a9094cd Parser: Issue file open error messages through dedicated API 16 June 2016, 13:46:44 UTC
ce62454 Merge topic 'find_package-duplicate-search-paths' 919db25c cmFindPackageCommand: remove duplicate paths from error message ebf18df5 cmFindPackageCommand: use iterators to loop over configurations 16 June 2016, 13:46:42 UTC
1c2c629 cmTargetLinkLibraryType: Extract from cmStandardIncludes.h 16 June 2016, 13:26:50 UTC
ffdc0a8 cmTypeMacro: Extract from cmStandardIncludes.h 16 June 2016, 13:26:33 UTC
e4eb88e cmCustomCommandLines: Extract from cmStandardIncludes.h 16 June 2016, 13:25:22 UTC
83ae794 CMake Nightly Date Stamp 16 June 2016, 04:01:06 UTC
d645b03 cmOutputConverter: implement Shell__GetArgument using ostringstream This removes the need to calculate the resulting string length beforehand. 15 June 2016, 21:44:37 UTC
82ecc2a FindIce: Add versions 3.6.1 and 3.6.2 15 June 2016, 14:35:06 UTC
909d51b CMake Nightly Date Stamp 15 June 2016, 04:01:06 UTC
ed5fa48 cmXMLWriter: use ifstream from KWSys 14 June 2016, 21:26:16 UTC
24ab29b Prefer istringstream and ostringstream over stringstream. Use istringsream for parsing, ostringstream for generation. 14 June 2016, 20:37:36 UTC
ab8b77d Remove redundant arguments from fstream constructors Don't pass the default value of the openmode parameter explicitly. 14 June 2016, 20:28:55 UTC
eb79fa7 Access std::ios_base with std::ios Just because it is shorter. 14 June 2016, 20:23:08 UTC
90d114e FindCUDA: Use the correct runtime in REQUIRED_VARS check When enabling the CUDA static runtime, the current module always uses the shared runtime in the REQUIRED_VARS check. This change should select the correct runtime to be checked for as required based on the CUDA_USE_STATIC_CUDA_RUNTIME option. Fixes #16096 14 June 2016, 13:55:35 UTC
33f74dc CMake Nightly Date Stamp 14 June 2016, 04:01:10 UTC
535ec2b cmDocumentationEntry: Extract from cmStandardIncludes 13 June 2016, 20:41:29 UTC
c3819ac cmConfigure.h: Establish as 'include first' file At the moment, cmStandardIncludes.h needs to be included before any standard includes because it disables some warnings that are caused by the standard library of some compilers. Move this responsibility to the cmConfigure.h file. Also add include guards to cmConfigure.h to make sure the file can be included multiple times. 13 June 2016, 20:37:28 UTC
1bafa0b Merge topic 'parent-scope-docs' 42fe7d21 Help: clarify PARENT_SCOPE behavior 13 June 2016, 19:19:45 UTC
5bbcf75 cmIfCommand: Don't rely on NestedError logic to issue messages 13 June 2016, 18:20:44 UTC
262ce91 cmMakefile: Extract invoke result variables Make it more clear what is happening here. 13 June 2016, 18:20:44 UTC
905e738 Parser: Out-of-line conditional code to cmMakefile Simplify parser API. 13 June 2016, 18:19:16 UTC
0a9094c Parser: Issue file open error messages through dedicated API 13 June 2016, 18:19:16 UTC
8d80c89 Merge branch 'release' 13 June 2016, 17:36:53 UTC
919db25 cmFindPackageCommand: remove duplicate paths from error message Fixes #15252. 13 June 2016, 15:16:12 UTC
ebf18df cmFindPackageCommand: use iterators to loop over configurations 13 June 2016, 15:16:10 UTC
0514fa2 Merge branch 'release' 13 June 2016, 14:28:44 UTC
9f3546b CMake 3.6.0-rc2 13 June 2016, 14:28:02 UTC
473634e Merge topic 'expose-cache-properties' 63c0e92c cmState: Expose list of properties of values in the cache 6eee2463 cmCacheEntry: Retrieve all properties of cache entries 120899c6 cmPropertyList: Add a way to retrieve all properties 7066218e cmake: Kill cmake::CacheManager and its getter 13 June 2016, 14:03:05 UTC
42fe7d2 Help: clarify PARENT_SCOPE behavior Fixes #15093. 13 June 2016, 13:55:17 UTC
4e66ca1 Merge topic 'fix-cmake-ISP-violation' 23f87e81 cmake: Remove force from IssueMessage API 54c65d5f cmake: Extract DisplayMessage API. 13 June 2016, 13:54:27 UTC
18e00ac Merge topic 'avoid-cmMakefile-IssueMessage-after-configure' ea5324cd cmMakefile: Port messages for compile features to cmake df8c3130 cmGlobalGenerator: Don't use cmMakefile::IssueMessage after configure 946d1e50 cmMakefile: Avoid IssueMessage after configure is finished 096c7754 cmLocalGenerator: Store Backtrace for the directory 13 June 2016, 13:54:24 UTC
3b14a4b Merge topic 'fix-Message-API-ISP-violation' 0a4af073 cmake: Issue message independent of cmMakefile definition 13 June 2016, 13:54:20 UTC
941fbe3 Merge topic 'find-lib32' 896ad251 Teach find_library and find_package to search lib32 paths (#11260) 13 June 2016, 13:54:17 UTC
ff1cce4 Merge topic 'add-braces' 757b0ff5 Add missing braces around statements in header files a16bf141 Add missing braces around statements. bd9e551c PseudoMemcheck: revise style with clang-format. 13 June 2016, 13:54:14 UTC
6b0ab86 Merge topic 'bash-completion' 797c3c54 bash-completion: Add cpack --help-{manual,module,policy,property} b08cae9b bash-completion: Add ctest --help-{manual,module,policy,property,variable} 48cb388e bash-completion: Fix cmake --help-policy lookup f67afbdc bash-completion: Add cmake --help-manual 13 June 2016, 13:54:11 UTC
7ce354d Merge topic 'refactor-cmLocalGenerator-flags' f62ed322 cmLocalGenerator: Add GetTargetDefines to get all defines for a target 853b1bb4 cmLocalGenerator: Constify AppendDefines and AddCompileDefinitions 13 June 2016, 13:54:09 UTC
06ee543 CMake Nightly Date Stamp 13 June 2016, 04:01:05 UTC
23f87e8 cmake: Remove force from IssueMessage API The force parameter is ugly and makes the method harder to reason about (issues the message ... but maybe it doesn't ... but then again you can force it). It is a violation of https://en.wikipedia.org/wiki/Interface_segregation_principle and is the kind of thing described in a recent blog here: http://code.joejag.com/2016/anti-if-the-missing-patterns.html "Any time you see this you actually have two methods bundled into one. That boolean represents an opportunity to name a concept in your code." 12 June 2016, 20:09:27 UTC
54c65d5 cmake: Extract DisplayMessage API. 12 June 2016, 20:08:47 UTC
ea5324c cmMakefile: Port messages for compile features to cmake 12 June 2016, 17:01:45 UTC
df8c313 cmGlobalGenerator: Don't use cmMakefile::IssueMessage after configure 12 June 2016, 17:01:45 UTC
946d1e5 cmMakefile: Avoid IssueMessage after configure is finished 12 June 2016, 17:01:45 UTC
096c775 cmLocalGenerator: Store Backtrace for the directory Don't rely on cmMakefile to provide that. Use it to issue messages. 12 June 2016, 17:01:45 UTC
0a4af07 cmake: Issue message independent of cmMakefile definition The makefile is only used when called by the cmMessageCommand, so inline the use of it there. It otherwise creates an undesirable dependency on cmMakefile for issuing messages in the cmake instance, a violation of the Interface Segregation Principle. https://en.wikipedia.org/wiki/Interface_segregation_principle This also makes it more explicit that the variable definitions only affect the message() command. If an AUTHOR_WARNING is issued for any other reason, it is not affected. To affect that, it is necessary to set the cache variable instead of the regular variable. This is an unfortunate interface quirk, but one which can't be fixed easily now. 12 June 2016, 16:38:33 UTC
acf0c0f CMake Nightly Date Stamp 12 June 2016, 04:01:09 UTC
757b0ff Add missing braces around statements in header files 11 June 2016, 07:49:00 UTC
d6e99fa CMake Nightly Date Stamp 11 June 2016, 04:01:07 UTC
a16bf14 Add missing braces around statements. Apply fixits of clang-tidy's readability-braces-around-statements checker. 10 June 2016, 16:36:24 UTC
bd9e551 PseudoMemcheck: revise style with clang-format. Rename memtester.cxx.in to memtester.cxx, run clang-format, then restore the original name. Fix the @_retval@ placeholder that was broken by clang-format. 10 June 2016, 16:31:30 UTC
896ad25 Teach find_library and find_package to search lib32 paths (#11260) Add a ``FIND_LIBRARY_USE_LIB32_PATHS`` global property analogous to the ``FIND_LIBRARY_USE_LIB64_PATHS`` property. This helps find commands on multilib systems that use ``lib32`` directories and either do not have ``lib`` symlinks or point ``lib`` to ``lib64``. 10 June 2016, 15:09:16 UTC
023e2a1 Merge branch 'bash-completion' into release 10 June 2016, 14:47:47 UTC
797c3c5 bash-completion: Add cpack --help-{manual,module,policy,property} 10 June 2016, 14:46:33 UTC
b08cae9 bash-completion: Add ctest --help-{manual,module,policy,property,variable} 10 June 2016, 14:46:19 UTC
48cb388 bash-completion: Fix cmake --help-policy lookup 10 June 2016, 14:45:25 UTC
c5d71b2 Merge branch 'release' 10 June 2016, 13:57:21 UTC
f67afbd bash-completion: Add cmake --help-manual 10 June 2016, 13:54:29 UTC
63c0e92 cmState: Expose list of properties of values in the cache 10 June 2016, 13:33:41 UTC
6eee246 cmCacheEntry: Retrieve all properties of cache entries 10 June 2016, 13:33:41 UTC
120899c cmPropertyList: Add a way to retrieve all properties 10 June 2016, 13:33:02 UTC
7066218 cmake: Kill cmake::CacheManager and its getter This member variable is never initialized and has apparently moved to cmState. 10 June 2016, 13:27:59 UTC
f62ed32 cmLocalGenerator: Add GetTargetDefines to get all defines for a target 10 June 2016, 13:24:49 UTC
853b1bb cmLocalGenerator: Constify AppendDefines and AddCompileDefinitions 10 June 2016, 13:24:11 UTC
98aafb2 Merge topic 'refactor-cmLocalGenerator-flags' d9613b96 cmLocalGenerator: Move GetFrameworkFlags implementation to private helper 70d3bf85 cmLocalGenerator: Adopt GetFrameworkFlags method de4ee088 cmCommonTargetGenerator: De-duplicate CMAKE_BUILD_TYPE lookup 10 June 2016, 13:10:04 UTC
ff4697f Merge topic 'FindProtobuf-proto-in-subdirs' d4b8e813 FindProtobuf: fix protobuf_generate_*() to handle proto files in subdirs. 10 June 2016, 13:10:02 UTC
fbf461d Merge topic 'FindFreetype-dedup-arguments' 746a4245 FindFreetype: Factor out common find command arguments 10 June 2016, 13:09:59 UTC
09e6c9e Merge topic 'FindCUDA-android' 7229ae72 FindCUDA: Refactor Android(Tegra) support e9bfe8da FindCUDA: Adjust vertical whitespace 10 June 2016, 13:09:57 UTC
b29f151 Merge topic 'FindOpenSSL-BoringSSL' e937b4c3 FindOpenSSL: Do not assume that the version regex finds something 10 June 2016, 13:09:54 UTC
5d07886 Merge topic 'watcom-workaround' ceebac93 Tests: Restore fix to Plugin test on Watcom compiler 10 June 2016, 13:09:50 UTC
1bde72a Merge topic 'cmake-gui-osx-symlink-qt5-plugin' f2840155 cmake-gui: Teach Qt5 where plugins are when launched through a symlink 10 June 2016, 13:09:47 UTC
1f9b35d CMake Nightly Date Stamp 10 June 2016, 04:01:06 UTC
cc7e9d1 Merge branch 'cmake-gui-osx-symlink-qt5-plugin' into release 09 June 2016, 17:21:56 UTC
f284015 cmake-gui: Teach Qt5 where plugins are when launched through a symlink When we are on OSX and we are launching cmake-gui from a symlink, the application will fail to launch as it can't find the qt.conf file which tells it what the name of the plugin folder is. We need to add this path BEFORE the application is constructed as that is what triggers the searching for the platform plugins 09 June 2016, 17:21:27 UTC
d9613b9 cmLocalGenerator: Move GetFrameworkFlags implementation to private helper 09 June 2016, 14:41:42 UTC
70d3bf8 cmLocalGenerator: Adopt GetFrameworkFlags method Move it from cmCommonTargetGenerator. 09 June 2016, 14:39:57 UTC
d4b8e81 FindProtobuf: fix protobuf_generate_*() to handle proto files in subdirs. 09 June 2016, 14:13:45 UTC
7229ae7 FindCUDA: Refactor Android(Tegra) support Reviewed-by: James Bigler <jamesbigler@gmail.com> 09 June 2016, 13:25:55 UTC
e9bfe8d FindCUDA: Adjust vertical whitespace 09 June 2016, 13:24:40 UTC
8f3bd1f Merge topic 'ninja-no-ranlib-windows' ea598671 Run ranlib on archives only if the tool is available 09 June 2016, 13:18:28 UTC
c21397b Merge topic 'refactor-cmLocalGenerator-flags' b0d3e693 cmLocalGenerator: Pass configuration to GetTargetFlags 09 June 2016, 13:18:26 UTC
065bb0f Merge topic 'small-cleanups' 9f25fc4d Prefer std::ostream& over derivatives as parameters f9cc43ea cmake: remove unnused member Verbose 6e658085 cmake: Fix constness of methods 87ffd76d cmake: Make internal method file static fa169fe8 Parser: Merge identical conditions 09 June 2016, 13:18:23 UTC
01632c2 Merge topic 'xmlwriter' e9da5192 CPack/PackageMaker: port to cmXMLWriter 09 June 2016, 13:18:21 UTC
5aa89a1 Merge topic 'java-export-targets' 0bd91ad4 UseJava: Fix race condition creating java class list 89df91b9 Help: Add notes for topic 'java-export-targets' 95d84369 Tests: Add test for exported JARs 5341c0d8 UseJava: Add infrastructure to export targets d91ec044 Tests/Java: Clean up style of Java test code 09 June 2016, 13:18:17 UTC
e9da519 CPack/PackageMaker: port to cmXMLWriter 09 June 2016, 13:16:34 UTC
0bd91ad UseJava: Fix race condition creating java class list Modify logic to unconditionally create an empty class list response file to instead only create the empty file if no classes are being compiled. Otherwise, the response file is created via a custom command that generates the correct list. This fixes a race condition on certain systems (e.g. HFS on OS X) where the dependency for creating the "correct" list can have the "same" (due to limited precision of the filesystem) timestamp as the empty file created at configure time, resulting in an empty class list being incorrectly used to invoke `jar` (resulting in `jar` being unhappy that it was not given any input files). Although one would have some hope that this doesn't affect "real" projects, it definitely does affect the JavaExportImport unit test, causing the same to fail randomly when run on an HFS partition. 09 June 2016, 13:12:15 UTC
ceebac9 Tests: Restore fix to Plugin test on Watcom compiler The fix in commit v3.4.0-rc1~127^2 (Tests: Fix Plugin test on Watcom compiler, 2015-09-03) was reverted accidentally by automated .c_str() removal. Restore it and add a comment explaining why. 09 June 2016, 13:11:10 UTC
746a424 FindFreetype: Factor out common find command arguments 09 June 2016, 12:55:24 UTC
e937b4c FindOpenSSL: Do not assume that the version regex finds something BoringSSL's openslv.h does not have the version information. 09 June 2016, 12:51:01 UTC
3969994 CMake Nightly Date Stamp 09 June 2016, 04:01:07 UTC
9f25fc4 Prefer std::ostream& over derivatives as parameters 08 June 2016, 21:08:40 UTC
f9cc43e cmake: remove unnused member Verbose 08 June 2016, 21:08:33 UTC
6e65808 cmake: Fix constness of methods 08 June 2016, 21:08:29 UTC
87ffd76 cmake: Make internal method file static 08 June 2016, 21:08:24 UTC
fa169fe Parser: Merge identical conditions 08 June 2016, 21:08:14 UTC
back to top