[CMake] Does "cmake.exe" expect a shell?

Patrick Spendrin ps_ml at gmx.de
Mon Oct 26 21:03:48 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Pakulat schrieb:
> On 26.10.09 12:27:24, Bill Hoffman wrote:
>> Andreas Pakulat wrote:
>>> But that should be the case if I start kdevelop from a cmd.exe that had
>>> vcvars32.bat called. However it seems that executing cmake still fails when
>>> spawned via win32 process api. I'll get back when I have more data about
>>> this.
>>>
>> Should work, perhaps there is an issue with the way you are spawning  
>> processes in kdevelop4 on windows.   You might want to look at the  
>> process execution code in CMake, it was tricky to get it working  
>> correctly...
> 
> Uhm, we're using Qt's QProcess there and I'm relatively sure that they got
> it right ;)
> 
> Anyway, no further need for discussion without more data.
Hm, seems the problem was quoting:
cmake will accept the generator '"NMake Makefiles"' and will tell you
that it can't use it(there is no such generator). if you use 'NMake
Makefiles' it will work even without shell.... :-/

sorry for the noise,
Patrick
> 
> Andreas
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkrmRvMACgkQi49rfdk/G3ac3ACgrDyYXQO0poOFMLzI0YjICn+w
xgoAnjSEhbDzZ3yvYHCE2A23roplkSJv
=4SrB
-----END PGP SIGNATURE-----


More information about the CMake mailing list