16 Commits
Author SHA1 Message Date
David Nadlinger 8bda7ff0c8 MinGW LLVM compiler flag fixes.
Our CMake code should be rewritten to not expect things as strings
that really aren't, but this would entail a whole lot of cross-
platform testing, so I'm postponing it for now.
2013-02-13 16:00:08 +01:00
David Nadlinger 539f7bba82 Also force -fno-rtti on MinGW. 2013-02-13 00:07:51 +01:00
David Nadlinger 3fc9a0faa3 CMake 2.8.0 compatibility. 2012-12-11 23:08:13 +01:00
David Nadlinger f23d79135f Make sure to include -fno-rtti in LLVM_CXXFLAGS. 2012-12-09 23:16:17 +01:00
David Nadlinger fc327909a3 Reworded "LLVM not found" message.
Setting LLVM_CONFIG is the way to go on many Linux systems, which
add a version suffix to the LLVM binaries.
2012-12-09 23:15:20 +01:00
kai 9dad0a6b3b Convert output of llvm-config --targets-built to a list. This fixes #148. 2012-08-01 06:47:37 +02:00
kai e144d8d4ad In FindLLVM.cmake metachars must be escaped before embedding paths into regex. 2012-07-29 19:18:48 +02:00
kai 2addbd2b71 More changes to the build system.
- Relax version checking because we intend to have only a single branch
- Exclude ldfpu.asm from build with MSVC-32 (reported by huynh van sen)
- Fix FindLLVM.cmake to work on Windows again
2012-07-28 22:41:34 +02:00
kai 508dd9ff70 Simplify CMakeLists.txt.
This version works with LLVM 3.0 and 3.1.
2012-07-24 23:33:15 +02:00
kai eb008fac44 Fixed wrong default value for LIBCONFIG++_FOUND 2012-06-19 06:52:46 +02:00
kai 51256b8c82 Fixed a wrong variable reference. 2012-06-19 06:44:36 +02:00
kai 6dd643608a Fix for review comments. 2012-06-18 21:26:18 +02:00
kai c5eba4a98b New CMake module to locate libconfig++
The current code to locate libconfig++ has some trouble:
- It is located in the main CMakeList file but should be a module of its own
- It depends on pkg-config which is not available on Windows
- The returned values are not really useful therefore the library name is hard coded

This commit tries to solve these problems. For a Unix-like system there should be no difference.
Additionally, you can override the variables on the command line which is useful for builds on Windows.
2012-06-18 19:50:11 +02:00
kai 93b2334803 Add more MSVC stuff to CMake files. 2012-06-15 12:20:02 +02:00
kai 3eef7b7d55 First attempt to create build files for MSVC. 2012-06-13 18:23:39 +02:00
David Nadlinger bafe9c8e03 Factored out LLVM detection into separate CMake module. 2011-11-12 17:48:28 +01:00