[PATCH] [CMake] Resurrect add_dependencies() and target_link_libraries()

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Feb 27 18:39:50 PST 2014


This will always use INTERFACE. The current setup has logic for
deciding between INTERFACE, PUBLIC and PRIVATE. Wont this produce the
wrong result when doing shared builds?

What I had in mind was defining a LLVM_LINK_TYPE that is INTERFACE,
PUBLIC or PRIVATE depending on the build type. Is that possible?

I was looking at AddLLVM.cmake, but I don't quite understand it. For
example, where is ARG_MODULE set?

Cheers,
Rafael



More information about the cfe-commits mailing list