[LLVMdev] CMake builds clang.

Óscar Fuentes ofv at wanadoo.es
Sun Oct 26 07:33:56 PDT 2008


"Anton Korobeynikov" <asl at math.spbu.ru> writes:

>> at all, it would be great if you reflect your changes on the file list
>> inside the corresponding CMakeLists.txt when you add, remove or rename 
>> a .cpp file.
>
> Isn't is possible for cmake just to glob everything in the corresponding
> directory?

Yes, but then the build would not notice a change on the file
structure. You'll need to explicitly invoke cmake for being sure that
whatever changes were made by the last svn update are reflected on the
generated makefiles, which is a bigger incovenience than the occassional
modification of the CMakeLists.txt file.

I know this is a regression from the current build system, but the
amount of work it requires is dwarfed by the savings in global
maintenance.

-- 
Oscar




More information about the llvm-dev mailing list