On 6/8/07, abhijeet mhatre <[EMAIL PROTECTED]> wrote:
Could you tell me how to change the compiler in CMakeLists.txt ?
The compiler is the user's choice, not yours. Have the user run CMakeSetup or CCMake and let them choose the compiler. You shouldn't have a compiler hardwired into CMakeLists.txt. You could certainly detect if a specific compiler is available and take specific actions on that basis. See the CMake Useful Variables. http://www.cmake.org/Wiki/CMake_Useful_Variables Cheers, Brandon Van Every _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake