Re: [CMake] [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual Studio 2017 Project
Dear All, I have another observation. The project is generated normally via cmake_gui.exe. The issue occurs only in cmd. Thank you in advance for your kind help, Best regards, Rajmund Kail From: Kail, Rajmund (GE Healthcare) Sent: Tuesday, January 15, 2019 11:10 AM To: cmake@cmake.org Subject: [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual Studio 2017 Project Dear All, I'm contacting you, because we are having issues with CMake a few days ago and it makes our daily work very difficult. The problem is that CMake cannot configure and generate a Visual Studio solution from an existing C++ codebase. We are attempting to generate a Visual Studio 2017 64-bit solution. As per the error message VCTargetsPath is not found, so MSBuild is crashing after a few seconds. [cid:image002.png@01D4ACC5.51C58160] I tried running MSBuild.exe in developer console, but it displays nothing at all. (The error code is 0x05). [cid:image003.png@01D4ACC5.51C58160] MSBuild.exe is executing in Powershell however. [cid:image004.png@01D4ACC5.51C58160] My question is how could we overcome the above issue? Could you please give us some possible workarounds or what direction should we take in order to investigate? Thank you in advance for your kind assistance, Best regards, Rajmund Kail C++ Software Engineer -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
[CMake] [CMake 3.13.3] [MSBuild] Issue on configure/generate Visual Studio 2017 Project
Dear All, I'm contacting you, because we are having issues with CMake a few days ago and it makes our daily work very difficult. The problem is that CMake cannot configure and generate a Visual Studio solution from an existing C++ codebase. We are attempting to generate a Visual Studio 2017 64-bit solution. As per the error message VCTargetsPath is not found, so MSBuild is crashing after a few seconds. [cid:image002.png@01D4ACC2.D50710F0] I tried running MSBuild.exe in developer console, but it displays nothing at all. (The error code is 0x05). [cid:image003.png@01D4ACC2.D50710F0] MSBuild.exe is executing in Powershell however. [cid:image001.png@01D4ACC2.953023E0] My question is how could we overcome the above issue? Could you please give us some possible workarounds or what direction should we take in order to investigate? Thank you in advance for your kind assistance, Best regards, Rajmund Kail C++ Software Engineer -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
Re: [CMake] How build AIX shared libraries with custom exports list
I submitted a patch a few weeks ago that would allow you to override the generated export list with the target property LINK_FLAGS. This has been merged, but it is not yet present in the latest release. The simplest way to go about this would be to set the variable CMAKE_CXX_CREATE_SHARED_LIBRARY as in cmake-3.13.3/Modules/Compiler/XL.cmake, but skip the bits you don't want. On 1/15/19, 3:29 AM, "CMake on behalf of Raimo Kangassalo" wrote: We need to build an AIX shared library with our own export list. It seems that cmake always runs CreateExportList and I have not found a way to suppress it. We use xlc and xlC compilers. Can someone help us with that. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
[CMake] CMake QtTest integration
Hello all, I recently wrote a set of scripts to integrate QtTest into CMake, similar to the work that Matthew Woehlke did with Google Test a while back. The script that I wrote runs the test executable in the post- build stage, records the list of tests in the executable, and generates a CTest script to run them. It uses the same TEST_INCLUDE_FILES property that the Google Test test discovery functionality uses. You can check out the source code here: https://github.com/Kitware/seal-tk/blob/master/src/test/CMakeLists.txt https://github.com/Kitware/seal-tk/blob/master/cmake/QtTestDiscoverTest s.cmake Kyle -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
[CMake] Additional traffic on cmake.org concerning cmake documentation
Hi, this is a question to the people at cmake.org. The CmakeEd plugin for eclipse [1],[2] currently comes with a copy of the cmake documentation. Unfortunately, it refers to a fairly outdated version of cmake (2.8.6) and the scripts to convert the docs to Eclipse help format do not longer work and I have no time to maintain them. As the author of CMakeEd, I would like to replace the bundled doc-files by online links to documentation on cmake.org. So my question is: Are there any objections regarding the additional IP traffic on cmake.org imposed if CmakeEd-users would browse the online docs instead of a local copy? Or would it be preferable to have a download-on- demand feature for the docs? CMakeEd currently has about 18k installs and gets roughly 700 more each month. The attachment show the items to be replaced by online links to cmake.org. Regards, Martin [1] https://github.com/15knots/cmakeed [2] https://marketplace.eclipse.org/content/cmake-editor -- Cd wrttn wtht vwls s mch trsr. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
Re: [CMake] Additional traffic on cmake.org concerning cmake documentation
On Tue, Jan 15, 2019 at 3:54 PM Martin Weber wrote: > Hi, > > So my question is: Are there any objections regarding the additional IP > traffic on cmake.org imposed if CmakeEd-users would browse the online > docs > instead of a local copy? Or would it be preferable to have a download-on- > demand feature for the docs? > > CMakeEd currently has about 18k installs and gets roughly 700 more each > month. > The attachment show the items to be replaced by online links to cmake.org. > > Regards, > Martin > > Does the plugin use the cmake installed on the local machine? Whenever I've installed CMake it comes with the HTML documents along with the binaries and modules. Best regards, F -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
[CMake] Invoice-Detail
Hello, Attached are your payment documentation and invoice. I have enclosed a copy of the invoice for your reference, you can download view using this link Hope you have a wonderful weekend. Julien Jomier Phone (Cell): 928-386-2132 Phone (Home): 928-386-2338 eMail:julien.jom...@kitware.com -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
[CMake] How build AIX shared libraries with custom exports list
We need to build an AIX shared library with our own export list. It seems that cmake always runs CreateExportList and I have not found a way to suppress it. We use xlc and xlC compilers. Can someone help us with that. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake
[Cmake-commits] CMake branch, master, updated. v3.13.3-893-gc07fa6d
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via c07fa6d98c3ca2bc645c23c4a437d48d57d3eb8d (commit) via 427ebecdf5336b9915179464586d929850a95101 (commit) from 2033c1e56fd3d9367fc4eb9a2595c3c592575d54 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c07fa6d98c3ca2bc645c23c4a437d48d57d3eb8d commit c07fa6d98c3ca2bc645c23c4a437d48d57d3eb8d Merge: 2033c1e 427ebec Author: Kyle Edwards AuthorDate: Tue Jan 15 14:49:27 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 09:49:35 2019 -0500 Merge topic 'find_package-doc-clarification' 427ebecdf5 Help/find_package: clarify intended behavior with REQUIRED QUIET Acked-by: Kitware Robot Merge-request: !2777 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=427ebecdf5336b9915179464586d929850a95101 commit 427ebecdf5336b9915179464586d929850a95101 Author: Ben Boeckel AuthorDate: Wed Jan 9 11:19:50 2019 -0500 Commit: Ben Boeckel CommitDate: Mon Jan 14 10:42:10 2019 -0500 Help/find_package: clarify intended behavior with REQUIRED QUIET See #18773 diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst index 937a930..cafef8c 100644 --- a/Help/command/find_package.rst +++ b/Help/command/find_package.rst @@ -23,9 +23,9 @@ Finds and loads settings from an external project. ``_FOUND`` will be set to indicate whether the package was found. When the package is found package-specific information is provided through variables and :ref:`Imported Targets` documented by the package itself. The -``QUIET`` option disables messages if the package cannot be found. The -``REQUIRED`` option stops processing with an error message if the package -cannot be found. +``QUIET`` option disables informational messages, including those indicating +that the package cannot be found if it is not ``REQUIRED``. The ``REQUIRED`` +option stops processing with an error message if the package cannot be found. A package-specific list of required components may be listed after the ``COMPONENTS`` option (or after the ``REQUIRED`` option if present). --- Summary of changes: Help/command/find_package.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.13.3-900-gd4a42dd
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via d4a42dd4a87c9caa222a7a40150db937258698d2 (commit) via cd0881be61149346649f3aef9b69d58bd7a2549a (commit) from f3b7652efcdd9a2e248ed2ec83ce7fc10944f194 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d4a42dd4a87c9caa222a7a40150db937258698d2 commit d4a42dd4a87c9caa222a7a40150db937258698d2 Merge: f3b7652 cd0881b Author: Brad King AuthorDate: Tue Jan 15 16:38:10 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 11:38:24 2019 -0500 Merge topic 'iwyu-clang-6' cd0881be61 IWYU: Update CMake code for IWYU built with Clang 6 Acked-by: Kitware Robot Merge-request: !2810 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cd0881be61149346649f3aef9b69d58bd7a2549a commit cd0881be61149346649f3aef9b69d58bd7a2549a Author: Brad King AuthorDate: Tue Jan 15 09:59:46 2019 -0500 Commit: Brad King CommitDate: Tue Jan 15 10:00:50 2019 -0500 IWYU: Update CMake code for IWYU built with Clang 6 IWYU now correctly requires `` for `std::move`. It also requires a container header when used via a range-based for loop. diff --git a/Source/CPack/cmCPackArchiveGenerator.cxx b/Source/CPack/cmCPackArchiveGenerator.cxx index ee1070f..b43f1c9 100644 --- a/Source/CPack/cmCPackArchiveGenerator.cxx +++ b/Source/CPack/cmCPackArchiveGenerator.cxx @@ -10,6 +10,7 @@ #include "cmWorkingDirectory.h" #include +#include #include #include #include diff --git a/Source/CPack/cmCPackExternalGenerator.cxx b/Source/CPack/cmCPackExternalGenerator.cxx index 9f7b236..ff69418 100644 --- a/Source/CPack/cmCPackExternalGenerator.cxx +++ b/Source/CPack/cmCPackExternalGenerator.cxx @@ -13,6 +13,7 @@ #include "cmsys/FStream.hxx" +#include #include #include diff --git a/Source/CPack/cmCPackSTGZGenerator.cxx b/Source/CPack/cmCPackSTGZGenerator.cxx index ef0d118..e55ea87 100644 --- a/Source/CPack/cmCPackSTGZGenerator.cxx +++ b/Source/CPack/cmCPackSTGZGenerator.cxx @@ -6,6 +6,7 @@ #include #include #include +#include #include "cmCPackGenerator.h" #include "cmCPackLog.h" diff --git a/Source/CTest/cmParseMumpsCoverage.cxx b/Source/CTest/cmParseMumpsCoverage.cxx index 18412ba..488d237 100644 --- a/Source/CTest/cmParseMumpsCoverage.cxx +++ b/Source/CTest/cmParseMumpsCoverage.cxx @@ -9,6 +9,7 @@ #include #include #include +#include cmParseMumpsCoverage::cmParseMumpsCoverage( cmCTestCoverageHandlerContainer& cont, cmCTest* ctest) diff --git a/Source/CTest/cmProcess.cxx b/Source/CTest/cmProcess.cxx index c4cf046..7737f65 100644 --- a/Source/CTest/cmProcess.cxx +++ b/Source/CTest/cmProcess.cxx @@ -7,7 +7,6 @@ #include "cmCTestTestHandler.h" #include "cmsys/Process.h" -#include #include #include #include @@ -15,6 +14,7 @@ #if !defined(_WIN32) # include #endif +#include #define CM_PROCESS_BUF_SIZE 65536 diff --git a/Source/cmAuxSourceDirectoryCommand.cxx b/Source/cmAuxSourceDirectoryCommand.cxx index 1f9f580..106e7a7 100644 --- a/Source/cmAuxSourceDirectoryCommand.cxx +++ b/Source/cmAuxSourceDirectoryCommand.cxx @@ -5,6 +5,7 @@ #include "cmsys/Directory.hxx" #include #include +#include #include "cmAlgorithms.h" #include "cmMakefile.h" diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx index 93115b6..3821144 100644 --- a/Source/cmExportInstallFileGenerator.cxx +++ b/Source/cmExportInstallFileGenerator.cxx @@ -4,6 +4,7 @@ #include "cmAlgorithms.h" #include "cmExportSet.h" +#include "cmExportSetMap.h" #include "cmGeneratedFileStream.h" #include "cmGeneratorExpression.h" #include "cmGeneratorTarget.h" @@ -21,8 +22,6 @@ #include #include -class cmExportSetMap; - cmExportInstallFileGenerator::cmExportInstallFileGenerator( cmInstallExportGenerator* iegen) : IEGen(iegen) diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index e7f3ada..84fcb95 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -5,6 +5,7 @@ #include "cmsys/RegularExpression.hxx" #include #include +#include #include #include #include diff --git a/Source/cmFileAPICMakeFiles.cxx b/Source/cmFileAPICMakeFiles.cxx index 799a047..5590bc2 100644 --- a/Source/cmFileAPICMakeFiles.cxx +++ b/Source/cmFileAPICMakeFiles.cxx @@ -12,6 +12,7 @@ #include "cm_jsoncpp_value.h" #include +#include namespace { diff --git a/Source/cmFileAPICache.cxx b/Source/cmFileAPICache.cxx index 074994a..f96bc90 100644 --- a/Source/cmFileAPICache.cxx +++
[Cmake-commits] CMake branch, master, updated. v3.13.3-898-gf3b7652
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via f3b7652efcdd9a2e248ed2ec83ce7fc10944f194 (commit) via 9e4b6bcbe8f4d3bf495650309b94b045a3c3d7fe (commit) via 613323a78bf33e22f510e41c8733fe2bc8df606a (commit) via bf2503089b19d1462be7838ed7364361481587d4 (commit) via ee555c2a33258a7b272f049aca369edf4d86fa7c (commit) from c07fa6d98c3ca2bc645c23c4a437d48d57d3eb8d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f3b7652efcdd9a2e248ed2ec83ce7fc10944f194 commit f3b7652efcdd9a2e248ed2ec83ce7fc10944f194 Merge: c07fa6d 9e4b6bc Author: Kyle Edwards AuthorDate: Tue Jan 15 15:06:50 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 10:07:02 2019 -0500 Merge topic 'clang-scan-build-warnings' 9e4b6bcbe8 Source/LexerParser: Suppress "Use of zero-allocated memory" warning 613323a78b cmGlobalUnixMakefileGenerator3: Fix memory leak warning bf2503089b liblzma: fix undefined shift result ee555c2a33 libuv: fix clang scan-build warning Acked-by: Kitware Robot Merge-request: !2796 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9e4b6bcbe8f4d3bf495650309b94b045a3c3d7fe commit 9e4b6bcbe8f4d3bf495650309b94b045a3c3d7fe Author: Kyle Edwards AuthorDate: Fri Jan 11 18:30:13 2019 -0500 Commit: Kyle Edwards CommitDate: Mon Jan 14 10:31:38 2019 -0500 Source/LexerParser: Suppress "Use of zero-allocated memory" warning clang scan-build warns about YY_CURRENT_BUFFER_LVALUE being zero- allocated, but the whole point of the macro is to know that it's not zero. Wrap the entire file in an "#ifndef __clang_analyzer__" block in order to suppress the warning. diff --git a/Source/LexerParser/cmCommandArgumentLexer.cxx b/Source/LexerParser/cmCommandArgumentLexer.cxx index 6b4fc85..c96f8b3 100644 --- a/Source/LexerParser/cmCommandArgumentLexer.cxx +++ b/Source/LexerParser/cmCommandArgumentLexer.cxx @@ -664,6 +664,8 @@ Modify cmCommandArgumentLexer.cxx: /* IWYU pragma: no_forward_declare yyguts_t */ +#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */ + #include "cmCommandArgumentParserHelper.h" /* Replace the lexer input function. */ @@ -2246,3 +2248,5 @@ void cmCommandArgument_SetupEscapes(yyscan_t yyscanner, bool noEscapes) BEGIN(ESCAPES); } } + +#endif /* __clang_analyzer__ */ diff --git a/Source/LexerParser/cmCommandArgumentLexer.in.l b/Source/LexerParser/cmCommandArgumentLexer.in.l index 5927b9e..79275dd 100644 --- a/Source/LexerParser/cmCommandArgumentLexer.in.l +++ b/Source/LexerParser/cmCommandArgumentLexer.in.l @@ -18,6 +18,8 @@ Modify cmCommandArgumentLexer.cxx: /* IWYU pragma: no_forward_declare yyguts_t */ +#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */ + #include "cmCommandArgumentParserHelper.h" /* Replace the lexer input function. */ @@ -145,3 +147,5 @@ void cmCommandArgument_SetupEscapes(yyscan_t yyscanner, bool noEscapes) BEGIN(ESCAPES); } } + +#endif /* __clang_analyzer__ */ diff --git a/Source/LexerParser/cmDependsJavaLexer.cxx b/Source/LexerParser/cmDependsJavaLexer.cxx index 36cac61..ed6eea9 100644 --- a/Source/LexerParser/cmDependsJavaLexer.cxx +++ b/Source/LexerParser/cmDependsJavaLexer.cxx @@ -860,6 +860,8 @@ Modify cmDependsJavaLexer.cxx: /* IWYU pragma: no_forward_declare yyguts_t */ +#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */ + #include #include "cmDependsJavaParserHelper.h" @@ -2811,3 +2813,7 @@ void yyfree (void * ptr , yyscan_t yyscanner) } #define YYTABLES_NAME "yytables" + +/*--*/ + +#endif /* __clang_analyzer__ */ diff --git a/Source/LexerParser/cmDependsJavaLexer.in.l b/Source/LexerParser/cmDependsJavaLexer.in.l index 01a0fa3..b48d1bd 100644 --- a/Source/LexerParser/cmDependsJavaLexer.in.l +++ b/Source/LexerParser/cmDependsJavaLexer.in.l @@ -18,6 +18,8 @@ Modify cmDependsJavaLexer.cxx: /* IWYU pragma: no_forward_declare yyguts_t */ +#ifndef __clang_analyzer__ /* Suppress clang scan-build warnings */ + #include #include "cmDependsJavaParserHelper.h" @@ -173,3 +175,7 @@ null { PRIMITIVE; return jp_NULLLITERAL; } } %% + +/*--*/ + +#endif /* __clang_analyzer__ */ diff --git a/Source/LexerParser/cmExprLexer.cxx b/Source/LexerParser/cmExprLexer.cxx index cb24687..fd0f745 100644 --- a/Source/LexerParser/cmExprLexer.cxx +++ b/Source/LexerParser/cmExprLexer.cxx @@ -664,6 +664,8 @@ Modify cmExprLexer.cxx: /* IWYU
[Cmake-commits] CMake branch, master, updated. v3.13.3-907-gb2084a3
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via b2084a330d73f92b7d55d22921b2e2d9e1d462cc (commit) via 5d3b8eed4bf7d4b4b2534861aa96f517479596af (commit) via f7f15a77ea81eb51d5544859189563c708e487a7 (commit) via 97d21092944354cce5de9a68a7d9bc637cda085d (commit) via 0d887397367b4b8c01a584e8e1a4b3192ca7af18 (commit) via a4841e12c0e3865a585774b118e7b9840bc1b253 (commit) via 6845e2559d66be8d2c67d936ca597ade05b4ebbc (commit) from d4a42dd4a87c9caa222a7a40150db937258698d2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b2084a330d73f92b7d55d22921b2e2d9e1d462cc commit b2084a330d73f92b7d55d22921b2e2d9e1d462cc Merge: 5d3b8ee 6845e25 Author: Brad King AuthorDate: Tue Jan 15 18:11:23 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:12:08 2019 -0500 Merge topic 'deprecate-policy-old' 6845e2559d Add deprecation warnings for policies CMP0065 and below Acked-by: Kitware Robot Merge-request: !2793 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5d3b8eed4bf7d4b4b2534861aa96f517479596af commit 5d3b8eed4bf7d4b4b2534861aa96f517479596af Merge: f7f15a7 0d88739 Author: Brad King AuthorDate: Tue Jan 15 18:10:12 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:11:08 2019 -0500 Merge topic 'update-kwsys' 0d88739736 Merge branch 'upstream-KWSys' into update-kwsys a4841e12c0 KWSys 2019-01-14 (1541d849) Acked-by: Kitware Robot Merge-request: !2801 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f7f15a77ea81eb51d5544859189563c708e487a7 commit f7f15a77ea81eb51d5544859189563c708e487a7 Merge: d4a42dd 97d2109 Author: Brad King AuthorDate: Tue Jan 15 18:10:02 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:10:08 2019 -0500 Merge topic 'FindBoost-test-env' 97d2109294 Tests: Make RunCMake.FindBoost robust to Boost_ROOT in environment Acked-by: Kitware Robot Merge-request: !2802 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=97d21092944354cce5de9a68a7d9bc637cda085d commit 97d21092944354cce5de9a68a7d9bc637cda085d Author: Brad King AuthorDate: Mon Jan 14 07:44:32 2019 -0500 Commit: Brad King CommitDate: Mon Jan 14 07:44:32 2019 -0500 Tests: Make RunCMake.FindBoost robust to Boost_ROOT in environment Remove the environment variable within the test to avoid CMP0074 behavior. diff --git a/Tests/RunCMake/FindBoost/RunCMakeTest.cmake b/Tests/RunCMake/FindBoost/RunCMakeTest.cmake index 5d0577b..eef350c 100644 --- a/Tests/RunCMake/FindBoost/RunCMakeTest.cmake +++ b/Tests/RunCMake/FindBoost/RunCMakeTest.cmake @@ -1,4 +1,5 @@ include(RunCMake) +unset(ENV{Boost_ROOT}) run_cmake(CMakePackage) run_cmake(NoCXX) https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0d887397367b4b8c01a584e8e1a4b3192ca7af18 commit 0d887397367b4b8c01a584e8e1a4b3192ca7af18 Merge: 848dc85 a4841e1 Author: Brad King AuthorDate: Mon Jan 14 07:38:40 2019 -0500 Commit: Brad King CommitDate: Mon Jan 14 07:38:40 2019 -0500 Merge branch 'upstream-KWSys' into update-kwsys * upstream-KWSys: KWSys 2019-01-14 (1541d849) https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a4841e12c0e3865a585774b118e7b9840bc1b253 commit a4841e12c0e3865a585774b118e7b9840bc1b253 Author: KWSys Upstream AuthorDate: Mon Jan 14 07:36:32 2019 -0500 Commit: Brad King CommitDate: Mon Jan 14 07:38:39 2019 -0500 KWSys 2019-01-14 (1541d849) Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 1541d8496d0ae0e7c10eabcedb55db95f72afa4a (master). Upstream Shortlog - Sean McBride (1): f44cbf93 Fixed clang -Wextra-semi-stmt warnings diff --git a/ProcessUNIX.c b/ProcessUNIX.c index 094c2ee..f65690b 100644 --- a/ProcessUNIX.c +++ b/ProcessUNIX.c @@ -1162,7 +1162,7 @@ static int kwsysProcessWaitForPipe(kwsysProcess* cp, char** data, int* length, case KWSYSPE_PIPE_STDERR: wd->PipeId = kwsysProcess_Pipe_STDERR; break; - }; + } return 1; } } else if (n < 0 && errno == EAGAIN) { diff --git a/testCommandLineArguments.cxx b/testCommandLineArguments.cxx index ef87436..15f9c02 100644 --- a/testCommandLineArguments.cxx +++ b/testCommandLineArguments.cxx @@ -165,25 +165,26 @@ int testCommandLineArguments(int argc, char* argv[]) } size_t cc; #define CompareTwoLists(list1, list_valid, lsize) \ - if (list1.size() != lsize) {
[Cmake-commits] CMake branch, master, updated. v3.13.3-924-g67422bf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 67422bf579e5c274794f131f008bec4ec1e7d4b9 (commit) via d7835e4d0e6858eeff12c6e8d09a42db6acad4bd (commit) via 1d328d8119482ca658434c7eddc07178fd363ae0 (commit) via 88b90fb1ff8b5cef816cedcf6dd378cc706806d6 (commit) via 4cf301ca77ccb487f0ef5172d6525667896dc84a (commit) via bf1a1caefeceaaad8f86e613e086b244a569456b (commit) via 11e43a19a47797ed539924022d7c54b2f92125e9 (commit) via e01d04b3a1aade55f4e086c47624869b77639544 (commit) via 414aa6c81ec62ab2f728fab31aa189ce674484a4 (commit) via 59c408d053cfe90273db04c3804ed91d7ad59d8f (commit) via 214a0bc924b35cc18adddc603bea58d456e74e64 (commit) via 77303314dcd58cc820c5e9ad9c30c0428d59b45a (commit) via 57862079d8956d30711559eadbf0da31b39917f1 (commit) via 4308eb3d165dfc473182021c12ec877e388f60a2 (commit) via 5b1364a2e39cd799d663c597bafa4222be888088 (commit) via 10a1477b631d9173a32827a315aebf1941c87564 (commit) via 971d490e5b22449a9d770e8675799698f857a452 (commit) from b2084a330d73f92b7d55d22921b2e2d9e1d462cc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=67422bf579e5c274794f131f008bec4ec1e7d4b9 commit 67422bf579e5c274794f131f008bec4ec1e7d4b9 Merge: d7835e4 414aa6c Author: Brad King AuthorDate: Tue Jan 15 18:21:14 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:21:21 2019 -0500 Merge topic 'simplify-boolean-expr' 414aa6c81e clang-tidy: Simplify boolean expressions Acked-by: Kitware Robot Merge-request: !2740 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d7835e4d0e6858eeff12c6e8d09a42db6acad4bd commit d7835e4d0e6858eeff12c6e8d09a42db6acad4bd Merge: 1d328d8 7730331 Author: Brad King AuthorDate: Tue Jan 15 18:19:56 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:20:01 2019 -0500 Merge topic 'fix-source-group-CMakeLists.txt' 77303314dc Restore support for a custom source group for CMakeLists.txt Acked-by: Kitware Robot Merge-request: !2803 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1d328d8119482ca658434c7eddc07178fd363ae0 commit 1d328d8119482ca658434c7eddc07178fd363ae0 Merge: 88b90fb 59c408d Author: Brad King AuthorDate: Tue Jan 15 18:18:34 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:18:54 2019 -0500 Merge topic 'extendwhitelist' 59c408d053 cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'. Acked-by: Kitware Robot Merge-request: !2808 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=88b90fb1ff8b5cef816cedcf6dd378cc706806d6 commit 88b90fb1ff8b5cef816cedcf6dd378cc706806d6 Merge: 4cf301c 214a0bc Author: Brad King AuthorDate: Tue Jan 15 18:17:58 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:18:04 2019 -0500 Merge topic 'rel-win7' 214a0bc924 Utilities/Release: Build for Windows 7 and above Acked-by: Kitware Robot Merge-request: !2807 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4cf301ca77ccb487f0ef5172d6525667896dc84a commit 4cf301ca77ccb487f0ef5172d6525667896dc84a Merge: bf1a1ca 5b1364a Author: Brad King AuthorDate: Tue Jan 15 18:16:41 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:16:46 2019 -0500 Merge topic 'vs10_cs_cf_support' 5b1364a2e3 cmVisualStudio10TargetGenerator: Fix .NET Compact Framework projects. Acked-by: Kitware Robot Merge-request: !2715 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bf1a1caefeceaaad8f86e613e086b244a569456b commit bf1a1caefeceaaad8f86e613e086b244a569456b Merge: 11e43a1 10a1477 Author: Brad King AuthorDate: Tue Jan 15 18:15:37 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:15:44 2019 -0500 Merge topic 'check-fortran-run' 10a1477b63 CheckFortranSourceRuns: Add module to check if Fortran code runs Acked-by: Kitware Robot Merge-request: !2714 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=11e43a19a47797ed539924022d7c54b2f92125e9 commit 11e43a19a47797ed539924022d7c54b2f92125e9 Merge: e01d04b 5786207 Author: Brad King AuthorDate: Tue Jan 15 18:12:42 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:14:25 2019 -0500 Merge topic 'refactor-cmDocumentation' 57862079d8 cmDocumentation: Get rid of raw pointers in AllSections map 4308eb3d16 cmDocumentationSection: Remove unused parameter in constructor Acked-by: Kitware Robot Merge-request: !2692
[Cmake-commits] CMake branch, master, updated. v3.13.3-931-gda566d4
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via da566d4de885130e182edc80f13691f5ca24bb61 (commit) via 41b0c0dc739c34550b8e9054b9a88405afb6518d (commit) via 2119c33b7e7b5fc348c0b4b24e402bcacb18d5db (commit) via 57e48f16f2c3b73fb27057267c8092a41005bb75 (commit) via bdef729646a5a559c295ef9c0fb83eb8a6b34905 (commit) via 68d316e0cf278021d9fa4553471d29803d09a394 (commit) via d8ed309d0529d9a7b28da561c3640290a8041b68 (commit) from 67422bf579e5c274794f131f008bec4ec1e7d4b9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=da566d4de885130e182edc80f13691f5ca24bb61 commit da566d4de885130e182edc80f13691f5ca24bb61 Merge: 41b0c0d 2119c33 Author: Brad King AuthorDate: Tue Jan 15 18:25:56 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:26:02 2019 -0500 Merge topic 'fetchcontent-uses-terminal' 2119c33b7e FetchContent: Give access to the terminal for download and update Acked-by: Kitware Robot Acked-by: Michael Hirsch, Ph.D. Merge-request: !2800 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=41b0c0dc739c34550b8e9054b9a88405afb6518d commit 41b0c0dc739c34550b8e9054b9a88405afb6518d Merge: 67422bf 57e48f1 Author: Brad King AuthorDate: Tue Jan 15 18:23:29 2019 + Commit: Kitware Robot CommitDate: Tue Jan 15 13:23:38 2019 -0500 Merge topic 'vs2019' 57e48f16f2 VS: Add Visual Studio 16 2019 generator bdef729646 VS: Parameterize VS 2017 generator to support future versions 68d316e0cf VS: Rename VS 2017 generator sources to be version-independent d8ed309d05 VS: Parameterize cmVSSetupAPIHelper instances with VS version Acked-by: Kitware Robot Merge-request: !2789 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2119c33b7e7b5fc348c0b4b24e402bcacb18d5db commit 2119c33b7e7b5fc348c0b4b24e402bcacb18d5db Author: Craig Scott AuthorDate: Mon Jan 14 22:56:19 2019 +1100 Commit: Craig Scott CommitDate: Mon Jan 14 23:32:18 2019 +1100 FetchContent: Give access to the terminal for download and update A main scenario where this is needed is when a git operation needs the password to a private key and asks for it on the console. Without this change, such operations can appear to hang indefinitely with no prompt if QUIET is in effect (which it is by default). Another scenario this addresses is when progress of a download or update should be shown. Without this change, all such progress is buffered with some generators and will only be shown at the end, which defeats the purpose of logging any progress to begin with. Relates: #18238 diff --git a/Modules/FetchContent.cmake b/Modules/FetchContent.cmake index 98cdf6c..c65ae9e 100644 --- a/Modules/FetchContent.cmake +++ b/Modules/FetchContent.cmake @@ -691,6 +691,13 @@ function(__FetchContent_directPopulate contentName) BUILD_COMMAND INSTALL_COMMAND TEST_COMMAND + # We force both of these to be ON since we are always executing serially + # and we want all steps to have access to the terminal in case they + # need input from the command line (e.g. ask for a private key password) + # or they want to provide timely progress. We silently absorb and + # discard these if they are set by the caller. + USES_TERMINAL_DOWNLOAD + USES_TERMINAL_UPDATE ) set(multiValueArgs "") diff --git a/Modules/FetchContent/CMakeLists.cmake.in b/Modules/FetchContent/CMakeLists.cmake.in index 9a7a771..0095b11 100644 --- a/Modules/FetchContent/CMakeLists.cmake.in +++ b/Modules/FetchContent/CMakeLists.cmake.in @@ -18,4 +18,6 @@ ExternalProject_Add(${contentName}-populate BUILD_COMMAND "" INSTALL_COMMAND "" TEST_COMMAND"" +USES_TERMINAL_DOWNLOAD YES +USES_TERMINAL_UPDATEYES ) diff --git a/Tests/RunCMake/FetchContent/CMakeLists.txt b/Tests/RunCMake/FetchContent/CMakeLists.txt index d3137f6..3cc2e43 100644 --- a/Tests/RunCMake/FetchContent/CMakeLists.txt +++ b/Tests/RunCMake/FetchContent/CMakeLists.txt @@ -1,3 +1,7 @@ cmake_minimum_required(VERSION 3.9) project(${RunCMake_TEST} NONE) + +# Tests assume no previous downloads in the output directory +file(REMOVE_RECURSE ${CMAKE_CURRENT_BINARY_DIR}/_deps) + include(${RunCMake_TEST}.cmake) diff --git a/Tests/RunCMake/FetchContent/RunCMakeTest.cmake b/Tests/RunCMake/FetchContent/RunCMakeTest.cmake index 621fb8b..9c1ab66 100644 ---
[Cmake-commits] CMake branch, master, updated. v3.13.3-932-g7721b70
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "CMake". The branch, master has been updated via 7721b70e231c94188a8f5643fddad661fe6f1eb1 (commit) from da566d4de885130e182edc80f13691f5ca24bb61 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7721b70e231c94188a8f5643fddad661fe6f1eb1 commit 7721b70e231c94188a8f5643fddad661fe6f1eb1 Author: Kitware Robot AuthorDate: Wed Jan 16 00:01:07 2019 -0500 Commit: Kitware Robot CommitDate: Wed Jan 16 00:01:07 2019 -0500 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 7ae4417..1a300f2 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -1,5 +1,5 @@ # CMake version number components. set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 13) -set(CMake_VERSION_PATCH 20190115) +set(CMake_VERSION_PATCH 20190116) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits