summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/LLVMConfig.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Rename LLVMConfig.cmake to LLVM-Config.cmake. The *Config.cmake namingOscar Fuentes2011-04-051-203/+0
| | | | | | scheme is used by the functionality related to find_package. llvm-svn: 128889
* Fixed the build of Clang's unit tests on MinGW. Also removed someOscar Fuentes2011-03-291-0/+6
| | | | | | | | | | | unnecesary conditionals and introduced a new convenience function. The problem was that the list of libraries for Clang's unit tests was <clang libraries> <system libraries> <llvm libraries>. As the llvm libraries references symbols defined on the system libraries, those were reported as undefined. llvm-svn: 128484
* Supports building with a list of targets that does not containOscar Fuentes2011-03-231-6/+13
| | | | | | X86. Fixes PR9533. llvm-svn: 128154
* is_llvm_target_library: recognize libraries without the LLVM prefix.Oscar Fuentes2011-03-151-1/+2
| | | | | | | Without this cmake fails at configuration when some target pass "native" on LLVM_LINK_COMPONENTS and that is expanded to "X86". llvm-svn: 127679
* Whe we build a shared library, add its list of used libraries to theOscar Fuentes2011-03-121-2/+2
| | | | | | | | link command. Fixed a pair of IF expressions too. llvm-svn: 127546
* Process some link components that map to other expandable componentsOscar Fuentes2011-03-091-3/+15
| | | | | | | before the main loop. This is necessary because the loop ignores the items added to `link_components' after it is entered. llvm-svn: 127333
* Move library stuff out of the toplevel CMakeLists.txt file.Oscar Fuentes2011-02-181-0/+1
| | | | llvm-svn: 125968
* Simplified LLVMConfig.Oscar Fuentes2010-09-281-32/+43
| | | | llvm-svn: 114998
* Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."Michael J. Spencer2010-09-131-0/+165
| | | | | | | | | | This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819
* CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.Michael J. Spencer2010-09-101-165/+0
| | | | llvm-svn: 113632
* Updated the GenLibDeps -> LLVMLibDeps.cmake transformation example.Oscar Fuentes2010-08-151-3/+3
| | | | llvm-svn: 111104
* CMake: corrections on LLVM.cmake external services.Oscar Fuentes2010-08-111-1/+1
| | | | llvm-svn: 110763
* CMake: llvm_map_components_to_libraries now returns system libs too.Oscar Fuentes2010-08-091-1/+2
| | | | llvm-svn: 110563
* CMake: system for providing llvm-config-like features to the user.Oscar Fuentes2010-08-091-0/+7
| | | | | | | The user can use a cmake function for obtaining the LLVM libraries corresponding to a list of LLVM components. llvm-svn: 110560
* Improve discrimination of unknown libraries from ignored targets onOscar Fuentes2010-08-021-6/+10
| | | | | | LLVMConfig. llvm-svn: 110065
* explicit_map_components_to_libraries now does not complain when thereOscar Fuentes2010-08-021-1/+25
| | | | | | | | | | | is a dependence on an LLVM target that is not included on the build. When LLVM_TARGETS_TO_BUILD didn't include all the targets, the function emitted an error like "Library LLVMArmParser not found in list of llvm libraries." llvm-svn: 110060
* Add the rest of the build system logic for optional target disassemblersDaniel Dunbar2009-11-251-1/+5
| | | | llvm-svn: 89841
* Use CMAKE_DL_LIBS instead of raw library name. Fixes bug 5536.Oscar Fuentes2009-11-191-1/+1
| | | | | | Patch by Tobias Grosser! llvm-svn: 89406
* Fix cmake build on non-x86 targets. Patch byDuncan Sands2009-08-191-4/+2
| | | | | | Xerxes Rånby. llvm-svn: 79419
* CMake: LLVMConfig assigns LLVMX86 to the `native' componentOscar Fuentes2009-08-171-2/+2
| | | | | | name. Updated LLVM_LINK_COMPONENTS of Kaleidoscope. llvm-svn: 79219
* CMake: Automatic regeneration of the library dependencies file.Oscar Fuentes2009-08-141-2/+26
| | | | | | | | | | | It doesn't stop or reconfigure the build, though, so the user will see a broken build that magically succeeds at the next attempt. It is technically possible to halt the build with a helpful message, and even to automatically restart the build using the new dependencies as it we did when llvm-config was used by cmake for learning dependencies. This is left on the TODO list. llvm-svn: 79004
* CMake: Localized dependency on Perl.Oscar Fuentes2009-08-121-1/+0
| | | | llvm-svn: 78788
* CMake: Rely on llvm_config again for obtaining the list of requiredOscar Fuentes2009-08-121-8/+9
| | | | | | | | | | libraries for an executable. Now LLVMConfig uses a new system for sorting library dependencies, as the list of dependent libraries for each entry of FinalLibDeps.txt no longer is topologically sorted. llvm-svn: 78787
* CMake: Moved hard-coded library dependencies to its own file.Oscar Fuentes2009-08-121-81/+1
| | | | llvm-svn: 78784
* Remove the IA-64 backend.Dan Gohman2009-07-241-3/+0
| | | | llvm-svn: 76920
* Sketch support for target specific assembly parser.Daniel Dunbar2009-07-171-1/+5
| | | | | | - Not fully enabled yet, need a configure regeneration. llvm-svn: 76230
* Regerate CMake library dependencies.Daniel Dunbar2009-07-161-50/+48
| | | | | | - Added a sed script to do this in the comments. llvm-svn: 75872
* Kill off cmake magic to force linking.Daniel Dunbar2009-07-161-28/+0
| | | | | | | - This isn't needed anymore, we require clients to call the appropriate initialization routines using TargetSelect.h. llvm-svn: 75871
* Tweak CMake component lookup, I misunderstood what was happening here.though. :(Daniel Dunbar2009-07-151-1/+4
| | | | llvm-svn: 75757
* Teach Makefiles & CMake to link in the <TARGET>Info library when linking theDaniel Dunbar2009-07-151-0/+15
| | | | | | | | TARGET component. - Also, updated some CMake library dependencies, it is still missing some though. :( llvm-svn: 75755
* CMake: remove support for llvm-config-generated dependencies in the buildDouglas Gregor2009-06-231-44/+2
| | | | llvm-svn: 73979
* CMake: Use explicit dependencies for Xcode (as well as MSVC), to makeDouglas Gregor2009-06-041-25/+29
| | | | | | the CMake-generated Xcode project build properly. llvm-svn: 72883
* CMake: Set LIBS on llvm-config so we can query the system librariesOscar Fuentes2009-05-271-0/+19
| | | | | | used by CMake with --ldflags. llvm-svn: 72470
* CMake: Build system fixes for XCode. llvm-config still causes us some ↵Douglas Gregor2009-03-161-1/+1
| | | | | | serious trouble, but it's less serious than it used to be llvm-svn: 67056
* CMake: Tests PERL availability with PERL_EXECUTABLE variable.Oscar Fuentes2009-01-221-5/+12
| | | | | | | On MSVC 64bits, does not put underscore before the symbol name on the /INCLUDE linker parameter. llvm-svn: 62738
* CMake: MSVC: Pass list of components the right way to msvc_llvm_configOscar Fuentes2008-11-161-12/+27
| | | | | | | and siblings. Support targets whose name does not end on `CodeGen'. Remove a performance bottleneck. llvm-svn: 59383
* CMake: Forces linking of the rest of architecture targets and itsOscar Fuentes2008-11-151-10/+27
| | | | | | | | respective asm printers on MSVC. Based on a patch by Scott Graham. llvm-svn: 59379
* CMake: Updated library dependency info used for MSVC++.Oscar Fuentes2008-11-111-4/+8
| | | | llvm-svn: 59079
* CMake: Fix some unwanted commentary line wraps on the last change.Oscar Fuentes2008-10-311-19/+14
| | | | llvm-svn: 58485
* CMake: Establish dependencies among executables and libraries, usingOscar Fuentes2008-10-311-3/+123
| | | | | | data manually extracted from llvm-config. llvm-svn: 58484
* CMake: Removed unnecessary messages from msvc_llvm_config macro.Oscar Fuentes2008-09-241-2/+0
| | | | llvm-svn: 56540
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+57
llvm-svn: 56419
OpenPOWER on IntegriCloud