[CMake] Setting an environment variable when executing make script

Philip Lowman philip at yhbt.com
Sun Mar 29 09:21:31 EDT 2009


On Sun, Mar 29, 2009 at 9:04 AM, Carlson Daniel
<daniel.c.carlson at gmail.com>wrote:

> Hello and sorry for my late response!
>
> I can not get this to work. When i execute the command COMMAND
> ${CMAKE_COMMAND} -E ${template.cmake}
>   I get an error saying something like:


I believe there was a minor typo in the post.  The flag you probably want is
"-P" which is "process script mode".

http://www.cmake.org/cmake/help/cmake2.6docs.html#section_Usage

-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090329/ad7e70ee/attachment.htm>


More information about the CMake mailing list