https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
b1d8216 Fix TARGET_OBJECTS w/static libraries on Xcode 6. This patch is a WIP. Some tests are broken but I don't have the time to find out how to fix them. Someone could pick up this patch and run with it though. 25 July 2014, 12:12:22 UTC
4d7b937 CMake Nightly Date Stamp 25 July 2014, 04:01:07 UTC
afe21fc CMake Nightly Date Stamp 24 July 2014, 04:01:10 UTC
fe4e6ed Merge topic 'refactor-makerule-path-conversion' 848fab95 cmGlobalVisualStudio7Generator: Remove unused variable 85cea8a7 cmDepends: Refactor object file path conversion e7ee892b cmLocalGenerator: Fix AddBuildTargetRule object file path conversion 9f92a78b cmLocalGenerator: Rename 'MAKEFILE' to 'MAKERULE' 23 July 2014, 13:44:35 UTC
91d2151 Merge topic 'refactor-generator-startup' f5c0efdb cmGlobalGenerator: Create a non-virtual 'DoGenerate' method 23 July 2014, 13:44:34 UTC
ea3e544 Merge topic 'fix_sanitizer_test_to_work_with_sanitizer' f7d62cac Fix leak and address sanitizer tests to be able to run with real tools. 23 July 2014, 13:44:32 UTC
a263cab Merge topic 'fix-complex-test-policies' fb95f820 Tests: Set policies in 'complex' tests 23 July 2014, 13:44:29 UTC
3e3ab2a CMake Nightly Date Stamp 23 July 2014, 04:01:09 UTC
848fab9 cmGlobalVisualStudio7Generator: Remove unused variable 22 July 2014, 19:24:57 UTC
85cea8a cmDepends: Refactor object file path conversion Delay conversion of the path to object files (on the left-hand side of dependencies) until just before they are written. Also do not convert the format of paths written to the 'depend.internal' file. This is consistent with the way the right-hand side of dependencies are already handled. 22 July 2014, 19:24:57 UTC
f5c0efd cmGlobalGenerator: Create a non-virtual 'DoGenerate' method Make the virtual 'Generate' method protected. Make 'DoGenerate' the main entry point to generation. This gives cmGlobalGenerator a chance to do some early operations before the individual generator-specific implementations take over. 22 July 2014, 19:05:36 UTC
e7ee892 cmLocalGenerator: Fix AddBuildTargetRule object file path conversion The object file list is constructed for a shell, not a Makefile rule. 22 July 2014, 16:38:08 UTC
9f92a78 cmLocalGenerator: Rename 'MAKEFILE' to 'MAKERULE' Rename the internal enumeration value for converting paths destined for use in Makefile rule syntax. 22 July 2014, 16:27:57 UTC
5c38fc1 Merge topic 'deprecated-properties' 5bbec4e3 Help: Document deprecated properties. 22 July 2014, 15:14:45 UTC
dbc43eb Merge topic 'fix_guard_malloc_forbc' 80ee17d8 Tests/CTestTestMemcheck: Tolerate malloc guard in BC output 22 July 2014, 15:14:43 UTC
80ee17d Tests/CTestTestMemcheck: Tolerate malloc guard in BC output 22 July 2014, 15:13:29 UTC
f7d62ca Fix leak and address sanitizer tests to be able to run with real tools. When running CMake under Leak or Address Sanitizer tools, the fake reporting would get picked up by the outer CMake and reported as leaks and address failures on the CMake dashboard. This commit makes sure the test only reports simulated errors when asked to. 22 July 2014, 14:51:53 UTC
fb95f82 Tests: Set policies in 'complex' tests These tests cover the OLD behavior of some policies. Set them to OLD to avoid warnings in the test output. Leave a comment that explains why this is done here but not recommended in general. 22 July 2014, 13:36:57 UTC
08bb09a CMake Nightly Date Stamp 22 July 2014, 04:01:08 UTC
5bbec4e Help: Document deprecated properties. Document the COMPILE_DEFINITIONS_<Config> properties as deprecated. Add new sections for deprecated properties and move POST_INSTALL_SCRIPT and PRE_INSTALL_SCRIPT there as well. 21 July 2014, 17:48:48 UTC
23ec373 Merge topic 'backport-kwsys-qnx-fix' cc3248f4 KWSys SystemInformation: No SA_RESTART on QNX 21 July 2014, 14:49:59 UTC
c86b99c Merge topic 'fix-QCC-compile-flags' 3151024d QNX: Add missing flags for configurations and artifact creation. 21 July 2014, 14:36:07 UTC
b86f0e4 Merge topic 'update-kwsys' 6f3e094e Merge branch 'upstream-kwsys' into update-kwsys d4d1b7f7 KWSys 2014-07-18 (65b36ede) 21 July 2014, 14:36:00 UTC
8e018ae CMake Nightly Date Stamp 21 July 2014, 04:01:11 UTC
6ae98ee CMake Nightly Date Stamp 20 July 2014, 04:01:10 UTC
18a4310 CMake Nightly Date Stamp 19 July 2014, 04:01:07 UTC
36a8184 Merge topic 'dev/target-fastpaths' a9c9b66c cmTarget: use a hash_map for cmTargets typedef bcb6dbc1 cmTarget: help the optimizer a bit 679f3dee cmTarget: use hash_set for sets of strings 23d6520d cmTarget: Allow caching of empty genex expansions cd54f1db cmTarget: Only copy GenEx expansions when necessary b75fc0e1 cmTarget: Don't set properties on custom targets 66076915 cmTarget: Use static strings for special property names cebefa71 cmTarget: Sort special property checks 97ce676e cmTarget: Fast path for regular properties 4cfa918a cmTarget: Factor out common code 85242b7d cmTarget: Use else/if trees rather than an if tree 18 July 2014, 15:00:29 UTC
e27b2c3 Merge topic 'delay-generator-platform' 7a526c35 VS: Delay getting platform name in local generator e7fdb44b VS: Delay detection of VS 10 Express 64-bit tools 6e176e6d VS: Delay platform definitions until system name is known d3d9218a VS: Remove unused method from VS 9 generator eeb60102 VS: Refactor CMAKE_FORCE_*64 platform definitions ecb34faa Tell generators about CMAKE_SYSTEM_NAME as soon as it is known 18 July 2014, 14:57:02 UTC
5a128c8 Merge topic 'vs-MSTool-condition' 7a9909db VS: Make MS-tool-specific options conditional 18 July 2014, 14:56:59 UTC
494f9e0 Merge topic 'fix_Xcode_generator_name' 3526478c Tests: Activate tests accidentally excluded from Xcode 18 July 2014, 14:56:57 UTC
a67f0b6 Merge topic 'identify-qthelp-artifacts' 376ba935 Help: Identify more artifact types in QtHelp documentation. 18 July 2014, 14:56:55 UTC
0aa7d9d Merge topic 'encoding-ctest-fixes' 09b2ac38 Encoding: Fix a few encoding problems with ctest. 18 July 2014, 14:56:53 UTC
6f3e094 Merge branch 'upstream-kwsys' into update-kwsys 18 July 2014, 14:15:23 UTC
d4d1b7f KWSys 2014-07-18 (65b36ede) Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 65b36ede | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' c2a329ce..65b36ede Bob E (1): 697b1401 SystemInformation: No SA_RESTART on QNX Clinton Stimpson (1): 65b36ede Encoding: Fix testProcess to work with unicode paths. Steve Dougherty (1): 5f28a52b Terminal: Fix spelling of 'definitely' in comments Change-Id: I224745dc0ca9603ff915b727e798ef293c462d8f 18 July 2014, 14:15:20 UTC
09b2ac3 Encoding: Fix a few encoding problems with ctest. This also fixes some test failures on Windows when the name of the build directory contains non-ascii characters. 18 July 2014, 14:05:01 UTC
bbd930e CMake Nightly Date Stamp 18 July 2014, 04:01:11 UTC
7a526c3 VS: Delay getting platform name in local generator Ask the global generator during generation instead of trying to store it up front. Later the global generator may not know the platform name when it is creating the local generator. 17 July 2014, 20:59:53 UTC
e7fdb44 VS: Delay detection of VS 10 Express 64-bit tools Wait until SetSystemName when the CMAKE_SYSTEM_NAME is known. Later the decision to use 64-bit tools may depend on it. 17 July 2014, 20:35:41 UTC
6e176e6 VS: Delay platform definitions until system name is known Move the definition of CMAKE_VS_PLATFORM_NAME and other variables that are not needed by CMakeDetermineSystem out of the AddPlatformDefinitions method and into a SetSystemName method. The latter may later use CMAKE_SYSTEM_NAME to decide what platform-specific definitions to add. 17 July 2014, 20:34:21 UTC
d3d9218 VS: Remove unused method from VS 9 generator 17 July 2014, 20:19:27 UTC
eeb6010 VS: Refactor CMAKE_FORCE_*64 platform definitions Remove the general infrastructure for these additional platform definitions and hard-code the only two special cases that used it. They are only for historical reasons so no new such cases should be added. 17 July 2014, 20:17:35 UTC
ecb34fa Tell generators about CMAKE_SYSTEM_NAME as soon as it is known Add a cmGlobalGenerator::SetSystemName virtual method. Call it from cmGlobalGenerator::EnableLanguage as soon as CMAKE_SYSTEM_NAME is known. This will give generators a chance to adapt themselves to the target system. Pass the cmMakefile instance to the method so that the generator can update it accordingly. Return early from EnableLanguage if SetSystemName returns false. 17 July 2014, 20:01:41 UTC
7a9909d VS: Make MS-tool-specific options conditional Make blocks adding MS-tool-specific options conditional on a new "MSTools" boolean member of cmVisualStudio10TargetGenerator. Hard-code the member to true for now to preserve existing behavior. 17 July 2014, 17:37:55 UTC
a9c9b66 cmTarget: use a hash_map for cmTargets typedef 17 July 2014, 15:17:52 UTC
bcb6dbc cmTarget: help the optimizer a bit 17 July 2014, 15:17:52 UTC
679f3de cmTarget: use hash_set for sets of strings 17 July 2014, 15:17:50 UTC
23d6520 cmTarget: Allow caching of empty genex expansions 17 July 2014, 15:17:50 UTC
cd54f1d cmTarget: Only copy GenEx expansions when necessary 17 July 2014, 15:17:50 UTC
b75fc0e cmTarget: Don't set properties on custom targets Properties are not required on custom targets. 17 July 2014, 15:17:50 UTC
6607691 cmTarget: Use static strings for special property names The function is called enough that the std::string/cstr comparisons are expensive from the strlen. Cache the strings for faster comparisons. 17 July 2014, 15:17:50 UTC
cebefa7 cmTarget: Sort special property checks The LINK_LIBRARIES property is by *far* the most popular. Move it to the top. TYPE is second, but with more generator expression usage, that may change in the future. 17 July 2014, 15:17:49 UTC
97ce676 cmTarget: Fast path for regular properties 17 July 2014, 15:17:49 UTC
376ba93 Help: Identify more artifact types in QtHelp documentation. Add identifiers for variables, properties, policies and modules. This will allow QtCreator to show relevant documentation if it learns more about the context of the contents of cmake files. 17 July 2014, 14:05:10 UTC
cc3248f KWSys SystemInformation: No SA_RESTART on QNX QNX not support SA_RESTART signal: /* #define SA_RESTART 0x0040 (not supported yet) */ Use it in SystemInformation only if it is defined. 17 July 2014, 13:51:48 UTC
e451094 Merge topic 'refactor-link-internals' c45dd669 cmTarget: Cache compatible interface property sets 89095514 cmTarget: Refactor GetLinkImplementationClosure internals 9d72df45 Genex: Adjust code layout slightly d5f0743d Genex: Refactor empty element strip 60bafeb6 Genex: Avoid repeated search of transitive property whitelist 8cb91054 Genex: Simplify TARGET_PROPERTY transitive lookup 0a8fbac1 cmTarget: Drop GetTransitivePropertyTargets method fb3518dc Refactor system include annotation propagation 535fd6ce cmTarget: Make GetLink*Libraries methods safer to use 17 July 2014, 13:43:01 UTC
bb4c158 Merge topic 'generalize-LINK_ONLY' 10c5c82c Help: Add notes for topic 'generalize-LINK_ONLY' 6e7e881c Honor $<LINK_ONLY> when checking interface properties 0400cd5d Make $<LINK_ONLY> available to projects (#14751) 17 July 2014, 13:43:00 UTC
96f2a2a Merge topic 'compile-with-cray' fd63722d cmcurl: Fix a build failure with the Cray compiler on Linux (#15026) 17 July 2014, 13:42:57 UTC
fd63722 cmcurl: Fix a build failure with the Cray compiler on Linux (#15026) The error is caused by a workaround for UNICOS. The workaround incorrectly uses the _CRAYC macro to determine if building for UNICOS. This macro will always be defined for the Cray C and C++ compiler regardless of the target platform, even when building for Linux. The correct macro should be _CRAY, which as per Cray documentation is only defined for UNICOS targeted builds. 17 July 2014, 13:43:05 UTC
3151024 QNX: Add missing flags for configurations and artifact creation. Commit v3.0.0-rc1~111^2 (QNX: Introduce QCC compiler id for that QNX platform compiler., 2014-01-20) split handling of the QNX QCC compiler into a separate compiler-id. That refactoring results in the QCC compiler not using the CMake-compiler-id "GNU", which means that the __compiler_gnu macro is no longer executed for it. Add Compiler/QCC*.cmake modules to define and call the __compiler_qcc macro and teach it to call __compiler_gnu internally. Remove the corresponding pieces from the Platform/QNX*.cmake modules. It is also necessary to change the language conditional to dereference the lang macro parameter, which is another bug introduced by the same commit. The extra -lang-c++ flag is only necessary when the CXX compiler is specified as 'qcc' instead of 'QCC' in the toolchain file, which is why this bug was not noticed before. The flag is also necessary in that case when linking in order to find the appropriate standard libraries. The flag was not previously added when linking executables, so linking failed even with CMake 2.8.12 with the lower-case compiler-id. Co-Author: Brad King <brad.king@kitware.com> 17 July 2014, 13:36:18 UTC
3526478 Tests: Activate tests accidentally excluded from Xcode The generator name is "Xcode", not "XCode". Fix this typo. Explicitly exclude the SubDirSpaces test on Xcode because it does not work. Also tell the RunCMake.File_Generate test when Xcode is not multi-config so it can exlcude the OutputConflict case. Inspired-by: Daniele E. Domenichelli <daniele.domenichelli@iit.it> 17 July 2014, 13:31:53 UTC
e411b30 CMake Nightly Date Stamp 17 July 2014, 04:01:11 UTC
4cfa918 cmTarget: Factor out common code 16 July 2014, 21:28:32 UTC
85242b7 cmTarget: Use else/if trees rather than an if tree Skips lots of unnecessary string comparisons. 16 July 2014, 21:28:32 UTC
10c5c82 Help: Add notes for topic 'generalize-LINK_ONLY' 16 July 2014, 18:26:18 UTC
c45dd66 cmTarget: Cache compatible interface property sets Replace isLinkDependentProperty with a CompatibleInterfaces structure that records all the compatible interface properties in a set for each type. This avoids repeatedly traversing the link implementation closure and asking every target for its compatible interface properties. 16 July 2014, 17:38:22 UTC
8909551 cmTarget: Refactor GetLinkImplementationClosure internals Store the 'Done' flag directly in each map entry instead of using a separate map. 16 July 2014, 17:38:22 UTC
9d72df4 Genex: Adjust code layout slightly 16 July 2014, 17:31:30 UTC
d5f0743 Genex: Refactor empty element strip In cmGeneratorExpressionEvaluator, teach getLinkedTargetsContent to call cmGeneratorExpression::StripEmptyListElements to transform its return value so that callers do not have to do so. 16 July 2014, 17:31:30 UTC
60bafeb Genex: Avoid repeated search of transitive property whitelist In cmGeneratorExpressionEvaluator, avoid searching through the list of transitive interface property names repeatedly during evaluation of TargetPropertyNode. Simply record the results of the first search for later re-use. 16 July 2014, 17:31:30 UTC
8cb9105 Genex: Simplify TARGET_PROPERTY transitive lookup In cmGeneratorExpressionEvaluator, make getLinkedTargetsContent a template so it can traverse over either the Libraries in a cmTarget LinkImplementationLibraries or a cmTarget LinkInterfaceLibraries. This also avoids creating a separate vector<cmTarget*>. 16 July 2014, 17:31:30 UTC
0a8fbac cmTarget: Drop GetTransitivePropertyTargets method Inline the implementation at the only remaining call site. 16 July 2014, 17:31:29 UTC
fb3518d Refactor system include annotation propagation Since commit v3.0.0-rc1~174^2~1 (cmTarget: Fix system include annotation propagation, 2014-01-01) the cmGeneratorTarget::IsSystemIncludeDirectory method needs to collect all targets that might provide INTERFACE_(|SYSTEM)_INCLUDE_DIRECTORIES for the current target. We now have cmTarget::GetLinkImplementationClosure to provide this, so use it. 16 July 2014, 17:31:29 UTC
535fd6c cmTarget: Make GetLink*Libraries methods safer to use Split the library lists out of LinkImplementation and LinkInterface into LinkImplementationLibraries and LinkInterfaceLibraries parent classes, respectively. Return these from GetLinkImplementationLibraries and GetLinkInterfaceLibraries, respectively, so that callers cannot access parts of the structures that have not been populated. 16 July 2014, 17:31:29 UTC
6e7e881 Honor $<LINK_ONLY> when checking interface properties Callers of cmTarget::GetLinkImplementationClosure are interested in the set of targets whose interface properties propagate to the current target. This excludes targets guarded by $<LINK_ONLY>. Teach the CompatibleInterface test to cover suppression of interface compatibility tests with $<LINK_ONLY>. Although this is not recommended in practice, it is a way of covering the above behavior. 16 July 2014, 17:28:47 UTC
0400cd5 Make $<LINK_ONLY> available to projects (#14751) Previously this generator expression was used internally by the target_link_libraries command to honor private linking requirements of static libraries in their INTERFACE_LINK_LIBRARIES. Remove the check that limits $<LINK_ONLY> to this use case to make it available for project code to use too. 16 July 2014, 17:28:44 UTC
a0dc135 Merge topic 'refactor-link-internals' 1ca0c0e9 cmTarget: Refactor internal imported LinkInterface map 102eea60 cmTarget: Simplify internal ComputeLinkInterfaceLibraries method b0f57408 cmTarget: Move ComputeLinkInterfaceLibraries to internals c69e8a55 cmTarget: Refactor internal LinkInterface map 4db3990e cmTarget: Drop 'head' argument from processSources 4b8130b8 cmTarget: Drop 'head' argument from GetSourceFiles 4c763dd1 cmTarget: Drop 'head' argument from GetLanguages 190cabe7 cmTarget: Drop 'head' argument from ComputeLinkImplementationLanguages 16 July 2014, 17:04:21 UTC
66e88af Merge topic 'thread-sanitizer' 1e005ead CTest: Fix MemoryCheckType from 'ctest -T MemCheck' 44726714 ctest_memcheck: Add support for memory and leak sanitizer. 16 July 2014, 15:51:21 UTC
1e005ea CTest: Fix MemoryCheckType from 'ctest -T MemCheck' Before this commit, you would have to run ctest -S mode to get MemoryCheckType to work. This is because CMAKE_COMMAND was not set. The fix is to use cmSystemTools::GetCMakeCommand instead. 16 July 2014, 15:50:33 UTC
4472671 ctest_memcheck: Add support for memory and leak sanitizer. This adds support for memory and leak sanitizers. This is built into clang and gcc 4.8 and new compilers. It is activated with a -f switch during compile. 16 July 2014, 15:50:23 UTC
3dce6aa CMake Nightly Date Stamp 16 July 2014, 04:01:13 UTC
49bf3e7 Merge topic 'target-legacy-depends-only-for-vs6' 8a205b98 cmTarget: Compile old-style link dependencies only for VS 6 d57be904 cmTarget: Run old-style link dependencies only for VS 6 b3b44d13 cmTarget: Rename old-style link dependencies code as "ForVS6" 80cb12bb export_library_dependencies: Use original link libraries internally 15 July 2014, 14:48:22 UTC
41fc008 Merge topic 'FindCurses-overhaul' 6c8364e6 FindCurses: Overhaul Curses and NCurses search logic (#15011) 15 July 2014, 14:48:20 UTC
c005d95 Merge topic 'dev/ison-isoff-performance' 43a8c552 SystemTools: Use a set in Is{On,Off} 9270aa9a IsOff: Use the length for the string construction 15 July 2014, 14:48:18 UTC
29abb3d Merge topic 'dev/fix-cmake-rule-property' 4b139169 cmMakefile: fix __CMAKE_RULE property setting 15 July 2014, 14:48:17 UTC
d3076b1 Merge topic 'FindImageMagick-pkgconfig' 90245fe8 FindImageMagick: Use pkgconfig hints if available (#14012) 15 July 2014, 14:48:15 UTC
0bbebd3 Merge topic 'doc-package-target-import-once' 0fee3f47 Revert "Help: Update cmake-packages.7 examples to import targets only once" 15 July 2014, 14:48:13 UTC
0fee3f4 Revert "Help: Update cmake-packages.7 examples to import targets only once" This reverts commit cfab942e5ff8463f8053564e68179da110280b43. Since commit v2.8.11~362^2 (Generate an early-return guard in target Export files, 2012-11-30) an external include guard is not needed. 15 July 2014, 12:59:11 UTC
7bc8450 CMake Nightly Date Stamp 15 July 2014, 04:01:07 UTC
2cb8eed Merge branch 'release' 14 July 2014, 19:19:16 UTC
90245fe FindImageMagick: Use pkgconfig hints if available (#14012) Tested-by: bastien ROUCARIES <roucaries.bastien@gmail.com> 14 July 2014, 19:05:28 UTC
8a205b9 cmTarget: Compile old-style link dependencies only for VS 6 Compile all the "ForVS6" cmTarget members only on Windows. No other platforms support the VS 6 generator. 14 July 2014, 18:39:20 UTC
d57be90 cmTarget: Run old-style link dependencies only for VS 6 Invoke it at runtime only with the VS 6 generator. No other generators need it. 14 July 2014, 18:38:58 UTC
b3b44d1 cmTarget: Rename old-style link dependencies code as "ForVS6" The old link dependency analysis is now needed only for the VS 6 generator code delimited by CM_USE_OLD_VS6 to support project-provided project templates. Rename the related cmTarget members to be "ForVS6". 14 July 2014, 18:37:04 UTC
80cb12b export_library_dependencies: Use original link libraries internally This command was using the cmTarget::GetLinkLibraries method with a comment explaining how execution order gives it the dependencies before analysis. Just use cmTarget::GetOriginalLinkLibraries instead. 14 July 2014, 18:29:26 UTC
4b13916 cmMakefile: fix __CMAKE_RULE property setting It got put into the condition by mistake. 14 July 2014, 16:55:04 UTC
6c8364e FindCurses: Overhaul Curses and NCurses search logic (#15011) Produce a more consistent result by finding only a single include directory and reporting which headers may be included from it. The previous search for each header separately might find pieces from separate and incompatible packages. While at it, provide the CURSES_INCLUDE_DIRS result variable to be consistent with other modules. 14 July 2014, 15:23:02 UTC
1ca0c0e cmTarget: Refactor internal imported LinkInterface map Create the map entry up front and store in it a boolean value indicating whether the LinkInterface structure has been populated. This approach leads to shorter code that is easier to follow too. 14 July 2014, 14:21:46 UTC
102eea6 cmTarget: Simplify internal ComputeLinkInterfaceLibraries method Now that the method can see the full OptionalLinkInterface structure, store information there instead of passing it through arguments. 14 July 2014, 14:00:51 UTC
b0f5740 cmTarget: Move ComputeLinkInterfaceLibraries to internals There are no external callers, and this will allow the method to see the full OptionalLinkInterface internal structure. 14 July 2014, 13:55:52 UTC
c69e8a5 cmTarget: Refactor internal LinkInterface map Create the map entry up front and store in it boolean values indicating which pieces of the LinkInterface structure have been populated. This approach leads to shorter code that is easier to follow too. 14 July 2014, 13:51:51 UTC
back to top