summaryrefslogtreecommitdiff
path: root/cmake
Commit message (Collapse)AuthorAge
* Add mode_t to the config.h generated by cmake on win32. Used by clang.Cedric Venet2009-02-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64555 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Tests PERL availability with PERL_EXECUTABLE variable.Oscar Fuentes2009-01-22
| | | | | | | | On MSVC 64bits, does not put underscore before the symbol name on the /INCLUDE linker parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62738 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: replace `rm' with portable invocations of cmake.Oscar Fuentes2009-01-07
| | | | | | | Based on a bug report by Yonggang Luo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61875 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a link issue I ran into trying compiling LLVM on MinGW with CMake. Eli Friedman2008-11-30
| | | | | | | | | Hopefully this doesn't break anyone else's build... it shouldn't unless the MinGW variable means something other than compiling with MinGW. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60273 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Do not rebuild the world when tblgen changes but the .inc filesOscar Fuentes2008-11-21
| | | | | | | it produces are not affected by the change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59763 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: when building shared libraries, use -fPIC for compilingOscar Fuentes2008-11-20
| | | | | | | partially linked objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59699 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: MSVC: Pass list of components the right way to msvc_llvm_configOscar Fuentes2008-11-16
| | | | | | | | and siblings. Support targets whose name does not end on `CodeGen'. Remove a performance bottleneck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59383 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: Adds header and TableGen files to Visual Studio solution. A newOscar Fuentes2008-11-15
| | | | | | | | dummy library, `llvm_headers_do_not_build', is created for containing all header and TableGen files under include/llvm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59346 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: Fixed dependencies of .cpp source files on .td and tablegennedOscar Fuentes2008-11-14
| | | | | | | files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59325 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Updated library dependency info used for MSVC++.Oscar Fuentes2008-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59079 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Removed unnecessary library path setting that was breaking theOscar Fuentes2008-11-11
| | | | | | | | | build on OS X. Fix by Jjgod Jiang! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59048 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Fixed cross-compiling.Oscar Fuentes2008-11-10
| | | | | | | | `clean' makefile target removes add-hoc directory created for building the native tablegen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59005 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: 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
* 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
* CMake: Fix some unwanted commentary line wraps on the last change.Oscar Fuentes2008-10-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58485 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: Establish dependencies among executables and libraries, usingOscar Fuentes2008-10-31
| | | | | | | data manually extracted from llvm-config. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58484 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: Support for LLVM_USED_LIBS variable, which is the cmakeOscar Fuentes2008-10-26
| | | | | | | counterpart of USED_LIBS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58178 91177308-0d34-0410-b5e6-96231b3b80d8
* CMake: GetTargetTriple: new module for determining the targetOscar Fuentes2008-10-26
| | | | | | | triple. Assign to LLVM_HOSTTRIPLE so it figures in config.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58176 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
* Modify the cmake build system so that if it doesn't find bison, it will use ↵Cedric Venet2008-10-24
| | | | | | the pregenerated file in from the svn (.cvs). Work only for windows for the moment. Tested on Vista64 with MSVC2008express. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58090 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
* 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: Removed unnecessary messages from msvc_llvm_config macro.Oscar Fuentes2008-09-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56540 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
* add_partially_linked_object: Replaced nonexistent MESSAGE option inOscar Fuentes2008-09-22
| | | | | | | | add_custom_command with COMMENT. It was forcing unconditional command execution. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56425 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