[CMake] how to get compile environment ($host) in cmake
haibin zhang
dragzhb at yahoo.com.cn
Thu May 17 03:51:33 EDT 2007
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 ?
regards
"Clark J. Wang" <dearvoid at gmail.com> 写道: 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疯狂搜-新歌热歌高速下
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake
---------------------------------
抢注雅虎免费邮箱3.5G容量,20M附件!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070517/8fbd5ed4/attachment.htm
More information about the CMake
mailing list