[CMake] CPack and windows maximum path legth

Jakub Zakrzewski jzakrzewski at e2e.ch
Tue Mar 12 10:01:22 EDT 2013


Hi All!

I have recently reached the maximum path length using CPack on windows. The problem is that the project I'm working on has a directory hierarchy that cannot be changed. Somebody some time ago decided on concrete paths and if I try to change it, I got into real trouble. All our tools have hardcoded paths, many things have dependecies on source or build directory location.

Is there any way, to make CPack use other temporary directory than ${BUILD_DIR)/_CPack_Packages ? I'd rather avoid having two build trees and having to compile again only to produce a package.

--
Gruesse,
Jakub




More information about the CMake mailing list