summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fortran-parser-keywords'Brad King2016-09-096-491/+567
|\ | | | | | | | | | | 695f0d0d cmFortranParser: Parse keywords as lexical tokens 1619fb46 cmFortranParser: Simplify grammar by skipping unknown statements
| * cmFortranParser: Parse keywords as lexical tokensBrad King2016-09-086-466/+581
| | | | | | | | | | | | | | | | Teach the lexer to match and return specific Fortran keywords as tokens. Update the parser to use these instead of always using a WORD token and then checking the text. This avoids extra string comparisons and will allow more grammar productions to be unambiguously added later for additional Fortran statements.
| * cmFortranParser: Simplify grammar by skipping unknown statementsBrad King2016-09-082-191/+152
| | | | | | | | | | | | | | Our Fortran grammar is a bare minimum to extract dependencies. Other statement syntax can be ignored, so simply skip to the end of unrecognized statements. This allows some of our existing productions to be dropped.
* | CMake Nightly Date StampKitware Robot2016-09-091-1/+1
|/
* Merge topic 'fortran-depend-cleanup'Brad King2016-09-0810-1365/+1291
|\ | | | | | | | | | | | | | | d28da906 cmFortranParser: Inject a newline at end-of-file when missing 8c65a501 cmFortranParser: Revise indentation style to match rest of CMake f70c71c5 cmFortranLexer: Update to flex 2.6 e11cd31f Fortran: Warn when dependency scanning fails to parse a source file
| * cmFortranParser: Inject a newline at end-of-file when missingBrad King2016-09-062-2/+15
| | | | | | | | | | | | Our parser grammar expects all statements to end in an `EOSTMT` token such as a newline. Ensure that the last statement in a file can be parsed even if it is missing a newline.
| * cmFortranParser: Revise indentation style to match rest of CMakeBrad King2016-09-063-333/+260
| | | | | | | | While at it, remove unused token CPP_TOENDL.
| * cmFortranLexer: Update to flex 2.6Brad King2016-09-065-1026/+1005
| | | | | | | | | | | | Revise the documented modifications we need to make to the flex-generated source file according to the needs of the new version. Also drop the duplicate copyright notice block from the generated file.
| * Fortran: Warn when dependency scanning fails to parse a source fileBrad King2016-09-063-4/+11
| | | | | | | | | | | | We expect to handle all relevant statements and ignore those that we do not understand. Warn if this process ever fails. Otherwise dependency information may be silently left out.
* | Merge topic 'vs-15-generator'Brad King2016-09-0811-5/+259
|\ \ | | | | | | | | | | | | | | | | | | bdc679a8 VS15: Add Visual Studio 15 generator a8936656 VS: Update v140 flag tables from VS 15 MSBuild files 21346d3f Features: Record features for VS 15 Preview 4
| * | VS15: Add Visual Studio 15 generatorBrad King2016-09-078-1/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call the generator "Visual Studio 15" without any year because the preview version of VS 15 does not provide a year in the product name. Copy cmGlobalVisualStudio14Generator to cmGlobalVisualStudio15Generator and update version numbers accordingly. Add the VS15 enumeration value. Note that we do not need to add a MSVC15 variable or v150 toolset because Visual Studio 15 comes with an updated version of the v140 toolset and remains ABI-compatible. Teach tests VSExternalInclude, RunCMake.GeneratorPlatform, and RunCMake.GeneratorToolset to treat VS 15 as they do VS 10-14. Closes: #16143
| * | VS: Update v140 flag tables from VS 15 MSBuild filesBrad King2016-09-063-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run cmparseMSBuildXML.py on cl.xml, lib.xml, link.xml, and masm.xml to generate our flag tables: python cmparseMSBuildXML.py -x ".../Common7/IDE/VC/VCTargets/1033/cl.xml" > cmVS14CLFlagTable.h python cmparseMSBuildXML.py -x ".../Common7/IDE/VC/VCTargets/1033/lib.xml" > cmVS14LibFlagTable.h python cmparseMSBuildXML.py -x ".../Common7/IDE/VC/VCTargets/1033/link.xml" > cmVS14LinkFlagTable.h python cmparseMSBuildXML.py -x ".../Common7/IDE/VC/VCTargets/BuildCustomizations/masm.xml" > cmVS14MASMFlagTable.h Manually integrate the changes with those we've made since earlier import to add the new flag mappings.
* | | Merge topic 'install-export-root-prefix'Brad King2016-09-081-1/+4
|\ \ \ | | | | | | | | | | | | | | | | 290e4ce8 install: Fix computed import prefix in export files when it is "/"
| * | | install: Fix computed import prefix in export files when it is "/"Ben Keller2016-09-061-1/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When exporting from a project (with install(EXPORT ...)), the `<PROJECT>Targets.cmake` file contains logic for computing the `_IMPORT_PREFIX` from its own location. This `_IMPORT_PREFIX` is then used in the `<PROJECT>Targets-<config>.cmake` file to generate the `IMPORTED_LOCATION_<CONFIG>`. The generation unconditionally appends a "/" to `_IMPORT_PREFIX` before appending the rest of the path. If `_IMPORT_PREFIX` is "/", then the `IMPORTED_LOCATION_<CONFIG>` properties all start with exactly two leading slashes ("//"). Exactly two leading slashes is a special case in POSIX file paths, such that its interpretation is left up to the implementation. This means that changing the path prefix from "/" to "//" should not be allowed. Since references to `_IMPORT_PREFIX` are always followed by a "/", simply check the value to replace "/" with "".
* | | CMake Nightly Date StampKitware Robot2016-09-081-1/+1
| | |
* | | Merge topic 'fix-continue-after-error'Brad King2016-09-074-16/+17
|\ \ \ | | | | | | | | | | | | | | | | f1ad71d7 cmMakefile: Restore nested error logic use of cmExecutionStatus
| * | | cmMakefile: Restore nested error logic use of cmExecutionStatusBrad King2016-09-064-16/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 14a8d61f (cmMakefile: Port nested error logic away from cmExecutionStatus) we fail to continue processing function and macro bodies after non-fatal errors. A non-fatal error should not stop foreach loops, macro bodies, nested bodies, or the outer script. Add a test covering these cases, and revert the change to fix them. Also revert commit 2af853de (cmMakefile: Simplify IssueMessage implementation) because the assertion it added (which was removed by the above commit and is restored by reverting it) is incorrect. We do have code paths that call cmMakefile::IssueMessage with an empty execution stack, such as in CheckForUnusedVariables's LogUnused call.
* | | Merge topic 'include-what-you-use'Brad King2016-09-0738-82/+230
|\ \ \ | | | | | | | | | | | | | | | | d47c7bf6 CPack: include what you use
| * | | CPack: include what you useDaniel Pfeifer2016-09-0638-82/+230
| |/ /
* | | Merge topic 'wix-fix-static-prefix'Brad King2016-09-0710-38/+79
|\ \ \ | | | | | | | | | | | | | | | | 1bc33257 CPackWIX: Fix incomplete CPACK_WIX_SKIP_PROGRAM_FOLDER implementation
| * | | CPackWIX: Fix incomplete CPACK_WIX_SKIP_PROGRAM_FOLDER implementationMichael Stürmer2016-09-0610-38/+79
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 17bbf6af (CPackWIX: Implement new CPACK_WIX_SKIP_PROGRAM_FOLDER feature) generates GUIDs for most but not all components when the feature is active. Generate the remaining GUIDs as well. Co-Author: Nils Gladitz <nilsgladitz@gmail.com>
* | | Merge topic 'vs-minor-cleanups'Brad King2016-09-072-7/+20
|\ \ \ | | |/ | |/| | | | | | | | | | 042aca55 VS: Verify that MSBuild.exe and devenv.com exist before using them a756c74d Help: Clarify meaning of MSVC<NN> variables
| * | VS: Verify that MSBuild.exe and devenv.com exist before using themBrad King2016-09-062-7/+20
| |/
* | CMake Nightly Date StampKitware Robot2016-09-071-1/+1
|/
* Merge topic 'genex-LINK_ONLY-not-linking'Brad King2016-09-061-3/+8
|\ | | | | | | | | f6fd0abc Genex: Diagnose invalid LINK_ONLY usage instead of crashing
| * Genex: Diagnose invalid LINK_ONLY usage instead of crashingBrad King2016-09-051-3/+8
| | | | | | | | | | | | | | | | When `$<LINK_ONLY:...>` is used outside of linking we may evaluate it without a `dagChecker`. Do not dereference the NULL pointer and issue a diagnostic instead. Closes: #16287
* | Merge topic 'cpack-deb-long-filenames'Brad King2016-09-061-2/+10
|\ \ | | | | | | | | | | | | 4ffdd564 CPack/DEB: Add option to select archive type
| * | CPack/DEB: Add option to select archive typeDomen Vrankar2016-09-051-2/+10
| | | | | | | | | | | | | | | | | | | | | Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an archive type that supports long file names. Closes: #14332
* | | Merge topic 'macro-parenthesis'Brad King2016-09-067-15/+16
|\ \ \ | | | | | | | | | | | | | | | | 1a9de803 surround macro arguments with parentheses
| * | | surround macro arguments with parenthesesDaniel Pfeifer2016-09-057-15/+16
| | | |
* | | | Merge topic 'cm_nullptr'Brad King2016-09-062-8/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 0039ffa2 use CM_NULLPTR
| * | | | use CM_NULLPTRDaniel Pfeifer2016-09-052-8/+9
| |/ / /
* | | | Merge topic 'qtdialog-tidy'Brad King2016-09-069-33/+51
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 62c5f9af QtDialog: fix clang-tidy warnings
| * | | | QtDialog: fix clang-tidy warningsDaniel Pfeifer2016-09-069-33/+51
| |/ / /
* | | | CMake Nightly Date StampKitware Robot2016-09-061-1/+1
| | | |
* | | | Merge topic 'include-what-you-use'Brad King2016-09-0526-36/+116
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 32f756c8 CursesDialog: include what you use
| * | | | CursesDialog: include what you useDaniel Pfeifer2016-09-0326-36/+116
| |/ / /
* | | | Merge topic 'tidy-readability-redundant-string-cstr'Brad King2016-09-059-67/+60
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 60dcaaea tidy: Fix readability-redundant-string-cstr issues
| * | | tidy: Fix readability-redundant-string-cstr issuesGregor Jasny2016-09-049-67/+60
| | |/ | |/|
* | | CMake Nightly Date StampKitware Robot2016-09-051-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2016-09-041-1/+1
|/
* fix a load of include-what-you-use violationsDaniel Pfeifer2016-09-03165-438/+1102
|
* cmCTest: don't redefine cout and cerrDaniel Pfeifer2016-09-031-10/+0
| | | | | | | | The definitions have been introduced to ensure that cout and cerr are not used in certain files. However, this limitation does not apply to all source files that require cmCTest.h to be included. Furthermore, the definitions cause side effects depending on the include order. In total, the definitions do more harm than good. Remove them.
* make sure to include cmConfigure.h before cmStandardIncludes.hDaniel Pfeifer2016-09-0372-1/+145
|
* CMake Nightly Date StampKitware Robot2016-09-031-1/+1
|
* Merge topic 'autogen-base32'Brad King2016-09-024-12/+157
|\ | | | | | | | | | | 228f4e9b cmFilePathUuid: Use Base32 string instead of Base64 string b481ddb3 Add cmBase32Encoder class
| * cmFilePathUuid: Use Base32 string instead of Base64 stringSebastian Holtermann2016-09-021-12/+6
| | | | | | | | | | | | This produces files that will not collide on a case-insensitive filesystem. It also avoids the need for special character substitutions.
| * Add cmBase32Encoder classSebastian Holtermann2016-09-023-0/+151
| |
* | Merge topic 'vs14-debug-enum-older-toolsets'Brad King2016-09-021-1/+3
|\ \ | | | | | | | | | | | | 9998774f VS: Fix VS 2015 .vcxproj debug setting for v80 toolset
| * | VS: Fix VS 2015 .vcxproj debug setting for v80 toolsetBrad King2016-09-011-1/+3
| | | | | | | | | | | | Closes: #16281