[CMake] recognizing shell in use

Eric Noulard eric.noulard at gmail.com
Tue Mar 6 02:03:42 EST 2012


2012/3/6 Ajay Panyala <ajay at csc.lsu.edu>:
> Hello,
>
> Is there anyway that cmake could figure out the shell (bash,csh,..)
> that is being use when cmake is invoked on the command line ?

May be you can check $ENV{SHELL} ?
Why would you like to do that?

Usually when using CMake one tries to avoid shell/command interpreter
dependency??
-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list