[CMake] Adding support for new languages to CMake

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


Eric (Brad) Lemings wrote:
> 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?
>   
Umm, setting CMAKE_MODULE_PATH before your `package` command?  :)

Eric.



More information about the CMake mailing list