CPack or other equivalent command to create zip?

Is there any way to create a zip file out of a build? CPack complains the prject name isn’t set, and the MSVC 10 INSTALL.vcxproj errors out…

“M:\Development\x64-msvc\Clang\INSTALL.vcxproj” (default target) (1) →
(PostBuildEvent target) →
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command “M:\Development\utils\cmake\bin\cmake.exe -DBUILD_TYPE=Release -P cmake_install.cmake\r [M:\Development\x64-msvc\Clang\INSTALL.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd” exited with code 1. [M:\Development\x64-msvc\Clang\INSTALL.vcxproj]

Any help/suggestions is appreciated!

Ruben

We do not have any CMake targets to build a .zip. CPack support would be wonderful, though :slight_smile:

  • Doug

Ruben Van Boxem <vanboxem.ruben@gmail.com>
writes:

Is there any way to create a zip file out of a build? CPack complains the
prject name isn't set,

There was no support for CPack. I just added it (on a basic form)
although it may fail if the `install' target does not work.

and the MSVC 10 INSTALL.vcxproj errors out...

"M:\Development\x64-msvc\Clang\INSTALL.vcxproj" (default target) (1) ->

(PostBuildEvent target) ->
  C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: The command "M:\Development\utils\cmake\bin\cmake.exe
-DBUILD_TYPE=Release -P cmake_install.cmake\r
[M:\Development\x64-msvc\Clang\INSTALL.vcxproj]
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error
MSB3073: :VCEnd" exited with code 1.
[M:\Development\x64-msvc\Clang\INSTALL.vcxproj]

I install builds made with MSVC++10 from time to time and they do work,
but I use makefiles, not the IDE. The above error message says very
little about the problem. Maybe it is a bug on the cmake generator.

Please open a bug report describing your setup (specially where you
place LLVM and Clang sources and if you are building in-source or
out-source.)

[snip]