[CMake] Problem with dependencies with mingw32-make
Philipp Jocham
philipp.jocham at it-jocham.at
Fri Jan 25 09:35:02 EST 2008
Hello,
I try to build a 32bit application on windows xp 64 with mingw and I have
a problem with the generated dependencies file depend.make.
Specifically this file contains lines like:
CMakeFiles/HSAImage.dir/image/Channel.obj: C:/Program\ Files\
\(x86\)/Intel/IPP/5.2/ia32/include/ipp.h
The Problem are the escaped parenthesis, causing mingw32-make to croak with:
mingw32-make[2]: *** No rule to make target `C:/Program Files
\(x86\)/Intel/IPP/
5.2/ia32/include/ipp.h', needed by
`CMakeFiles/HSAImage.dir/image/Channel.obj'.
Stop.
mingw32-make[1]: *** [CMakeFiles/HSAImage.dir/all] Error 2
mingw32-make: *** [all] Error 2
If I remove the backslashes, mingw32-make finds the file and the build works.
Is it just my mingw32-make or should the () not be escaped?
I'm using the latest mingw 5.1.3 and cmake 2.4.8
Thanks
Philipp
More information about the CMake
mailing list