[CMake] cpack and paths too long

Andrea Crotti andrea.crotti.0 at gmail.com
Fri Apr 20 06:01:19 EDT 2012


On 04/19/2012 07:00 PM, Eric Noulard wrote:
> Compiler, Visual Studio something?
> You run cpack from the command line or from within IDE/Makefile etc....
>

No compilers used for this project (it's python) and I run from command 
line.

Anyway it might be a good idea also in general so I tried to do it and 
it doesn't find a path,
but the error is not quite clear, what path is it talking about (because 
all I see there exists)?


c:/temp $ cmake -G "MSYS Makefiles" 
e:/git_projs/Minimum_Drag/xyz.application.minimum_drag
-- PSI found in e:/git_projs/PSI_Hamburg
-- workspace set to 
e:/git_projs/Minimum_Drag/xyz.application.minimum_drag/../..
-- copying the runner file with the right substitutions
-- running: c:/python25/python.exe  
-p;e:/git_projs/Minimum_Drag/xyz.application.minimum_drag;-w;e:/git_projs/Minimum_Drag/xyz.application.minimum_drag/../..
-- writing the list of dependencies to egg_list.txt
-- Configuring done
-- Generating done
-- Build files have been written to: C:/temp
c:/temp $ make xyz.application.minimum_drag_install
The system cannot find the path specified.
epd-make: *** [cmake_check_build_system] Error 1
c:/temp $ make xyz.application.minimum_drag_install VERBOSE=1
"/c/buildprograms/programs/CMake 2.8/bin/cmake.exe" 
-H/e/git_projs/Minimum_Drag/xyz.application.minimum_drag -B/C/temp 
--check-build-system CMakeFiles/Makefile.cmake 0
The system cannot find the path specified.
epd-make: *** [cmake_check_build_system] Error 1

PS. And in general I think it's a bit confusing the fact that I need to 
remove manually the CMakeCache
from the source directory when I run out of tree..
Couldn't CMake just discard that path when building out of tree?

Thanks,
Andrea


More information about the CMake mailing list