Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make C++ feature checks extensible | Daniel Pfeifer | 2016-06-27 | 1 | -2/+2 |
| | | | | | | Turn the feature check for cxx11_unordered_map into a function such that we can use it for other features as well. Drop the 11 suffix, as we may want to check features from other standards. | ||||
* | Prefer std::ostream& over derivatives as parameters | Daniel Pfeifer | 2016-06-08 | 1 | -1/+1 |
| | |||||
* | Revise C++ coding style using clang-format | Kitware Robot | 2016-05-16 | 1 | -70/+98 |
| | | | | | | | | | | | | | 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. | ||||
* | Format include directive blocks and ordering with clang-format | Brad King | 2016-04-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sort include directives within each block (separated by a blank line) in lexicographic order (except to prioritize `sys/types.h` first). First run `clang-format` with the config file: --- SortIncludes: false ... Commit the result temporarily. Then run `clang-format` again with: --- SortIncludes: true IncludeCategories: - Regex: 'sys/types.h' Priority: -1 ... Commit the result temporarily. Start a new branch and cherry-pick the second commit. Manually resolve conflicts to preserve indentation of re-ordered includes. This cleans up the include ordering without changing any other style. Use the following command to run `clang-format`: $ git ls-files -z -- \ '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' | egrep -z -v '(Lexer|Parser|ParserHelper)\.' | egrep -z -v '^Source/cm_sha2' | egrep -z -v '^Source/(kwsys|CursesDialog/form)/' | egrep -z -v '^Utilities/(KW|cm).*/' | egrep -z -v '^Tests/Module/GenerateExportHeader' | egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' | xargs -0 clang-format -i This selects source files that do not come from a third-party. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de> | ||||
* | Source: Stabilize include order | Brad King | 2016-04-29 | 1 | -0/+2 |
| | | | | | Each source file has a logical first include file. Include it in an isolated block so that tools that sort includes do not move them. | ||||
* | Drop Visual Studio 6 generator | Brad King | 2016-03-09 | 1 | -64/+0 |
| | | | | | | This generator has been deprecated since CMake 3.3. Remove it. Update documentation, modules, and tests to drop content specific to this generator. | ||||
* | Merge topic 'minor-cleanups' | Brad King | 2015-10-28 | 1 | -2/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13a37f5f cmMakefile: Fix typo in comment 958508bb cmMakefile: Fix style 91a829c1 Makefiles: Remove unused variable e0213882 cmTarget: Remove obsolete member 0554c2c9 cmTarget: Fix style b22e5d0a Remove some obsolete declarations ce43ed2c Use LocalGenerator when possible d90c9738 Makefiles: Remove some unneeded casts 331023ae Export: Remove unused variable a03f3d0e cmFunctionBlocker: Constify method d50c4220 Xcode: Fix typo in comment 803f1901 Xcode: Remove trailing semicolon | ||||
| * | cmTarget: Remove obsolete member | Stephen Kelly | 2015-10-27 | 1 | -1/+0 |
| | | |||||
| * | Remove some obsolete declarations | Stephen Kelly | 2015-10-27 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that cmStandardIncludes.h is included before any platform header in cmGeneratorExpressionEvaluator.h. That file needs to change as a result of removal of the cmMakefile.h header from cmGeneratorExpressionNode.h, affecting the compilation of cmGeneratorExpressionNode.cxx. On AIX we need to include our own headers first to get large file support macros defined consistently within system headers. The old order in this header worked only because it was always included after other headers. | ||||
* | | cmGlobalGenerator: Remove direct storage of targets | Stephen Kelly | 2015-10-27 | 1 | -1/+4 |
| | | | | | | | | Find the target by looping when needed. | ||||
* | | cmGeneratorTarget: Move LinkLanguagePropagatesToDependents from cmTarget | Stephen Kelly | 2015-10-27 | 1 | -3/+0 |
| | | |||||
* | | cmTarget: Make compatbility API explicit. | Stephen Kelly | 2015-10-27 | 1 | -6/+2 |
| | | |||||
* | | cmGeneratorTarget: Move GetFrameworkVersion from cmTarget | Stephen Kelly | 2015-10-26 | 1 | -4/+0 |
|/ | |||||
* | cmGlobalGenerator: Move GeneratorTargetsType to usage site. | Stephen Kelly | 2015-10-24 | 1 | -0/+4 |
| | |||||
* | cmGeneratorTarget: Copy the policy map from the cmTarget. | Stephen Kelly | 2015-10-20 | 1 | -17/+0 |
| | |||||
* | cmTarget: Remove unused NameResolvesToFramework. | Stephen Kelly | 2015-10-20 | 1 | -2/+0 |
| | |||||
* | Move ComputeLinkType out of cmTarget. | Stephen Kelly | 2015-10-20 | 1 | -3/+0 |
| | | | | | Keep it out of the way, so that it does not become part of cmGeneratorTarget, but where it can be used to implement CMP0003. | ||||
* | cmGeneratorTarget: Move IsDLLPlatform from cmTarget. | Stephen Kelly | 2015-10-20 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move HaveWellDefinedOutputFiles from cmTarget. | Stephen Kelly | 2015-10-20 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move GetExportMacro from cmTarget. | Stephen Kelly | 2015-10-20 | 1 | -5/+0 |
| | |||||
* | cmGeneratorTarget: Move IsCFBundleOnApple from cmTarget. | Stephen Kelly | 2015-10-19 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move IsXCTestOnApple from cmTarget. | Stephen Kelly | 2015-10-19 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move IsLinkable from cmTarget. | Stephen Kelly | 2015-10-19 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move GetExportName from cmTarget. | Stephen Kelly | 2015-10-18 | 1 | -1/+0 |
| | |||||
* | cmGeneratorTarget: Move ComputeVersionedName from cmTarget. | Stephen Kelly | 2015-10-16 | 1 | -7/+0 |
| | |||||
* | cmGeneratorTarget: Move GetTargetVersion from cmTarget. | Stephen Kelly | 2015-10-16 | 1 | -11/+0 |
| | |||||
* | cmGeneratorTarget: Move CheckCMP0004 from cmTarget. | Stephen Kelly | 2015-10-16 | 1 | -4/+0 |
| | |||||
* | cmGeneratorTarget: Move ImportInfo from cmTarget. | Stephen Kelly | 2015-10-16 | 1 | -24/+0 |
| | |||||
* | cmGeneratorTarget: Move ImportedGetLocation from cmTarget. | Stephen Kelly | 2015-10-16 | 1 | -2/+0 |
| | |||||
* | cmGeneratorTarget: Move GetFullNameImported from cmTarget. | Stephen Kelly | 2015-10-16 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move GetObjectLibrariesCMP0026 from cmTarget. | Stephen Kelly | 2015-10-16 | 1 | -2/+0 |
| | |||||
* | cmState: Move GetTargetTypeName from cmTarget. | Stephen Kelly | 2015-10-14 | 1 | -1/+0 |
| | |||||
* | cmState: Move TargetType enum from cmTarget. | Stephen Kelly | 2015-10-14 | 1 | -10/+5 |
| | | | | | | | Mostly automated: values=( "EXECUTABLE" "STATIC_LIBRARY" "SHARED_LIBRARY" "MODULE_LIBRARY" "OBJECT_LIBRARY" "UTILITY" "GLOBAL_TARGET" "INTERFACE_LIBRARY" "UNKNOWN_LIBRARY" "TargetType") for i in "${values[@]}"; do git grep -l cmTarget::$i | xargs sed -i "s|cmTarget::$i|cmState::$i|g"; done | ||||
* | cmTarget: Move link type enum out. | Stephen Kelly | 2015-10-14 | 1 | -6/+4 |
| | | | | Remove a reason for generate time code to depend on the cmTarget header/type. | ||||
* | cmTarget: Move ImportInfoMap out of internal class. | Stephen Kelly | 2015-10-14 | 1 | -0/+3 |
| | |||||
* | cmTarget: Move backtrace member out of internal class. | Stephen Kelly | 2015-10-14 | 1 | -0/+2 |
| | |||||
* | cmGeneratorTarget: Move GetSupportDirectory from cmTarget. | Stephen Kelly | 2015-10-12 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move HasImportLibrary from cmTarget. | Stephen Kelly | 2015-10-12 | 1 | -3/+3 |
| | |||||
* | cmGeneratorTarget: Move HasImplibGNUtoMS from cmTarget. | Stephen Kelly | 2015-10-12 | 1 | -8/+0 |
| | |||||
* | cmGeneratorTarget: Move FindTargetToLink from cmTarget. | Stephen Kelly | 2015-10-12 | 1 | -2/+0 |
| | |||||
* | cmGeneratorTarget: Move GetUtilityItems from cmTarget. | Stephen Kelly | 2015-10-12 | 1 | -2/+0 |
| | |||||
* | cmGeneratorTarget: Move IsImportedSharedLibWithoutSOName from cmTarget. | Stephen Kelly | 2015-10-10 | 1 | -4/+0 |
| | |||||
* | cmGeneratorTarget: Move GetOutputTargetType from cmTarget. | Stephen Kelly | 2015-10-10 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move HasMacOSXRpathInstallNameDir from cmTarget. | Stephen Kelly | 2015-10-10 | 1 | -6/+0 |
| | |||||
* | cmGeneratorTarget: Move HaveInstallTreeRPATH from cmTarget. | Stephen Kelly | 2015-10-08 | 1 | -2/+0 |
| | |||||
* | cmGeneratorTarget: Move ComputePDBOutputDir from cmTarget. | Stephen Kelly | 2015-10-08 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move IsNullImpliedByLinkLibraries from cmTarget. | Stephen Kelly | 2015-10-08 | 1 | -3/+0 |
| | |||||
* | cmGeneratorTarget: Move output info from cmTarget. | Stephen Kelly | 2015-10-08 | 1 | -14/+0 |
| | |||||
* | cmGeneratorTarget: Move UsesDefaultOutputDir from cmTarget. | Stephen Kelly | 2015-10-08 | 1 | -4/+0 |
| | |||||
* | cmGeneratorTarget: Move GetPDBDirectory from cmTarget. | Stephen Kelly | 2015-10-08 | 1 | -6/+0 |
| |