summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Make C++ feature checks extensibleDaniel Pfeifer2016-06-279-38/+49
| | | | | | 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.
* CMake Nightly Date StampKitware Robot2016-06-221-1/+1
|
* Merge topic 'output-converter'Brad King2016-06-214-48/+31
|\ | | | | | | | | | | | | | | | | | | 8ddbd4c2 cmOutputConverter: remove unnecessary conversion bdaadbdc cmOutputConverter: collapse ConvertToOutputForExisting functions 191fc3a0 cmOutputConverter: remove unused 'local' argument b86007e3 cmOutputConverter: remove 'optional' argument cde127b0 cmOutputConverter::Convert: invert condition c23f89bc cmOutputConverter::Convert: make precondition explicit
| * cmOutputConverter: remove unnecessary conversionDaniel Pfeifer2016-06-201-6/+4
| |
| * cmOutputConverter: collapse ConvertToOutputForExisting functionsDaniel Pfeifer2016-06-202-22/+6
| |
| * cmOutputConverter: remove unused 'local' argumentDaniel Pfeifer2016-06-204-15/+8
| |
| * cmOutputConverter: remove 'optional' argumentDaniel Pfeifer2016-06-202-7/+13
| | | | | | | | | | | | Remove the 'optional' paramenter from the second overload of the Convert function. This parameter is used from one single location. Inline the codepath for which the argument is true to the callsite.
| * cmOutputConverter::Convert: invert conditionDaniel Pfeifer2016-06-201-6/+6
| | | | | | | | Make the control flow of the 'optional' argument more explicit.
| * cmOutputConverter::Convert: make precondition explicitDaniel Pfeifer2016-06-201-2/+4
| |
* | Merge topic 'refactor-flags'Brad King2016-06-211-1/+1
|\ \ | | | | | | | | | | | | 41925efe cmGeneratorTarget: Fix Fortran module directory regression
| * | cmGeneratorTarget: Fix Fortran module directory regressionBrad King2016-06-211-1/+1
| | | | | | | | | | | | | | | | | | Refactoring in commit 49f10f0d (cmGeneratorTarget: Adopt Fortran module directory generation, 2016-06-10) accidentally made a local variable declared `static` causing results to be re-used incorrectly.
* | | CMake Nightly Date StampKitware Robot2016-06-211-1/+1
| |/ |/|
* | Merge topic 'cmDependsJavaParserHelper-dangling-ptr'Brad King2016-06-202-37/+19
|\ \ | | | | | | | | | | | | fe27879c cmDependsJavaParserHelper: fix dangling pointer
| * | cmDependsJavaParserHelper: fix dangling pointerDaniel Pfeifer2016-06-202-37/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cmDependsJavaParserHelper tries to implement a "deep copy" in the assignment operator of the internal class CurrentClass. To do that, it uses std::copy and std::back_inserter. The copy constructor is implemented in terms of the assignment operator but it does not initialize the member NestedClasses, a pointer to vector. This pointer is dereferenced in the assignment operator. Change the pointer to a value and rely on the compiler generated special functions.
* | | Merge topic 'cmake-trace-source'Brad King2016-06-204-1/+40
|\ \ \ | | | | | | | | | | | | | | | | e63151ff cmake: Add an option to control what files needs to be traced
| * | | cmake: Add an option to control what files needs to be tracedAlex Turbov2016-06-174-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even in relatively small projects using `--trace` (and `--trace-expand`) may produce a lot of output. When developing a custom module usually one is interested in output of only a few particular modules. Add a `--trace-source=<file>` option to enable tracing only a subset of source files. The final output would be only from requested modules, ignoring anything else not matched to given filename(s).
* | | | Merge topic 'refactor-flags'Brad King2016-06-2013-160/+157
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 802b36fb cmExtraSublimeTextGenerator: Use GetTargetCompileFlags 3c488ce8 cmLocalGenerator: Adopt target compile flag generation 5467e794 cmLocalGenerator: Add method to get Fortran-specific compiler flags 49f10f0d cmGeneratorTarget: Adopt Fortran module directory generation 0392f72b Refactor Makefile/Ninja tool working directory storage
| * | | cmExtraSublimeTextGenerator: Use GetTargetCompileFlagsTobias Hunger2016-06-171-24/+3
| | | | | | | | | | | | | | | | | | | | | | | | Replace some custom code with equivalent code from the framework. This also fixes some fixmes left in the custom code.
| * | | cmLocalGenerator: Adopt target compile flag generationTobias Hunger2016-06-173-31/+32
| | | | | | | | | | | | | | | | | | | | | | | | Factor the flag generation out of cmCommonTargetGenerator::GetFlags into a new cmLocalGenerator::GetTargetCompileFlags method. This will allow it to be used without a target generator available.
| * | | cmLocalGenerator: Add method to get Fortran-specific compiler flagsBrad King2016-06-176-49/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a cmLocalGenerator::GetTargetFortranFlags virtual method to get generator-specific generation of Fortran-specific flags. Implement it in cmLocalCommonGenerator by moving the implementation from cmCommonTargetGenerator::AddFortranFlags. This will allow it to be used without having a target generator available. Inspired-by: Tobias Hunger <tobias.hunger@qt.io>
| * | | cmGeneratorTarget: Adopt Fortran module directory generationTobias Hunger2016-06-175-46/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move code to create/get the fortran module directory from the cmCommonTargetGenerator to cmGeneratorTarget. Rename the ComputeFortranModuleDirectory method to CreateFortranModuleDirectory as this method *creates* the directory if it is missing.
| * | | Refactor Makefile/Ninja tool working directory storageBrad King2016-06-178-16/+23
| |/ / | | | | | | | | | | | | Move cmCommonTargetGenerator::WorkingDirectory to cmLocalCommonGenerator and add an access method.
* | | Merge topic 'cmake-gui-Qt-LGPLv3'Brad King2016-06-202-7/+8
|\ \ \ | | | | | | | | | | | | | | | | 9ad10c8f cmake-gui: Reference LGPLv3 when redistributing Qt
| * | | cmake-gui: Reference LGPLv3 when redistributing QtBrad King2016-06-172-7/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Download http://www.gnu.org/licenses/lgpl.txt and place it as Licenses/LGPLv3.txt in our source tree. When building cmake-gui, use option CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL to enable notification in the "About" dialog of how the distribution of Qt is licensed. Install the license file as ${CMAKE_ROOT}/Licenses/LGPLv3.txt so that the dialog can display a path to it.
* | | Merge topic 'revert-vs-clang-minsize'Brad King2016-06-201-1/+0
|\ \ \ | | | | | | | | | | | | | | | | 78249be2 VS: Fix regressed mapping for the cl `/Os` compiler flag
| * | | VS: Fix regressed mapping for the cl `/Os` compiler flagBrad King2016-06-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.6.0-rc1~279^2~10 (VS: in Clang/C2 toolset, setup correct compiler settings, 2016-02-18) a flag mapping was added for the clang `-Os` flag. However, this collides with a mapping we already had for the MSVC flag of the same name. This is a symptom of a larger problem in that the VS generators need a per-toolset flag map (issue #16153). For now, simply drop the new mapping and drop `-Os` from clang compiler flags in the MinSizeRel configuration. Reported-by: Felix Bruns <felixbruns@gmail.com>
* | | | CMake Nightly Date StampKitware Robot2016-06-201-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-06-191-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-06-181-1/+1
| |/ / |/| |
* | | Merge topic 'xcode-mig-support'Brad King2016-06-173-22/+69
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8be00e44 Help: Add release note about XCODE_FILE_ATTRIBUTES source file property 27eb657d Xcode: Add support for mig files 811f6c82 Xcode: Add XCODE_FILE_ATTRIBUTES source file property ef494edf Xcode: Don't emit empty settings blocks. 82ebbf68 Xcode: Add function to conditionally add Xcode Attributes 025edea0 Xcode: Add const qualifiers
| * | | Xcode: Add support for mig filesJames Touton2016-06-171-0/+2
| | | |
| * | | Xcode: Add XCODE_FILE_ATTRIBUTES source file propertyJames Touton2016-06-171-0/+14
| | | | | | | | | | | | | | | | This adds values to the ATTRIBUTES list in PBXBuildFile settings.
| * | | Xcode: Don't emit empty settings blocks.James Touton2016-06-171-6/+7
| | | |
| * | | Xcode: Add function to conditionally add Xcode AttributesGregor Jasny2016-06-172-0/+25
| | | |
| * | | Xcode: Add const qualifiersJames Touton2016-06-171-16/+21
| | | |
* | | | Merge topic 'link_what_you_use'Brad King2016-06-175-6/+79
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | a0902efa Help: Add notes for topic 'link_what_you_use' 96242f80 Add options to run `ldd -u -r` as a "link-what-you-use" tool
| * | | | Add options to run `ldd -u -r` as a "link-what-you-use" toolBill Hoffman2016-06-175-6/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a LINK_WHAT_YOU_USE target property and corresponding CMAKE_LINK_WHAT_YOU_USE variable to enable this behavior. Extend link commands by running `ldd -u -r` to detect shared libraries that are linked but not needed.
* | | | | Merge topic 'CodeBlocks-generated-sources'Brad King2016-06-171-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | afd6cc6b CodeBlocks: Show generated files in non-utility targets
| * | | | | CodeBlocks: Show generated files in non-utility targetsEnrico Bedau2016-06-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 2.6.3 the UTILITY target may have source files. A defect was filed that these files are now visible in the source tree. A fix later removed all generated files from the source tree, regardless of the target type. You can't even include them by using the SOURCES option. This fix adds generated files again, except for the UTILITY target which cluttered the source tree. Fixes #14272.
* | | | | | Merge topic 'CodeBlocks-include-order'Brad King2016-06-171-7/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76b462ea cmExtraCodeBlocksGenerator: Do not shuffle include directories
| * | | | | | cmExtraCodeBlocksGenerator: Do not shuffle include directoriesTobias Hunger2016-06-171-7/+11
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Report include directories in a sensible order. Do not shuffle them when trying to make them unique.
* | | | | | CMake Nightly Date StampKitware Robot2016-06-171-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge topic 'cmOutputConverter-stringstream'Brad King2016-06-162-192/+39
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d645b03e cmOutputConverter: implement Shell__GetArgument using ostringstream
| * | | | | cmOutputConverter: implement Shell__GetArgument using ostringstreamDaniel Pfeifer2016-06-152-192/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need to calculate the resulting string length beforehand.
* | | | | | Merge topic 'cleanup-streams'Brad King2016-06-1627-69/+69
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | cmXMLWriter: use ifstream from KWSysDaniel Pfeifer2016-06-141-2/+2
| | | | | | |
| * | | | | | Prefer istringstream and ostringstream over stringstream.Daniel Pfeifer2016-06-1417-55/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use istringsream for parsing, ostringstream for generation.
| * | | | | | Remove redundant arguments from fstream constructorsDaniel Pfeifer2016-06-146-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't pass the default value of the openmode parameter explicitly.
| * | | | | | Access std::ios_base with std::iosDaniel Pfeifer2016-06-143-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Just because it is shorter.
* | | | | | | Merge topic 'iwyu-preparation'Brad King2016-06-166-84/+163
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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