[Cmake] Switch compiler

David Svoboda xsvobod2 at informatics . muni . cz
Tue, 17 Jun 2003 11:27:49 +0200


Hello,

I would like to switch among the compilers. In my opinion, the best
solution is something like mulitoption keyword. Is it supported in CMake
or only two level OPTION keyword (ON/OFF) is permitted?

Image having three or more compilers (cxx, KCC, icc, g++, ...). Do you
happend to know, how to switch among them easily?

-David