[CMake] variables from shell files

William A. Hoffman billlist at nycap.rr.com
Mon Dec 20 12:14:51 EST 2004


SET(CMAKE_VAR $ENV{VAR})


-Bill

At 11:31 AM 12/20/2004, chris harris wrote:
>Hi all,
>    Is it possible to set a variable in Cmakelists.txt
>by extracting the value of the variable from a shell
>file? My CmakeLists.txt needs to get a value from a
>shell
>program and validate a ctest depending on the
>value.Can anyone please tell me how Cmake communicates
>with a shell file?
>Thanks
>Chris
>
>=====
>Thanks
>Chris harris
>
>
>                
>__________________________________ 
>Do you Yahoo!? 
>Yahoo! Mail - Find what you need with new enhanced search.
>http://info.mail.yahoo.com/mail_250
>_______________________________________________
>CMake mailing list
>CMake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake 



More information about the CMake mailing list