Splitting a CMakeLists.txt into two files

David Faure faure at kde.org
Thu Oct 19 12:45:14 CEST 2006

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)

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the Kde-buildsystem mailing list