llvm-6502/tools
Chris Bieneman 4ee8a184ee [CMake] Cleanup tools/CMakeLists.txt to take advantage of the auto-registration that was already partially working.
Re-landing r242059 which re-landed r241621... I'm really bad at this.

Summary (r242059):
This change re-lands r241621, with an additional fix that was required to allow tool sources to live outside the llvm checkout. It also no longer renames LLVM_EXTERNAL_*_SOURCE_DIR. This change was reverted in r241663, because it renamed several variables of the format LLVM_EXTERNAL_*_* to LLVM_TOOL_*_*.

Summary (r241621):
The tools CMakeLists file already had implicit tool registration, but there were a few things off about it that needed to be altered to make it work. This change addresses all that. The changes in this patch are:

* factored out canonicalizing tool names from paths to CMake variables * removed the LLVM_IMPLICIT_PROJECT_IGNORE mechanism in favor of LLVM_EXTERNAL_${nameUPPER}_BUILD which I renamed to LLVM_TOOL_${nameUPPER}_BUILD because it applies to internal and external tools
* removed ignore_llvm_tool_subdirectory() in favor of just setting LLVM_TOOL_${nameUPPER}_BUILD to Off
* Added create_llvm_tool_options() to resolve a bug in add_llvm_external_project() - the old LLVM_EXTERNAL_${nameUPPER}_BUILD would not work on a clean CMake directory because the option could be created after it was set in code.
* Removed all but the minimum required calls to add_llvm_external_project from tools/CMakeLists.txt

Differential Revision: http://reviews.llvm.org/D10665

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242705 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-20 20:36:06 +00:00
..
bugpoint
bugpoint-passes
dsymutil Delete an unused function. 2015-07-16 18:41:41 +00:00
gold
llc llc: Add a 'run-pass' option. 2015-07-06 17:44:26 +00:00
lli Simplify a few uses of remove_filename by using parent_path instead. 2015-07-15 21:24:07 +00:00
llvm-ar For new archive member we only need to store the full path. 2015-07-15 22:46:53 +00:00
llvm-as
llvm-bcanalyzer Revert the new EH instructions 2015-07-10 07:15:17 +00:00
llvm-c-test
llvm-config Revert "Fix llvm-config to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components." 2015-07-14 15:10:34 +00:00
llvm-cov
llvm-cxxdump [llvm-cxxdump] Don't rely on global state 2015-07-17 06:18:36 +00:00
llvm-diff
llvm-dis
llvm-dwarfdump
llvm-extract
llvm-go
llvm-jitlistener Fix the -DBUILD_SHARED_LIBS=ON build. 2015-07-07 17:48:00 +00:00
llvm-link
llvm-lto
llvm-mc
llvm-mcmarkup
llvm-nm Use std::make_tuple to reduce code duplication. 2015-07-13 22:01:02 +00:00
llvm-objdump Simplify iterating over program headers and detect corrupt ones. 2015-07-20 13:35:33 +00:00
llvm-pdbdump
llvm-profdata
llvm-readobj Remove Elf_Rela_Iter and Elf_Rel_Iter. 2015-07-20 20:07:50 +00:00
llvm-rtdyld [RuntimeDyld] Skip relocations for external symbols with 64-bit address ~0ULL. 2015-07-04 01:35:26 +00:00
llvm-shlib [CMake] Add missing DebugInfo libraries to llvm-shlib 2015-07-13 19:41:51 +00:00
llvm-size
llvm-stress [llvm-stress] Remove unneeded llvm:: prefix. NFC. 2015-07-13 11:25:56 +00:00
llvm-symbolizer Delete UnknownAddress. It is a perfectly valid symbol value. 2015-07-07 17:12:59 +00:00
lto
macho-dump
msbuild
obj2yaml [ELFYAML] Fix handling SHT_NOBITS sections by obj2yaml/yaml2obj tools 2015-07-03 23:00:54 +00:00
opt Expose sjlj preparation through opt for my own debugging purposes 2015-07-09 21:48:40 +00:00
verify-uselistorder
yaml2obj [yaml2obj] Initialize sh_addralign field for the .symtab section 2015-07-09 18:23:02 +00:00
CMakeLists.txt [CMake] Cleanup tools/CMakeLists.txt to take advantage of the auto-registration that was already partially working. 2015-07-20 20:36:06 +00:00
LLVMBuild.txt
Makefile