Displaying 2 results from an estimated 2 matches for "extra_sources".
2008 Dec 01
3
[LLVMdev] Multiple directories in a single library
...e in
the subdirectory. These cpp files would end up in the library as defined by
the parent directory's Makefile.
Is there any interest in this, or am I the only one who would like to have
something like this?
I've attached a small patch which facilitates this. It allows you to define
the EXTRA_SOURCES variable to explicitely add extra source files (one could
also explicitly define SOURCES, but this way you don't loose the default
all-sources-in-the-current-dir feature). For example, I would add:
EXTRA_SOURCES = $(wildcard $(PROJ_SRC_DIR)/SubDir/*.cpp)
to get all the cpp files in SubDir com...
2008 Dec 01
0
[LLVMdev] Multiple directories in a single library
Hello, Matthijs
> There is some code in llvm-config which fixes the library problem for the
> TargetNameAsmPrinter library, but that isn't really the clean way IMHO. Is
> this also meant for cleanup, or is there another reason why the AsmPrinter
> should be in a seperate library?
The main reason of such split was codesize concerns for JIT users:
they don't need asmprinting at