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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to