summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with ↵Chris Lattner2009-01-28
| | | | | | | | | 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-20
| | | | 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-19
| | | | | | | 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-18
| | | | 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-15
| | | | | | | | | 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-15
| | | | 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-15
| | | | | | | 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-14
| | | | | | | | | 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-14
| | | | | | | 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-10
| | | | | | | 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-10
| | | | | | | 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-10
| | | | | | | 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-09
| | | | | | | | | | | | | | 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-07
| | | | 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-04
| | | | | | | 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 ↵Cedric Venet2008-10-30
| | | | | | | | | '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-30
| | | | 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-30
| | | | | | | 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-29
| | | | 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-26
| | | | | | | 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-25
| | | | 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-25
| | | | 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-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57945 91177308-0d34-0410-b5e6-96231b3b80d8
* Fun x86 encoding tricks: when adding an immediate value of 128,Dan Gohman2008-10-17
| | | | | | | | | | | | | | use a SUB instruction instead of an ADD, because -128 can be encoded in an 8-bit signed immediate field, while +128 can't be. This avoids the need for a 32-bit immediate field in this case. A similar optimization applies to 64-bit adds with 0x80000000, with the 32-bit signed immediate field. To support this, teach tablegen how to handle 64-bit constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57663 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Builds all targets.Oscar Fuentes2008-09-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56641 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Disabled some warnings for MSVC.Oscar Fuentes2008-09-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56565 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake build system: support for parallel builds.Oscar Fuentes2008-09-22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56453 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial support for the CMake build system.Oscar Fuentes2008-09-22
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56419 91177308-0d34-0410-b5e6-96231b3b80d8