[CMake] How to invoke 64 bit cmd.exe from cmake script on Windows 7 (x64).
Tyler Roscoe
tyler at cryptio.net
Sun Aug 22 15:49:58 EDT 2010
On Sun, Aug 22, 2010 at 07:36:21PM +0100, Alexander Tarnopolsky wrote:
> I'm trying to invoke an interactive shell from a cmake script using the
> following:
>
> execute_process (COMMAND ${SHELL} ${ARGS})
>
> And the 32bit cmd.exe is invoked on "Windows 7 x64" (since the cmake
> itself runs in 32bit environment).
> But I'm interested in 64bit cmd.exe.
> Is there a way to invoke it from cmake?
Where is ${SHELL} defined? What is its value?
I suspect you could use find_program() with appropriate arguments to
specify that you want the 64-bit cmd.exe.
tyler
More information about the CMake
mailing list