[CMake] how to get compile environment ($host) in cmake

Clark J. Wang dearvoid at gmail.com
Thu May 17 03:13:43 EDT 2007


On 5/17/07, haibin zhang <dragzhb at yahoo.com.cn> wrote:
>
> Hi all :
>   how to get $host in cmake ?
>
> In autotool , it can use $host to get compile environment, example
> cygwin,i686-pc-mingw32 .


Use CMAKE_SYSTEM

regards
>
>
> ------------------------------
> Mp3疯狂搜-新歌热歌高速下 <http://music.yahoo.com.cn/?source=mail_mailbox_footer>
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070517/1637778d/attachment.html


More information about the CMake mailing list