summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CM_OVERRIDE: mark destructor overridden in the feature test.Daniel Pfeifer2016-06-271-0/+2
| | | | | | | | | | | | This is important for two reasons: 1. A compiler might warn about a class that has a virtual member function but no virtual destructor. We don't want to treat the feature as incomplete in this case. 2. MSVC10 supports the override identifier except on destructors. In this case, the feature really is incomplete and we want to detect it as such.
* Merge topic 'compiler-features'Brad King2016-06-2729-178/+241
|\ | | | | | | | | | | | | | | 7647f6af Add CM_OVERRIDE to some functions 5286110d cxx features: add check for override 09aa2c94 Use <unordered_set> where available ea5477e4 Make C++ feature checks extensible
| * Add CM_OVERRIDE to some functionsDaniel Pfeifer2016-06-2716-138/+146
| | | | | | | | | | | | | | Run clang-tidy's modernize-use-override checker. This checker must have issues in version 3.8. It has way too little matches. And it adds override to destructors. Revert the changes on the destructors and change override to CM_OVERRIDE.
| * cxx features: add check for overrideDaniel Pfeifer2016-06-273-0/+28
| |
| * Use <unordered_set> where availableDaniel Pfeifer2016-06-275-2/+18
| |
| * 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.
* | Merge topic 'ninja-osx-content-on-target'Brad King2016-06-272-2/+7
|\ \ | | | | | | | | | | | | 8bbd5db4 Ninja: Make bundle resources a dependency of their target
| * | Ninja: Make bundle resources a dependency of their targetFlorent Castelli2016-06-232-2/+7
| | | | | | | | | | | | Fixes #13816.
* | | CMake Nightly Date StampKitware Robot2016-06-271-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-06-261-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-06-251-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-06-241-1/+1
|/ /
* | Merge topic 'vs-tool-override'Brad King2016-06-231-0/+5
|\ \ | | | | | | | | | | | | ed05f11d VS: Add a VS_TOOL_OVERRIDE source file property
| * | VS: Add a VS_TOOL_OVERRIDE source file propertyGilles Khouzam2016-06-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | This property allow to specify a specific Visual Studio tool for a source file overriding the default tool behavior. For example, a `.resw` file being processed as a `PriResource` file. This has the advantage of being able to teach CMake to process new file types without code modifications.
* | | Merge topic 'vs-sdk-refs'Brad King2016-06-231-1/+21
|\ \ \ | | | | | | | | | | | | | | | | 35a6cac2 VS: Add VS_SDK_REFERENCES target property to reference external SDKs
| * | | VS: Add VS_SDK_REFERENCES target property to reference external SDKsGilles Khouzam2016-06-221-1/+21
| |/ / | | | | | | | | | | | | Allow one to specify external SDK references such as `Microsoft.AdMediatorWindows81, Version=1.0`.
* | | Merge topic 'xcode-bundle-extension'Brad King2016-06-231-0/+5
|\ \ \ | | | | | | | | | | | | | | | | e36e5a26 Xcode: Properly handle BUNDLE_EXTENSION
| * | | Xcode: Properly handle BUNDLE_EXTENSIONGregor Jasny2016-06-181-0/+5
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-06-231-1/+1
| |_|/ |/| |
* | | 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.