Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating source package with CPack on Windows

Tags:

cmake

cpack

On OS X and Linux, I successfully used CMake/CPack to generate source package with make package_source.

However, on Windows, I couldn't find a equivalent target after generating the Visual Studio project files ("Visual Studio 12 2013" to be exact).

There is a PACKAGE.vcxproj which can generate a binary package. But it seems there is no project file for generating source package.

Am I missing something?

like image 796
Andy Li Avatar asked Jan 31 '26 11:01

Andy Li


1 Answers

This is a known issue, but it is backlogged, as nobody was working on it:
https://cmake.org/Bug/view.php?id=13058

Possible workaround: If you can, try to re-configure your project with NMAKE, then it should work.

like image 63
usr1234567 Avatar answered Feb 03 '26 07:02

usr1234567



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!