summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 'xcode-mig-support'Brad King2016-06-176-22/+87
|\ | | | | | | | | | | | | | | | | | | 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
| * Help: Add release note about XCODE_FILE_ATTRIBUTES source file propertyBrad King2016-06-171-0/+6
| |
| * Xcode: Add support for mig filesJames Touton2016-06-171-0/+2
| |
| * Xcode: Add XCODE_FILE_ATTRIBUTES source file propertyJames Touton2016-06-173-0/+26
| | | | | | | | 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-1723-6/+171
|\ \ | | | | | | | | | | | | | | | 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
| * | Help: Add notes for topic 'link_what_you_use'Brad King2016-06-171-0/+7
| | |
| * | Add options to run `ldd -u -r` as a "link-what-you-use" toolBill Hoffman2016-06-1722-6/+164
| | | | | | | | | | | | | | | | | | | | | 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 'ice-debug'Brad King2016-06-171-6/+36
|\ \ \ | | | | | | | | | | | | | | | | 86bcdbcd FindIce: Support finding both release and debug libraries
| * | | FindIce: Support finding both release and debug librariesRoger Leigh2016-06-161-6/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Search for both release and debug library variants, and use SelectLibraryConfigurations to choose the appropriate library. Also add both release and debug libraries to the imported targets.
* | | | 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 'ice-3.6.2'Brad King2016-06-161-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 82ecc2a3 FindIce: Add versions 3.6.1 and 3.6.2
| * | | | | FindIce: Add versions 3.6.1 and 3.6.2Roger Leigh2016-06-151-0/+2
| | | | | |
* | | | | | 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-1629-73/+71
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-148-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'findcuda-use-correct-runtime-for-required'Brad King2016-06-161-1/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90d114ed FindCUDA: Use the correct runtime in REQUIRED_VARS check
| * | | | | | | FindCUDA: Use the correct runtime in REQUIRED_VARS checkChuck Atkins2016-06-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | 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
| * | | | | | | | cmTargetLinkLibraryType: Extract from cmStandardIncludes.hDaniel Pfeifer2016-06-162-7/+23
| | | | | | | | |
| * | | | | | | | cmTypeMacro: Extract from cmStandardIncludes.hDaniel Pfeifer2016-06-162-22/+38
| | | | | | | | |
| * | | | | | | | cmCustomCommandLines: Extract from cmStandardIncludes.hDaniel Pfeifer2016-06-162-18/+39
| | | | | | | | |
| * | | | | | | | cmDocumentationEntry: Extract from cmStandardIncludesDaniel Pfeifer2016-06-132-25/+46
| | | | | | | | |
| * | | | | | | | cmConfigure.h: Establish as 'include first' fileDaniel Pfeifer2016-06-132-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | Merge topic 'clean-up-cmMakefile-IssueMessage'Brad King2016-06-162-6/+7
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5bbcf758 cmIfCommand: Don't rely on NestedError logic to issue messages 262ce91e cmMakefile: Extract invoke result variables
| * | | | | | | | | cmIfCommand: Don't rely on NestedError logic to issue messagesStephen Kelly2016-06-131-3/+3
| | | | | | | | | |
| * | | | | | | | | cmMakefile: Extract invoke result variablesStephen Kelly2016-06-131-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it more clear what is happening here.
* | | | | | | | | | Merge topic 'clean-up-Parser'Brad King2016-06-167-102/+90
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 905e738f Parser: Out-of-line conditional code to cmMakefile 0a9094cd Parser: Issue file open error messages through dedicated API
| * | | | | | | | | | Parser: Out-of-line conditional code to cmMakefileStephen Kelly2016-06-133-76/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify parser API.
| * | | | | | | | | | Parser: Issue file open error messages through dedicated APIStephen Kelly2016-06-135-26/+13
| |/ / / / / / / / /
* | | | | | | | | | Merge topic 'find_package-duplicate-search-paths'Brad King2016-06-162-8/+26
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 919db25c cmFindPackageCommand: remove duplicate paths from error message ebf18df5 cmFindPackageCommand: use iterators to loop over configurations
| * | | | | | | | | cmFindPackageCommand: remove duplicate paths from error messageBen Boeckel2016-06-132-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #15252.
| * | | | | | | | | cmFindPackageCommand: use iterators to loop over configurationsBen Boeckel2016-06-131-8/+9
| | | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2016-06-161-1/+1
| |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2016-06-151-1/+1
| |_|_|_|/ / / / |/| | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2016-06-141-1/+1
| |_|/ / / / / |/| | | | | |