[LLVMdev] CMake builds clang.

Kenneth Boyd zaimoni at zaimoni.com
Sun Oct 26 10:02:20 PDT 2008


Óscar Fuentes wrote:
> "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.
>   
It would be simpler for autoconf builds to have a Perl script that 
updates the CMakeLists.txt files when necessary.  (This doesn't look 
*that* hard, but I can't say when I'll surface long enough to work on that.)

Kenneth




More information about the llvm-dev mailing list