Oscar Fuentes
396cc7d477
New system for choosing CRT type on MSVC.
...
Is setted on a per build type basis. This is useful for generators
that comprise several build types, i.e. VC++ solutions.
llvm-svn: 110296
2010-08-05 01:25:48 +00:00
Oscar Fuentes
052c23cd2f
CMake: add version control info to PACKAGE_VERSION, if available.
...
Adds "svn" or "git", depending on the VCS used. If svn, adds the
revision number as well.
llvm-svn: 110121
2010-08-03 17:28:09 +00:00
Oscar Fuentes
758f71af11
Bump cmake_minimum_required to version 2.8
...
llvm-svn: 110110
2010-08-03 15:07:17 +00:00
Oscar Fuentes
30644950d6
Lets the CMake GUI show a list of possible values for LLVM_USE_CRT
...
Patch by nobled!
llvm-svn: 110057
2010-08-02 19:00:34 +00:00
Chris Lattner
979634bbb0
start straightening out libedis's dependencies and make it fit
...
better in the llvm world. Among other things, this changes:
1. The guts of libedis are now moved into lib/MC/MCDisassembler
2. llvm-mc now depends on lib/MC/MCDisassembler, not tools/edis,
so edis and mc don't have to be built in series.
3. lib/MC/MCDisassembler no longer depends on the C api, the C
API depends on it.
4. Various code cleanup changes.
There is still a lot to be done to make edis fit with the llvm
design, but this is an incremental step in the right direction.
llvm-svn: 108869
2010-07-20 18:25:19 +00:00
Daniel Dunbar
1dc887cf3b
Fix LLVM CMake PACKAGE_VERSION variable.
...
llvm-svn: 106861
2010-06-25 16:29:14 +00:00
Oscar Fuentes
e5ca63acc8
CMake: Add options for using static runtime on MSVC++ build.
...
Patch by Victor Zverovich!
llvm-svn: 98821
2010-03-18 13:52:05 +00:00
Wesley Peck
b0578bf0c3
Adding MBlaze to cmake target list.
...
llvm-svn: 97806
2010-03-05 15:15:55 +00:00
Daniel Dunbar
4dcd3b20ca
CMake: Add MCParser directory.
...
llvm-svn: 94135
2010-01-22 02:04:33 +00:00
Douglas Gregor
5b88b8a365
Fix CMake build for InstCombine changes
...
llvm-svn: 92519
2010-01-04 21:58:55 +00:00
Daniel Dunbar
04433fe3e1
Don't default warnings to ON on MSVC, the spew is enough to triple the build time. :/
...
llvm-svn: 90251
2009-12-01 19:11:36 +00:00
Tobias Grosser
8b8a5b22cb
Fix copy paste bug
...
llvm-svn: 90220
2009-12-01 08:43:33 +00:00
Oscar Fuentes
5c600b5435
Add two CMake flags LLVM_ENABLE_PEDANTIC and LLVM_ENABLE_WERROR,
...
PEDANTIC defaults to ON and WERROR default to off.
Also add MSVC warnings. To disable warnings add the flags
LLVM_ENABLE_WARNINGS (default on).
Patch by Tobias Grosser!
llvm-svn: 90188
2009-12-01 02:21:51 +00:00
Oscar Fuentes
cc71783b32
* CMakeLists.txt: Adds warnings flags for g++. Fixes PR 5647.
...
llvm-svn: 90170
2009-11-30 23:50:14 +00:00
Daniel Dunbar
f472129722
Add CMake and configure logic to create llvm/Config/Disassemblers.defs.
...
llvm-svn: 89839
2009-11-25 04:30:13 +00:00
Oscar Fuentes
0c2443a28d
CMake: generate targets for tools and examples even when
...
LLVM_BUILD_TOOLS or LLVM_BUILD_EXAMPLES are OFF.
llvm-svn: 89635
2009-11-23 00:21:43 +00:00
Daniel Dunbar
06d8c2427a
Turn LLVM_BUILD_EXAMPLES off by default in CMake builds, to match Makefiles &
...
Clang.
llvm-svn: 89211
2009-11-18 17:42:22 +00:00
Oscar Fuentes
700205c49f
CMake: Hopefully unbreak the build by mimicking the changes on the
...
other build system about the new C_INCLUDE_DIRS configure option.
llvm-svn: 86960
2009-11-12 06:48:09 +00:00
Daniel Dunbar
3908a4047e
Prevent warning spew about -fPIC when using CMake generated Xcode project files.
...
llvm-svn: 86427
2009-11-08 00:34:22 +00:00
Oscar Fuentes
15716f6e26
CMake: install .def files from source `include/llvm' directory.
...
llvm-svn: 85587
2009-10-30 11:42:08 +00:00
Oscar Fuentes
08875d1dda
CMake: Install .inc files too.
...
llvm-svn: 85285
2009-10-27 20:04:22 +00:00
Oscar Fuentes
6997c643c6
Rather than excluding quite some things, and still installing
...
CMakeLists.txt, Makefiles, ... it's better to whitelist what we really
want to install.
Patch by Ingmar Vanhassel!
llvm-svn: 85282
2009-10-27 19:57:29 +00:00
Edward O'Callaghan
396ed2bcaa
Fix LLVM CMake build system so that it may now work on Solaris and AuroraUX.
...
llvm-svn: 83819
2009-10-12 04:00:11 +00:00
Chris Lattner
cb08fb7b83
remove llvm-db: it is completely broken and if anyone wants to do a debugger,
...
they should not base it on llvm-db (which not following almost any "best practices").
llvm-svn: 83288
2009-10-05 02:29:51 +00:00
Daniel Dunbar
00dd448cff
Add count/not tools as executables.
...
- Apparently, I'm willing to do incredibly stupid things in the name of portability.
llvm-svn: 82685
2009-09-24 06:23:57 +00:00
Daniel Dunbar
28830b39b4
Initial support for running LLVM tests from cmake.
...
llvm-svn: 82534
2009-09-22 07:38:44 +00:00
Daniel Dunbar
6ce1ab1c64
CMake: Fix definition of LTDL_SHLIB_EXT for Darwin.
...
llvm-svn: 82530
2009-09-22 06:09:37 +00:00
Oscar Fuentes
b9a781373c
CMake: New user-settable variable LLVM_TARGET_ARCH useful when
...
cross-compiling.
Patch by Xerxes Rånby!
llvm-svn: 81722
2009-09-13 22:18:38 +00:00
Gabor Greif
b63ea31817
revert r78628 and r78803 as these are not needed any more
...
llvm-svn: 80048
2009-08-25 23:02:21 +00:00
Douglas Gregor
cd44daddf6
TOT is 2.7svn for CMake, too
...
llvm-svn: 79730
2009-08-22 06:30:31 +00:00
Oscar Fuentes
6d61f558ac
CMake: LLVM_ENABLE_PIC now defaults to ON, as in `configure'. This is
...
required on some platforms for building shared libraries that link to
the LLVM libraries.
llvm-svn: 79339
2009-08-18 15:29:35 +00:00
Oscar Fuentes
a127f4e010
CMake: Removed traces of obsolete variable LLVM_PLO_FLAGS.
...
llvm-svn: 79204
2009-08-16 21:01:16 +00:00
Oscar Fuentes
acfd9ad43d
CMake: New option LLVM_BUILD_TOOLS. Renamed LLVM_EXAMPLES to
...
LLVM_BUILD_EXAMPLES and set default to true. Documented.
llvm-svn: 79203
2009-08-16 20:56:30 +00:00
Oscar Fuentes
9496a6d7ef
CMake: Hopefully this will fix the build on VS. I can't replicate the
...
failure with VS 9.0, nmake and cmake 2.6.4. The buildbot output does
not show the patch level of cmake, it just says 2.6.
Sadly, parallel builds are broken due to recent changes on LLVM Target
libraries and its auxiliaries (TargetInfo, AsmPrinter, AsmParser). I
have a patch for stablishing the correct dependencies, but cmake is
buggy and generates makefiles that can't handle them.
llvm-svn: 79180
2009-08-16 07:44:02 +00:00
Oscar Fuentes
8160d28712
CMake: Revert r79144. It reverted a change necessary for correct
...
parallel builds.
llvm-svn: 79177
2009-08-16 05:16:43 +00:00
Benjamin Kramer
42f3b9d02d
Revert 78996. It was breaking MSVC builds.
...
llvm-svn: 79144
2009-08-15 21:57:01 +00:00
Oscar Fuentes
5717a72863
CMake: Builds main LLVM Target library before its sublibraries. This
...
way we ensure that tablegenned files exist before they are #include'd
by the LLVM Target sublibraries. Required for parallel builds.
llvm-svn: 78996
2009-08-14 05:17:24 +00:00
Oscar Fuentes
7a87d6694e
CMake: Corrected indentation on a block of code.
...
llvm-svn: 78992
2009-08-14 04:55:21 +00:00
Gabor Greif
27c7a9dfcd
here comes the CMAKE part on LLVM_COMPACT_SENTINELS; see also r78628 and r78661
...
llvm-svn: 78803
2009-08-12 08:37:37 +00:00
Oscar Fuentes
06eef1c2fe
CMake: Localized dependency on Perl.
...
llvm-svn: 78788
2009-08-12 04:16:19 +00:00
Oscar Fuentes
fc081d6139
CMake: Do not install files with .tmp suffix.
...
llvm-svn: 78769
2009-08-12 01:37:33 +00:00
Oscar Fuentes
c1341ea9de
CMake: Re-enabled build of llvm-config. Removed recursive invocation
...
of cmake.
llvm-svn: 78768
2009-08-12 01:36:27 +00:00
Jakob Stoklund Olesen
526e803f6a
Build Blackfin target with autoconf and cmake.
...
Note that configure was edited by hand. Will somebody with the correct version of autoconf please regenerate?
llvm-svn: 77898
2009-08-02 17:32:37 +00:00
Dan Gohman
17151155ed
Remove the IA-64 backend.
...
llvm-svn: 76920
2009-07-24 00:30:09 +00:00
Douglas Gregor
289dfc5e34
Build FileCheck from with CMake
...
llvm-svn: 76449
2009-07-20 18:30:25 +00:00
Daniel Dunbar
88f35c870b
CMake support for SystemZ.
...
llvm-svn: 76384
2009-07-20 00:24:17 +00:00
Daniel Dunbar
acd56a0902
MSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompiling
...
this". Um, ok, thanks!
llvm-svn: 76355
2009-07-19 01:35:10 +00:00
Daniel Dunbar
71475775b9
Sketch support for target specific assembly parser.
...
- Not fully enabled yet, need a configure regeneration.
llvm-svn: 76230
2009-07-17 20:42:00 +00:00
Daniel Dunbar
e0daf0ca9e
Kill off cmake magic to force linking.
...
- This isn't needed anymore, we require clients to call the appropriate
initialization routines using TargetSelect.h.
llvm-svn: 75871
2009-07-16 00:35:05 +00:00
Daniel Dunbar
b3ec48892d
Add TargetInfo directories to CMake's list.
...
llvm-svn: 75752
2009-07-15 07:04:27 +00:00