Splitting a CMakeLists.txt into two files

Thiago Macieira thiago at kde.org
Thu Oct 19 18:23:02 CEST 2006


David Faure wrote:
>On Thursday 19 October 2006 12:17, Carsten Niehaus wrote:
>> Hi
>>
>> Laurent fixed my OCaml issues by converting the handmade Makefile to
>> CMake. This is now all in Kalziums main CMakeLists.txt and really ...
>> complex.
>>
>> Is there a way to split out the ocaml-stuff into a second file, say
>> CMakeListsOCaml and then call those instructions from within the
>> CMakeLists.txt?
>
>Just use include(foo.txt)

I suggest you call it CMakeListsOCaml.mj

(.mj as in short for Mumbo-Jambo)

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20061019/bf445c7a/attachment.pgp 


More information about the Kde-buildsystem mailing list