[Cmake-commits] CMake branch, master, updated. v3.14.3-772-ga40c982
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 a40c9825bbb1ce5ac43b041bcd54a5cea85f4a92 (commit) from d8426b57a66d7a420f28b0b0309d1502e7bcfea8 (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=a40c9825bbb1ce5ac43b041bcd54a5cea85f4a92 commit a40c9825bbb1ce5ac43b041bcd54a5cea85f4a92 Author: Kitware Robot AuthorDate: Mon Apr 29 00:01:05 2019 -0400 Commit: Kitware Robot CommitDate: Mon Apr 29 00:01:05 2019 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 9a43492..51b69ba 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 14) -set(CMake_VERSION_PATCH 20190428) +set(CMake_VERSION_PATCH 20190429) #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
Re: [CMake] How does IMPLICIT_DEPENDS work?
On Sat, 2019-04-27 at 13:49 -0400, Paul Smith wrote: > On Fri, 2019-04-26 at 17:26 -0400, Paul Smith wrote: > > We're trying to implement precompiled headers (yes, I've seen all the > > various github projects around this). As part of this we need to make > > sure the precompiled header is rebuilt whenever any of the headers that > > it includes changes: this seems like exactly the job for > > add_custom_command's IMPLICIT_DEPENDS. > > > > But, it doesn't seem to be doing anything at all for me so I wonder > > what I'm doing wrong. > > OK, I figured out the issue. The problem is a combination of the way I > was testing and a sort of bizarre "feature" of the CMake Makefile > generator I re-confirmed the documented restriction that IMPLICIT_DEPENDS is not available for non-Makefile generators (e.g., Ninja). Without this facility it seems impossible to support precompiled headers in CMake, so I've had to disable PCH for non-Makefile (and non- MSVC of course) generators. Is there any chance of getting IMPLICIT_DEPENDS support for Ninja? Is the reason that it's not supported because Ninja does its own dependency management or something like that? Does anyone know how it's done? Is it done by using the compiler flags like -MMD/-MP etc. or does it have its own built-in facility? -- 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] Fwd: CMAKE_HOST_SYSTEM_NAME is empty
Hello, On 25.04.19 09:29, Orban, Laszlo wrote: Please help me an issue I'm facing with CMAKE_HOST_SYSTEM_NAME on FreeBSD 10.3. It gives back empty string, if I read it before the 'project(...)'. As far as I understood, CMAKE_SYSTEM_NAME can be used only after the 'project(...)' call, but CMAKE_HOST_SYSTEM_NAME should simply give back > Additional info: $ cmake --version cmake version 3.4.1 In CMake 3.9.0 and later I made CMAKE_HOST_SYSTEM_NAME available in scritping context (which should also make it available prior to a project() call). Change: https://gitlab.kitware.com/cmake/cmake/merge_requests/499 Could you please re-try with latest CMake? Thanks, Gregor -- 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] Can't Generate Project Files for VS2019
Hi, Use 'x64' as platform. Jano On Sun, Apr 28, 2019, 13:36 Osman Zakir wrote: > I just tried to build Step 1 of the CMake tutorial that comes with the > source code (CMake version 3.14.3), once with VS2019 as the generator and > then again with VS2017 as the generator. The latter worked fine but the > former didn't. I got the same error as mentioned in the initial message: > > " > cmake -G"Visual Studio 16 2019" -A Win64 > -DCMAKE_INSTALL_PREFIX="C:/Program Files/binaryen" > -DCMAKE_BUILD_TYPE=Release ../ > CMake Error at CMakeLists.txt:1 (PROJECT): > Failed to run MSBuild command: > > C:/Program Files (x86)/Microsoft Visual > Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe > > to get the value of VCTargetsPath: > > Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c for .NET > Framework > Copyright (C) Microsoft Corporation. All rights reserved. > > Build started 4/27/2019 5:48:57 PM. > Project "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" on > node 1 (default targets). > C:\Program Files (x86)\Microsoft Visual > Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): > error : The OutputPath property is not set for project > 'VCTargetsPath.vcxproj'. Please check to make sure that you have specified > a valid combination of Configuration and Platform for this project. > Configuration='Debug' Platform='Win64'. You may be seeing this message > because you are trying to build a project without a solution file, and have > specified a non-default Configuration or Platform that doesn't exist for > this project. [C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj] > Done Building Project > "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default > targets) -- FAILED. > > Build FAILED. > > "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default > target) (1) -> > (_CheckForInvalidConfigurationAndPlatform target) -> > C:\Program Files (x86)\Microsoft Visual > Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): > error : The OutputPath property is not set for project > 'VCTargetsPath.vcxproj'. Please check to make sure that you have specified > a valid combination of Configuration and Platform for this project. > Configuration='Debug' Platform='Win64'. You may be seeing this message > because you are trying to build a project without a solution file, and have > specified a non-default Configuration or Platform that doesn't exist for > this project. [C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj] > > 0 Warning(s) > 1 Error(s) > > Time Elapsed 00:00:00.20 > > > Exit code: 1 > > > > -- Configuring incomplete, errors occurred! > See also "C:/binaryen/build/CMakeFiles/CMakeOutput.log". > " > > When I try to look at the .vcxproj file mentioned in the error, I see that > it can't find VS2019 Build Tools even though I do have them. I asked on > MSDN forums but I don't have a reply there yet. And I don't know how to > fix the issue myself, either. > > I would like for someone to please help me out with this. Is there a way > for me to fix this problem? Like some sort of patch that can be added > somewhere? I installed the binary for CMake 3.14.3 initially and only got > the source code to try out the tutorial as a test for CMake; I'm not > planning to try and build 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 > -- 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] Can't Generate Project Files for VS2019
I just tried to build Step 1 of the CMake tutorial that comes with the source code (CMake version 3.14.3), once with VS2019 as the generator and then again with VS2017 as the generator. The latter worked fine but the former didn't. I got the same error as mentioned in the initial message: " cmake -G"Visual Studio 16 2019" -A Win64 -DCMAKE_INSTALL_PREFIX="C:/Program Files/binaryen" -DCMAKE_BUILD_TYPE=Release ../ CMake Error at CMakeLists.txt:1 (PROJECT): Failed to run MSBuild command: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe to get the value of VCTargetsPath: Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Build started 4/27/2019 5:48:57 PM. Project "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" on node 1 (default targets). C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj] Done Building Project "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default targets) -- FAILED. Build FAILED. "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default target) (1) -> (_CheckForInvalidConfigurationAndPlatform target) -> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='Win64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.20 Exit code: 1 -- Configuring incomplete, errors occurred! See also "C:/binaryen/build/CMakeFiles/CMakeOutput.log". " When I try to look at the .vcxproj file mentioned in the error, I see that it can't find VS2019 Build Tools even though I do have them. I asked on MSDN forums but I don't have a reply there yet. And I don't know how to fix the issue myself, either. I would like for someone to please help me out with this. Is there a way for me to fix this problem? Like some sort of patch that can be added somewhere? I installed the binary for CMake 3.14.3 initially and only got the source code to try out the tutorial as a test for CMake; I'm not planning to try and build 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