[CMake] Adding support for new languages to CMake

Eric (Brad) Lemings brad at rebit.com
Fri Oct 17 14:21:53 EDT 2008


Alan W. Irwin wrote:
> On 2008-10-16 18:08-0600 Eric (Brad) Lemings wrote:
>
>>
>> Where can I find info/tutorials on adding support for new languages to
>> CMake?
>
> The following is pretty minimal, but I think this is all there is at the
> moment.
>
> Look at Modules/CMakeAddNewLanguage.txt in the CMake source tree. Pick a
> language you are familiar with and uses its support files in Modules and
> Modules/Platform as a template for your own work. You may also want to
> look
> at the CMake source code to confirm how CMake interacts with those
> various
> language support files.  Ask for help on this mailing list when you run
> into some difficulty.
Does CMake require that additional language support files (e.g.
CMakeDelphiCompiler.cmake.in,
CMakeDelphiInformation.cmake, CMakeDetermineDelphiCompiler.cmake,
CMakeTestDelphiCompiler.cmake) reside in ${CMAKE_ROOT} or can CMake
be instructed to locate them in ${CMAKE_MODULE_PATH}?  If so, how?

Thanks,
Eric.



More information about the CMake mailing list