summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-find-package-mode'Brad King2017-08-301-1/+1
|\ | | | | | | | | | | | | 18454ea4 cmake: Fix --find-package mode with imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1208
| * cmake: Fix --find-package mode with imported targetsBrad King2017-08-291-1/+1
| | | | | | | | | | | | | | | | The change in commit v3.9.0-rc1~116^2~6 (cmakemain: use script role for -P, 2017-05-11) accidentally left project commands out of find-package mode, causing packages that provide imported targets to break. Fixes: #17124
* | Merge topic 'cpack-dmg-iwyu'Brad King2017-08-301-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 8c51dbdd cmCPackDragNDropGenerator: Add missing include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1206
| * | cmCPackDragNDropGenerator: Add missing includeBrad King2017-08-291-0/+1
| |/ | | | | | | | | | | We use `std::sort` and so must include `<algorithm>`. Issue: #17233
* | Merge topic 'codeblocks-dedup'Brad King2017-08-301-6/+7
|\ \ | | | | | | | | | | | | | | | | | | 053d3141 CodeBlocks: Avoid listing files multiple times Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1160
| * | CodeBlocks: Avoid listing files multiple timesAlexandr (Sagrer) Gridnev2017-08-301-6/+7
| | | | | | | | | | | | Fixes: #17187
* | | install: Avoid CMP0054 warning in generated install scriptBrad King2017-08-301-2/+2
|/ / | | | | | | | | | | This could happen when an install component is called `TEST`. Fixes: #17211
* | Merge topic 'lexer'Daniel Pfeifer2017-08-3012-1490/+3421
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 168b97a5 Lexer: add a helper script to automate generating the lexers 376c1395 cmFortranLexer: regenerate with flex 2.6.4 (previously 2.6.1) 80c08c7c cmExprLexer: regenerate with flex 2.6.4 (previously 2.6.1) 59f78dcb cmDependsJavaLexer: regenerate with flex 2.6.4 (previously 2.6.1) d2e8351a cmCommandArgumentLexer: regenerate with flex 2.6.4 (previously 2.6.1) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1201
| * | cmFortranLexer: regenerate with flex 2.6.4 (previously 2.6.1)Matthias Maennich2017-08-283-497/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flex 2.6.3 introduces symbol remapping through macro definitions. hence the change appears bigger than one would expect from a minor version upgrade. In addition some manual cleanup that had to be done previously is now obsolete. namely: - the size_t cast of _yybytes_len in yy_scan_bytes (i is now also defined int and not size_t anymore) - the redefinition of yyl within yy_find_action (yyl is now already defined as int) Line number preprocessor directives (#line) were previously generated into the c source file. This actually breaks debugging as debuggers have a hard time finding the original cmFortranLexer.in.l and mapping the current instruction to a meaningful location within that file. The prefix "cmFortran_yy" can already be set as %option directly. For convenience also provide a sed command for all the manual steps that need to be done after generating. Signed-off-by: Matthias Maennich <matthias@maennich.net>
| * | cmExprLexer: regenerate with flex 2.6.4 (previously 2.6.1)Matthias Maennich2017-08-283-298/+824
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flex 2.6.3 introduces symbol remapping through macro definitions. hence the change appears bigger than one would expect from a minor version upgrade. In addition some manual cleanup that had to be done previously is now obsolete. namely: - the size_t cast of _yybytes_len in yy_scan_bytes (i is now also defined int and not size_t anymore) - the redefinition of yyl within yy_find_action (yyl is now already defined as int) Line number preprocessor directives (#line) were previously generated into the c source file. This actually breaks debugging as debuggers have a hard time finding the original cmExprLexer.in.l and mapping the current instruction to a meaningful location within that file. The prefix "cmExpr_yy" can already be set as %option directly. For convenience also provide a sed command for all the manual steps that need to be done after generating. Signed-off-by: Matthias Maennich <matthias@maennich.net>
| * | cmDependsJavaLexer: regenerate with flex 2.6.4 (previously 2.6.1)Matthias Maennich2017-08-283-395/+824
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flex 2.6.3 introduces symbol remapping through macro definitions. hence the change appears bigger than one would expect from a minor version upgrade. In addition some manual cleanup that had to be done previously is now obsolete. namely: - the size_t cast of _yybytes_len in yy_scan_bytes (i is now also defined int and not size_t anymore) - the redefinition of yyl within yy_find_action (yyl is now already defined as int) Line number preprocessor directives (#line) were previously generated into the c source file. This actually breaks debugging as debuggers have a hard time finding the original cmDependsJavaLexer.in.l and mapping the current instruction to a meaningful location within that file. The prefix "cmDependsJava_yy" can already be set as %option directly. For convenience also provide a sed command for all the manual steps that need to be done after generating. Signed-off-by: Matthias Maennich <matthias@maennich.net>
| * | cmCommandArgumentLexer: regenerate with flex 2.6.4 (previously 2.6.1)Matthias Maennich2017-08-283-300/+823
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flex 2.6.3 introduces symbol remapping through macro definitions. hence the change appears bigger than one would expect from a minor version upgrade. In addition some manual cleanup that had to be done previously is now obsolete. namely: - the size_t cast of _yybytes_len in yy_scan_bytes (i is now also defined int and not size_t anymore) - the redefinition of yyl within yy_find_action (yyl is now already defined as int) Line number preprocessor directives (#line) were previously generated into the c source file. This actually breaks debugging as debuggers have a hard time finding the original cmCommandArgumentLexer.in.l and mapping the current instruction to a meaningful location within that file. The prefix "cmCommandArgument_yy" can already be set as %option directly. For convenience also provide a sed command for all the manual steps that need to be done after generating. Signed-off-by: Matthias Maennich <matthias@maennich.net>
* | | Merge topic 'cstyle-casts'Daniel Pfeifer2017-08-3031-91/+95
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 190e3825 Replace C-style casts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1176
| * | | Replace C-style castsDaniel Pfeifer2017-08-2731-91/+95
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-08-301-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-08-291-1/+1
| |/ / |/| |
* | | Merge topic 'lexer'Brad King2017-08-282-278/+435
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef41bf85 cmListFileLexer: regenerate with flex 2.6.4 (previously 2.6.1) 9cacb0cb cmListFileLexer: fix 'bail out on seek-errors' also in original file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1185
| * | | cmListFileLexer: regenerate with flex 2.6.4 (previously 2.6.1)Matthias Maennich2017-08-252-276/+429
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flex 2.6.3 introduces symbol remapping through macro definitions. hence the change appears bigger than one would expect from a minor version upgrade. In addition some manual cleanup that had to be done previously is now obsolete. namely: - the size_t cast of _yybytes_len in yy_scan_bytes (i is now also defined int and not size_t anymore) - the redefinition of yyl within yy_find_action (yyl is now already defined as int) Line number preprocessor directives (#line) were previously generated into the c source file. This actually breaks debugging as debuggers have a hard time finding the original cmListFileLexer.in.l and mapping the current instruction to a meaningful location within that file. The prefix "cmListFileLexer_yy" can already be set as %option directly. For convenience also provide a sed command for all the manual steps that need to be done after generating. Signed-off-by: Matthias Maennich <matthias@maennich.net>
| * | | cmListFileLexer: fix 'bail out on seek-errors' also in original fileMatthias Maennich2017-08-251-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit v3.9.0-rc1~502^2 (cmListFileLexer: bail out on seek-errors, 2017-02-19) for bug # 16607 was only applied to the generated file. Also apply the fix now to the original. Signed-off-by: Matthias Maennich <matthias@maennich.net>
* | | | Merge topic 'cpackifw-repositories-directories'Brad King2017-08-282-0/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fe64511 CPackIFW: Add CPACK_IFW_REPOSITORIES_DIRECTORIES variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1150
| * | | | CPackIFW: Add CPACK_IFW_REPOSITORIES_DIRECTORIES variableKonstantin Podsvirov2017-08-172-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CPACK_IFW_REPOSITORIES_DIRECTORIES variable to specify additional repositories dirs that will be used to resolve and repack dependent components
* | | | | Merge topic 'gnu-to-ms-ninja-support'Brad King2017-08-281-1/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2d7ae07 Ninja: Implement support for GNUToMS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1165
| * | | | | Ninja: Implement support for GNUToMSAlbert Ziegenhagel2017-08-251-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Port the implementation from `cmMakefileTargetGenerator::GetLinkRule`. Fixes: #13870
* | | | | | CMake Nightly Date StampKitware Robot2017-08-281-1/+1
| | | | | |
* | | | | | Merge topic 'server-cxx11'Daniel Pfeifer2017-08-275-23/+36
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27d87fbd CTestCustom: Suppress exception loosening warning 7f29bbe6 server: always enable server 4614a3b2 server: backport to C++11 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1149
| * | | | | | server: always enable serverDaniel Pfeifer2017-08-262-21/+14
| | | | | | |
| * | | | | | server: backport to C++11Daniel Pfeifer2017-08-263-2/+22
| |/ / / / /
* | | | | | Merge topic 'cmSourceFile-Nocopy'Daniel Pfeifer2017-08-271-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 687aef91 cmSourceFile: Avoid unnecessary vector copy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1190
| * | | | | | cmSourceFile: Avoid unnecessary vector copySebastian Holtermann2017-08-261-4/+4
| | | | | | |
* | | | | | | Merge topic 'iwyu-keep-cmConfigure'Daniel Pfeifer2017-08-27316-331/+283
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ca2233e3 IWYU: Mark cmConfigure.h with pragma: keep Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1187
| * | | | | | | IWYU: Mark cmConfigure.h with pragma: keepDaniel Pfeifer2017-08-26316-331/+283
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Also remove `#include "cmConfigure.h"` from most source files.
* | | | | | | Merge topic 'cmConfigure-fix'Daniel Pfeifer2017-08-271-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 367a348a cmConfigure: Add missing # Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1189
| * | | | | | | cmConfigure: Add missing #Daniel Pfeifer2017-08-261-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2017-08-271-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Merge topic 'deb-libarchive-ar'Daniel Pfeifer2017-08-261-271/+19
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | df556e65 cmCPackDebGenerator: Use libarchive to create .deb file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1181
| * | | | | cmCPackDebGenerator: Use libarchive to create .deb fileDaniel Pfeifer2017-08-251-271/+19
| |/ / / / | | | | | | | | | | | | | | | | | | | | Remove the copy of OpenBSD's 'ar' implementation and instead use cmArchiveWrite with the "arbsd" format.
* | | | | CMake Nightly Date StampKitware Robot2017-08-261-1/+1
|/ / / /
* | | | Merge topic 'cxx11-nullptr'Brad King2017-08-25231-1207/+1165
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5962db43 Use C++11 nullptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1175
| * | | | Use C++11 nullptrDaniel Pfeifer2017-08-24231-1207/+1165
| | | | |
* | | | | Merge topic 'revert-xcode-9-new-buildsystem-support'Brad King2017-08-251-11/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ecee256 Xcode: Revert addition of "outputPaths" to custom command build phase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1183
| * | | | | Xcode: Revert addition of "outputPaths" to custom command build phaseBrad King2017-08-241-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.9.0~3^2 (Xcode: Add "outputPaths" to custom command script build phase, 2017-07-13) was meant to support Xcode 9's new build system. However, without matching "inputPaths", Xcode will not re-run the build phase if its outputs have already been generated. This broke the old Xcode build system too. Revert the change for now so at least the old Xcode build system works. Further investigation will be needed to add proper support for Xcode 9's new build system. Fixes: #17178
* | | | | | CMake Nightly Date StampKitware Robot2017-08-251-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'vs-sdk-refs'Brad King2017-08-241-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | efd0c013 VS: Fix VS_SDK_REFERENCES when target is not a Windows 10 app Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1166
| * | | | | VS: Fix VS_SDK_REFERENCES when target is not a Windows 10 appRoc Ramon2017-08-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Close the `<ItemGroup>` element whenever it is opened.
* | | | | | Merge topic 'ninja-gfortran-fpreprocessed'Brad King2017-08-241-1/+7
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90a34ff7 Ninja: Fix references to source files in gfortran diagnostics Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1146
| * | | | | Ninja: Fix references to source files in gfortran diagnosticsRaul Laasner2017-08-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ninja generator preprocesses and compiles separately for Fortran. When compiling, tell gfortran that the source is already preprocessed so that it will honor the `# <line>` directives when producing diagnostics messages. Fixes: #17160
* | | | | | CMake Nightly Date StampKitware Robot2017-08-241-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'autogen-optimize-cleanup'Brad King2017-08-236-367/+385
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e452e67 Remove AUTOGEN variables from cmSourceFile and cmMakefile 0f2e178f Autogen: Don't use cmMakefile::GetQtUiFilesWithOptions 13bb716f Autogen: Fix and extend SKIP_AUTOMOC test 727247c3 Autogen: Read skip files from makefile 1eb1b409 Autogen: Remove VS specific code exclusion 54ec2a8b Autogen: Initializer file type scanning optimizations cf7b3b96 Autogen: Initializer optimizations and cleanups Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1171
| * | | | | Remove AUTOGEN variables from cmSourceFile and cmMakefileSebastian Holtermann2017-08-224-25/+0
| | | | | |
| * | | | | Autogen: Don't use cmMakefile::GetQtUiFilesWithOptionsSebastian Holtermann2017-08-221-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of this patch is to allow later removal of AUTOGEN specific variables in cmMakefile and cmSourceFile.