[CMake] setting the shell env

Alexander Neundorf a.neundorf-work at gmx.net
Sat Jun 4 16:10:09 EDT 2011


On Saturday, June 04, 2011 09:57:44 PM dfurtney at cox.net wrote:
> Usually we use the vxworks command shell to do command line builds.
> Windriver supplys many utilites including its own sh.exe. Is there a way
> to tell CMake to use the windriver sh and/or env setup?

Please keep the mailing list on CC, so all can find the information later on, 
and also all can try to help.

> Currentlyy I get:
> 
> C:\DOCUME~1\vaj2850\LOCALS~1\Temp\make51686.sh:
> c:/WindRiver/utilities-1.0/x86-w in32/bin/sh.exe nmpentium  | tclsh
> C:/WindRiver/vxworks-6.7/host/resource/hutil s/tcl/munch.tcl -c pentium >
> C:/dev/SM3/workbench/CMakeBlah/ctdt.c: command not found
> 
> Using full paths to the separate executables didn't help. The
> "C:\DOCUME~1\vaj2850\LOCALS~1\Temp\make51686.sh:" looks supicious.

What kind of environment is this ?
So you do this under windows, but with some kind of unix tools ?
Is this cygwin or more like mingw ?

In general, you should probably run cmake from the shell where you will also 
build.
What kind of command is this above ? Is this generated from a 
add_custom_command() ?

Alex


More information about the CMake mailing list