summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Rename profile_rt.so to libprofile_rt.so under configure+make (it already wasNick Lewycky2011-04-29
| | | | | | | | | | | | | under cmake). Add libprofile_rt.a so that we can tell clang to link against it in --coverage mode. Also turn it on by default in cmake builds. Oscar, this touches a change you made for EXCLUDE_FROM_ALL support -- I think I've done the right thing, but please let me know (or fix and commit) if not! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130470 91177308-0d34-0410-b5e6-96231b3b80d8
* Add cmakefiles to build profile_rt.so!Nick Lewycky2011-04-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130191 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-15
| | | | | | | | Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
* Supports building with a list of targets that does not containOscar Fuentes2011-03-23
| | | | | | X86. Fixes PR9533. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128154 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed workaround for unspecified build problem on MinGW.Oscar Fuentes2011-03-21
| | | | | | Tested that MinGW/MSYS builds fine without that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128033 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the next release number to 3.0svn.Bill Wendling2011-03-08
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127213 91177308-0d34-0410-b5e6-96231b3b80d8
* Cmake fix for option defaults not being set correctly on first runOscar Fuentes2011-03-01
| | | | | | | | | | On the first cmake run before the caches has been updated with the default options, options defined after HandleLLVMOptions are always treated as off inside HandleLLVMOptions. Patch by Erik Olofsson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126790 91177308-0d34-0410-b5e6-96231b3b80d8
* Install include/llvm/Support/LICENSE.TXT. PR9321.Oscar Fuentes2011-02-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126571 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Define LLVM_INCLUDE_TESTS in cmake/modules/HandleLLVMOptions.cmake. ↵NAKAMURA Takumi2011-02-21
| | | | | | It affects testing stuff on clang-standalone build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126107 91177308-0d34-0410-b5e6-96231b3b80d8
* Put targets on folders, if the IDE supports the feature.Oscar Fuentes2011-02-20
| | | | | | Requires CMake 2.8.3 or newer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126092 91177308-0d34-0410-b5e6-96231b3b80d8
* Move library stuff out of the toplevel CMakeLists.txt file.Oscar Fuentes2011-02-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125968 91177308-0d34-0410-b5e6-96231b3b80d8
* New library: LLVMX86Utils.Oscar Fuentes2011-02-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125786 91177308-0d34-0410-b5e6-96231b3b80d8
* Add current binary and source directories to the header search listOscar Fuentes2011-02-14
| | | | | | for all compiler invocations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125513 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved more stuff to HandleLLVMOptions.cmakeOscar Fuentes2011-02-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124968 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved to Clang's source tree its configuration options and associatedOscar Fuentes2011-02-03
| | | | | | macros. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124824 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes for building Clang and others using LLVM as an externalOscar Fuentes2011-02-03
| | | | | | | | | | | | | library. Installs tblgen (required by Clang). Translates handling of user settings and platform-dependant options to its own file, where it can included by another project. Installs the .cmake files required by projects like Clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124816 91177308-0d34-0410-b5e6-96231b3b80d8
* Handles libffi on the CMake build.Oscar Fuentes2011-01-21
| | | | | | Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123976 91177308-0d34-0410-b5e6-96231b3b80d8
* Suppress warning "switch statement contains 'default' but no 'case' labels" ↵Francois Pichet2011-01-17
| | | | | | on MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123610 91177308-0d34-0410-b5e6-96231b3b80d8
* Add to the CMake build some options and platform tests supported byOscar Fuentes2011-01-11
| | | | | | | | the traditional build. Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123233 91177308-0d34-0410-b5e6-96231b3b80d8
* Apply -fPIC to C sources too.Oscar Fuentes2011-01-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123122 91177308-0d34-0410-b5e6-96231b3b80d8
* Rewrite handling of LLVM_ENABLE_PIC. It was being processed afterOscar Fuentes2011-01-09
| | | | | | | | config.h was generated, so it had no effect on it. Thanks to arrowdodger for pointing out this and a tentative patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123119 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use -O3 on Mingw, as people report it as unreliable. Use -O2Oscar Fuentes2011-01-07
| | | | | | instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123028 91177308-0d34-0410-b5e6-96231b3b80d8
* New cmake option LLVM_APPEND_VC_REV for controlling when the VCOscar Fuentes2010-12-20
| | | | | | | | | | | | | revision id is appended to the LLVM version string. Defaults to OFF. Until now the VC revision id was always appended to the revision string whenever cmake was invoked (either explicitly or implicitly because a cmake source file changed). This was causing massive recompilations because config.h are reconfigured with the new contents of PACKAGE_VERSION. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122240 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Cleanup and document MSVC warning flags.Michael J. Spencer2010-12-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122115 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Add FileUpdate to the build.Michael J. Spencer2010-12-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121386 91177308-0d34-0410-b5e6-96231b3b80d8
* Promote "enumerator in switch of enum is not handled" to level 1 warning on ↵Francois Pichet2010-12-07
| | | | | | MSVC. It was disabled by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121096 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable C++ exception handling on MSVC.Francois Pichet2010-12-04
| | | | | | | Total size of bin\Release on disk goes from 82.9 MB to 74.2 MB. (~10% saving) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120908 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge System into Support.Michael J. Spencer2010-11-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: lit(check.vcproj) can run with multiple configurations on Visual Studio.NAKAMURA Takumi2010-11-27
| | | | | | | | Unittests need LLVM_BUILD_MODE to pick up each test. Confirmed on CentOS5, Mingw, MSYS, and with possible configurations on VS8 and VS10. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120212 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable warning C4291 on MSVC. Caused because class AttributeList provides a ↵Francois Pichet2010-11-20
| | | | | | non implemented operator delete without a corresponding new. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119902 91177308-0d34-0410-b5e6-96231b3b80d8
* CMakeLists.txt: On MSVS10, touch LLVM.sln as workaround, w/e project files ↵NAKAMURA Takumi2010-11-19
| | | | | | | | are changed, to avoid the Dialog Hell. Thanks to Oscar. FIXME: This could be removed with future version of CMake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119780 91177308-0d34-0410-b5e6-96231b3b80d8
* Make MCJIT work with CMake.Wesley Peck2010-11-17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119589 91177308-0d34-0410-b5e6-96231b3b80d8
* Add LLVMObject Library.Michael J. Spencer2010-11-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119107 91177308-0d34-0410-b5e6-96231b3b80d8
* Detect presence of AsmPrinter's. Remove some cruft too.Oscar Fuentes2010-11-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119077 91177308-0d34-0410-b5e6-96231b3b80d8
* hopefully unbreak the cmake build, patch by frits van bommel.Chris Lattner2010-11-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119069 91177308-0d34-0410-b5e6-96231b3b80d8
* CMakeLists.txt: removed mismatched endif predicate.Oscar Fuentes2010-11-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119064 91177308-0d34-0410-b5e6-96231b3b80d8
* hopefully fix cmake as well.Chris Lattner2010-11-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119058 91177308-0d34-0410-b5e6-96231b3b80d8
* move all the target's asmprinters into the main target. The piece Chris Lattner2010-11-14
| | | | | | | | | that should be split out is the InstPrinter (if a target is mc'ized). This change makes all the targets be consistent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119056 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Add the new option "LLVM_LIT_ARGS".NAKAMURA Takumi2010-11-11
| | | | | | | | Defaults: if (MSVC OR XCODE): "-sv --no-progress-bar" else: "-sv" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118776 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Build utils/KillTheDoctor only on MSVC for now.NAKAMURA Takumi2010-10-26
| | | | | | | Mingw does not have the header <dbghelp.h>. Thanks to Daniel Newton, testing it on mingw. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117352 91177308-0d34-0410-b5e6-96231b3b80d8
* First step to allowing the resource directory of Clang to be adjusted forChandler Carruth2010-10-19
| | | | | | | | | | | strange packaging environments. The primary result of this is to expose a (normally empty) CLANG_RESOURCE_DIR string in the autoconf and CMake builds. This will in turn be used by a subsequent commit to Clang. Regenerated configure and config.h.in thanks to Nick. =D git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116802 91177308-0d34-0410-b5e6-96231b3b80d8
* Added basic support for CPack.Oscar Fuentes2010-10-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116516 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable warning C4267 for MSVC. Otherwise it generate literally thousands of ↵Francois Pichet2010-10-12
| | | | | | warnings when targeting x64. The warning occurs because int is 32 bit but size_t is 64 bit on Win64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116274 91177308-0d34-0410-b5e6-96231b3b80d8
* Add KillTheDoctor.Michael J. Spencer2010-10-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116216 91177308-0d34-0410-b5e6-96231b3b80d8
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-11
| | | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116190 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle InstPrinter's on the CMake build.Oscar Fuentes2010-10-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115402 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert patches r115363 r115367 r115391 due to build breakage:Nick Lewycky2010-10-02
| | | | | | | | | | | llvm[2]: Updated LibDeps.txt because dependencies changed llvm[2]: Checking for cyclic dependencies between LLVM libraries. find-cycles.pl: Circular dependency between *.a files: find-cycles.pl: libLLVMMSP430AsmPrinter.a libLLVMMSP430CodeGen.a git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115393 91177308-0d34-0410-b5e6-96231b3b80d8
* Update CMake files for recent AsmPrinter->InstPrinter changes. Can someone whoJim Grosbach2010-10-02
| | | | | | is more familiar with CMake please review? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115391 91177308-0d34-0410-b5e6-96231b3b80d8
* Added library LLVMPIC16passes to CMake build.Oscar Fuentes2010-09-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114952 91177308-0d34-0410-b5e6-96231b3b80d8
* Added PTX target to the CMake build.Oscar Fuentes2010-09-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114951 91177308-0d34-0410-b5e6-96231b3b80d8