[Cmake] How detect build for.

klaas.holwerda kholwerd at xs4all.nl
Sat Jun 26 17:41:47 EDT 2004


Hi,

A simple question, how do i know when VisualC is used, or is there a 
variable that contains
the choosen "Build For:"

( I found BORLAND and CYGWIN ), but WIN32 is not specific enough it 
looks like.

Another might be CMAKE_CXX_COMPILER == cl,
but i assume there most be something more specific?

Thanks for some help,

Klaas



More information about the Cmake mailing list