Re: [CMake] Need help with CMake error "CMake Error at tools/clang/lib/Headers/cmake_install.cmake:36 file INSTALL cannot find "C:/llvm-project/build/$(Configuration)/lib/clang/9.0.0/include"."

2019-04-22 Thread Shoaib Meenai
You're probably running into https://reviews.llvm.org/D58537#inline-532492. 
This is an LLVM issue, not a CMake issue.

From: CMake  on behalf of Osman Zakir 

Date: Monday, April 22, 2019 at 6:45 AM
To: "cmake@cmake.org" 
Subject: [CMake] Need help with CMake error "CMake Error at 
tools/clang/lib/Headers/cmake_install.cmake:36 file INSTALL cannot find 
"C:/llvm-project/build/$(Configuration)/lib/clang/9.0.0/include"."

As the title says, I have this error when trying to build INSTALL.vcxproj in 
LLVM.sln using Visual Studio Community 2019:
"
522>CMake Error at tools/clang/lib/Headers/cmake_install.cmake:36 (file):
522>  file INSTALL cannot find​
522>  "C:/llvm-project/build/$(Configuration)/lib/clang/9.0.0/include".​
522>Call Stack (most recent call first):​
522>  tools/clang/lib/cmake_install.cmake:37 (include)​
522>  tools/clang/cmake_install.cmake:54 (include)​
522>  tools/cmake_install.cmake:43 (include)​
522>  cmake_install.cmake:64 (include)​
522>​
522>​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: The command "setlocal​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P 
cmake_install.cmake​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: if %errorlevel% neq 0 goto :cmEnd​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmEnd​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmErrorLevel​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: exit /b %1​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmDone​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: if %errorlevel% neq 0 goto :VCEnd​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :VCEnd" exited with code 1.​
522>Done building project "INSTALL.vcxproj" -- FAILED.
"

Everything else was built successfully, it's just this one project that it 
can't build.  I checked in the file path it mentioned and I can see the 
"include" folder in there.  So there's probably something I need to change in 
cmake_install.cmake.  I've attached the file to this message.  I hope someone 
will help me change it such that this will work.  Thanks in advance.
-- 

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] Add Custom Command after strip

2019-04-22 Thread J Decker
I'm trying to use MingW64-x86 to compile this project. I'm using MingW
Makefiles as the generator.

Some of the executable files need 'mt.exe' run to add a manifest to them
(on windows).
The MT.exe breaks the .exe for strip such that it says 'file has been
truncated' and the build stops.  Strip is run against the executable during
release builds...

The documentation of course saying POST_BUILD on the add_custom_command
says 'after all the build steps' but apparently strip is some sort of
post-build thing itself.
-- 

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] [ANNOUNCE] CMake 3.14.3 available for download

2019-04-22 Thread Robert Maynard via CMake
We are pleased to announce that CMake 3.14.3 is now available for download.

Please use the latest release from our download page:
  https://cmake.org/download/

Thanks for your support!

-
Changes in 3.14.3 since 3.14.2:

Ben Boeckel (1):
  FindOpenGL: look for GLVND libraries with a libglvnd suffix

Brad King (4):
  FindBoost: Add support for MSVC toolset version 14.2
  IRSL: Update redist directory for VS 2019 update 1
  VS: Provide the default platform name to project code
  CMake 3.14.3

Christian Pfeiffer (1):
  FindQt3: Restore missing lib and bin path suffixes

Rolf Eike Beer (1):
  FindBoost: Fix detection with version suffixes on Gentoo
-- 

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] Need help with CMake error "CMake Error at tools/clang/lib/Headers/cmake_install.cmake:36 file INSTALL cannot find "C:/llvm-project/build/$(Configuration)/lib/clang/9.0.0/include"."

2019-04-22 Thread Osman Zakir
As the title says, I have this error when trying to build INSTALL.vcxproj in 
LLVM.sln using Visual Studio Community 2019:
"
522>CMake Error at tools/clang/lib/Headers/cmake_install.cmake:36 (file):
522>  file INSTALL cannot find​
522>  "C:/llvm-project/build/$(Configuration)/lib/clang/9.0.0/include".​
522>Call Stack (most recent call first):​
522>  tools/clang/lib/cmake_install.cmake:37 (include)​
522>  tools/clang/cmake_install.cmake:54 (include)​
522>  tools/cmake_install.cmake:43 (include)​
522>  cmake_install.cmake:64 (include)​
522>​
522>​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: The command "setlocal​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P 
cmake_install.cmake​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: if %errorlevel% neq 0 goto :cmEnd​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmEnd​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmErrorLevel​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: exit /b %1​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :cmDone​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: if %errorlevel% neq 0 goto :VCEnd​
522>C:\Program Files (x86)\Microsoft Visual 
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(138,5):
 error MSB3073: :VCEnd" exited with code 1.​
522>Done building project "INSTALL.vcxproj" -- FAILED.
"

Everything else was built successfully, it's just this one project that it 
can't build.  I checked in the file path it mentioned and I can see the 
"include" folder in there.  So there's probably something I need to change in 
cmake_install.cmake.  I've attached the file to this message.  I hope someone 
will help me change it such that this will work.  Thanks in advance.


cmake_install.cmake
Description: cmake_install.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