[Cmake] Is there a way to easily add a new compiler without modifying Cmake source code?

Bill Hoffman bill.hoffman at kitware.com
Thu Mar 27 14:51:55 EST 2003


Most unix style compilers -c -o, etc.  should just work.
If the compiler has some special flags, you can create a file
in Modules/Platform/OS-compiler.cmake, that tells cmake how the
compiler works.   I can help you create the files, if you will
contribute them back to cmake.

To add support for a new IDE, it requires modifing the cmake c++
source, but command line compilers driven by make, should be
easy to configure.

What compilers are you interested in?
Here are the compilers we test each night:

http://www.cmake.org/Testing/Dashboard/20030327-0200-Nightly/Dashboard.html


-Bill



At 02:42 PM 3/27/2003, Francis Larrivée wrote:

>We want to support multiple compilers in our build process. In your release,
>I found a limited number of compilers. We would like to know if there is a
>way to add new compilers via a configuration file or something like this.
>
>Thanks
>
>--------------------------------------------
>Francis Larrivée, Technicien en informatique
>INRS-ETE
>2800 rue Einstein, suite 020
>Case Postale 7500
>Québec, Québec
>G1V 4C7 CANADA
>
>tel: (418) 654-3762     fax: (418) 654-2600
>e-mail: Francis_Larrivee at inrs-ete.uquebec.ca
>--------------------------------------------
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake 






More information about the CMake mailing list