On 5/17/07, haibin zhang <[EMAIL PROTECTED]> wrote:
thanks
but I see cmake-2.4.6 CMakeLists.txt file :
IF(WIN32)
IF(NOT UNIX)
IF(NOT BORLAND)
IF(NOT MINGW )
SET(CMAKE_BUILD_ON_VISUAL_STUDIO 1)
ENDIF(NOT MINGW )
ENDIF(NOT BORLAND)
ENDIF(NOT UNIX)
ENDIF(WIN32)
who set this , WIN32 or UNIX or other ?
When running `cmake <path-to-source>' , there will be a file
`<path-to-source>/CMakeFiles/CMakeCCompiler.cmake' created.It'll set
variables like UNIX, CYGWIN or MINGW.
regards
*"Clark J. Wang" <[EMAIL PROTECTED]>* 写道:
On 5/17/07, haibin zhang <[EMAIL PROTECTED]> 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
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件! <http://cn.mail.yahoo.com>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake