aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Remove the IA-64 backend.Dan Gohman2009-07-241-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76920 91177308-0d34-0410-b5e6-96231b3b80d8
* Build FileCheck from with CMakeDouglas Gregor2009-07-201-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76449 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake support for SystemZ.Daniel Dunbar2009-07-201-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76384 91177308-0d34-0410-b5e6-96231b3b80d8
* MSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompilingDaniel Dunbar2009-07-191-0/+3
| | | | | | | this". Um, ok, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76355 91177308-0d34-0410-b5e6-96231b3b80d8
* Sketch support for target specific assembly parser.Daniel Dunbar2009-07-171-0/+12
| | | | | | | - Not fully enabled yet, need a configure regeneration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76230 91177308-0d34-0410-b5e6-96231b3b80d8
* Kill off cmake magic to force linking.Daniel Dunbar2009-07-161-4/+0
| | | | | | | | - This isn't needed anymore, we require clients to call the appropriate initialization routines using TargetSelect.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75871 91177308-0d34-0410-b5e6-96231b3b80d8
* Add TargetInfo directories to CMake's list.Daniel Dunbar2009-07-151-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75752 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Refuses to work for out-of-source builds when tablegenned filesOscar Fuentes2009-07-131-0/+18
| | | | | | | are found mixed with the sources. Fixes PR 4522. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75522 91177308-0d34-0410-b5e6-96231b3b80d8
* bug 4524: Add MSP430 to the cmake build.Richard Pennington2009-07-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75170 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixes previous change: CMAKE_BUILD_TYPE is unknown whenOscar Fuentes2009-07-051-1/+1
| | | | | | | generating project files for MSVC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74809 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Avoids defining _DEBUG on MSVC Release builds. Fixes PR 4379.Oscar Fuentes2009-07-051-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74794 91177308-0d34-0410-b5e6-96231b3b80d8
* Start flushing out MCContext.Daniel Dunbar2009-06-231-0/+1
| | | | | | | - Lives inside new library lib/MC (LLVMMC.a) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74013 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: remove support for llvm-config-generated dependencies in the buildDouglas Gregor2009-06-231-18/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73979 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate object-relinking support from CMake. Fixes PR 4429 andDouglas Gregor2009-06-231-4/+0
| | | | | | | | cleans up the CMake-based build system a bit. Started by a patch from Xerxes Rånby. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73969 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Only include LLVM example executables in the build if requested by ↵Douglas Gregor2009-06-161-1/+4
| | | | | | the user git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73566 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce new headers whose inclusion forces linking andDouglas Gregor2009-06-161-3/+21
| | | | | | | | | | | initialization of all targets (InitializeAllTargets.h) or assembler printers (InitializeAllAsmPrinters.h). This is a step toward the elimination of relinked object files, so that we can build normal archives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73543 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: New variable LLVM_LIBDIR_SUFFIX.Oscar Fuentes2009-06-121-0/+1
| | | | | | | Patch by Ingmar Vanhassel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73216 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixed parallel build problem related to native tblgen whenOscar Fuentes2009-06-111-0/+2
| | | | | | | cross-compiling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73180 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow setting the C runtime to be used with MSVC from cmake.Stefanus Du Toit2009-06-081-0/+15
| | | | | | | Patch by Tareq Siraj. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73084 91177308-0d34-0410-b5e6-96231b3b80d8
* More portability checks for CMake's config.h.Douglas Gregor2009-06-051-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72975 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use explicit dependencies for Xcode (as well as MSVC), to makeDouglas Gregor2009-06-041-0/+18
| | | | | | | the CMake-generated Xcode project build properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72883 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Renamed LLVM_ENABLE_ASSERTS toOscar Fuentes2009-06-041-4/+13
| | | | | | | | | | LLVM_ENABLE_ASSERTIONS. Fine-tuned the logic that controls the definition of NDEBUG and _DEBUG macros. Thanks to Jay Foad for this suggestions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72864 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Implements and documents option LLVM_ENABLE_ASSERTS.Oscar Fuentes2009-06-031-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72774 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Added notes pointing to the LLVM CMake documentation.Oscar Fuentes2009-04-041-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68429 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: defines and uses macro add_llvm_definitions for keeping trackOscar Fuentes2009-04-041-9/+11
| | | | | | | | | | | | | of compiler parameters explicitly added by the build specification. This macro replaces the cmake built-in `add_definitions'. Detects glibc and defines _GNU_SOURCE accordingly. Resolves bug 3882. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68428 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the Win32 VS2008 build:Sebastian Redl2009-03-191-1/+1
| | | | | | | | | | - Make type declarations match the struct/class keyword of the definition. - Move AddSignalHandler into the namespace where it belongs. - Correctly call functions from template base. - Some other small changes. With this patch, LLVM and Clang should build properly and with far less noise under VS2008. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67347 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: auto-discover project files under the projects/ subdirectory.Oscar Fuentes2009-03-061-0/+1
| | | | | | | Patch by Viktar Zviarovich! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66230 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with ↵Chris Lattner2009-01-281-1/+2
| | | | | | | | | cmake. Patch by Piotr Rak! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63213 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Option for building with -fPIC.Oscar Fuentes2008-11-201-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59739 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Support for building 32 bits shared libraries on 64 bits GNUOscar Fuentes2008-11-191-5/+5
| | | | | | | systems. BUILD_32_BITS option renamed to LLVM_BUILD_32_BITS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59568 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Option for enabling/disabling threads.Oscar Fuentes2008-11-181-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59565 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Forces linking of the rest of architecture targets and itsOscar Fuentes2008-11-151-0/+4
| | | | | | | | | respective asm printers on MSVC. Based on a patch by Scott Graham. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59379 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed some cruft.Oscar Fuentes2008-11-151-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59376 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Moved generation of Intrinsics.gen toOscar Fuentes2008-11-151-9/+1
| | | | | | | include/llvm/CMakeLists.txt. Does it with the `tablegen' cmake macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59342 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Use LLVM_MAIN_SRC_DIR instead of CMAKE_SOURCE_DIR, forOscar Fuentes2008-11-141-2/+2
| | | | | | | | | consistency. Patch by Kevin Andre! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59326 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Disallow in-source builds except when building with the VisualOscar Fuentes2008-11-141-0/+9
| | | | | | | Studio IDE. CMake would overwrite the makefiles distributed with LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59292 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Builds a native tblgen when cross-compiling and the user didn'tOscar Fuentes2008-11-101-1/+1
| | | | | | | set LLVM_TABLEGEN. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58953 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Implement magic word `all' for selecting all targets. CheckOscar Fuentes2008-11-101-4/+31
| | | | | | | that specified targets are known. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58951 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Non-working code for auto-building the native tblgen util whenOscar Fuentes2008-11-101-2/+3
| | | | | | | cross-compiling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58950 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Support for cross-compiling. For now, requires a previouslyOscar Fuentes2008-11-091-1/+8
| | | | | | | | | | | | | | built native tblgen which is passed to cmake in the variable LLVM_TABLEGEN. See http://www.cmake.org/Wiki/CmakeMingw for a quick example on how to cross-compile with CMake. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58939 91177308-0d34-0410-b5e6-96231b3b80d8
* Add XCore backend to CMake build.Richard Osborne2008-11-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58843 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Support for building 32 bit mode libs and binaries onOscar Fuentes2008-11-041-0/+15
| | | | | | | Linux/x86-64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58677 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the name of the generated solution file for a CMake build. (from ↵Cédric Venet2008-10-301-0/+1
| | | | | | | | | 'project' to 'LLVM'). !!!!!!!!!! Warning !!!!!!!!!!!!!!! If you already have created a solution with cmake, you will need to manually open to the new one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58461 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Reverted some unintentional changes on the previous commit.Oscar Fuentes2008-10-301-4/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58435 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Cygwin pretends to be Unix.Oscar Fuentes2008-10-301-3/+11
| | | | | | | Patch by Jay Foad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58434 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed some cruft.Oscar Fuentes2008-10-291-11/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58358 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed unnecessary macro definitions. They are defined inOscar Fuentes2008-10-261-6/+0
| | | | | | | config.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58177 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Directed bug reports to llvmbugs.Oscar Fuentes2008-10-251-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58134 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: MSVC++ no longer uses a special configuration method.Oscar Fuentes2008-10-251-7/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58132 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: `make install' for libraries, executables and header files.Oscar Fuentes2008-10-221-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57945 91177308-0d34-0410-b5e6-96231b3b80d8