[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-dev
Subject:    [LLVMdev] Why are the tablegen files excluded from source lists/
From:       Kuba Ober <kuba () mareimbrium ! org>
Date:       2014-03-08 22:52:21
Message-ID: BBABF6ED-DF20-4F69-9989-C973A828F113 () mareimbrium ! org
[Download RAW message or body]

My problem is that the .td and .h files are not shown as sources
in the codeblocks (.cbp) output generated by cmake. I=92m consuming
the .cbp file with Qt Creator - it=92s seems to be an otherwise
excellent tool for llvm development.

It seems that the culprit is llvm_process_sources
function in cmake/modules/LLVMProcessSources.cmake.

The addition of .td sources and header files is wrapped
in the following conditional:

if( MSVC_IDE OR XCODE )

Is this necessary at all? At least for codeblocks output,
removal of this conditional has no ill effects and adds the
.td and .h files to the sources list.

At the very least, this should be expanded to include codeblocks,
but I don=92t know what magical macro is set when producing the .cbp
file.

Are there any cmake outputs where the addition of those extra
sources would be an error?

Cheers, Kuba Ober
_______________________________________________
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic