Oscar Fuentes
ab84a7bf73
Handle gcc-compatible compilers (such as clang) the same way we handle
...
gcc.
Fixes PR9886.
llvm-svn: 131181
2011-05-11 13:53:08 +00:00
Oscar Fuentes
77c4f70123
Made llvm_replace_compiler_option more robust. Use it on
...
llvm_process_sources.
llvm-svn: 123232
2011-01-11 12:31:34 +00:00
Oscar Fuentes
9bf259581c
Don't use -O3 on Mingw, as people report it as unreliable. Use -O2
...
instead.
llvm-svn: 123028
2011-01-07 20:31:03 +00:00
Oscar Fuentes
13ce15ca69
LLVMProcessSources: add .def files along with .h files to targets for
...
the benefit of project-based generators (VS, XCode, etc).
llvm-svn: 122749
2011-01-03 16:59:52 +00:00
Oscar Fuentes
3aea80b564
Propagate to parent scope changes made to CMAKE_CXX_FLAGS.
...
llvm-svn: 122692
2011-01-02 12:30:18 +00:00
Oscar Fuentes
eb6d777882
CMake (MSVC): cmake automatically adds the /EHsc and /GR compiler
...
options. If we are building with exceptions/rtti disabled, we replace
/EHsc with /EHs-c- and /GR with /GR-, respectively. If we just add the
disabling options we get warnings like this:
cl : Command line warning D9025 : overriding '/EHs' with '/EHs-'
llvm-svn: 122648
2010-12-31 19:10:49 +00:00
Francois Pichet
82f3b5f945
Disable C++ exception handling on MSVC.
...
Total size of bin\Release on disk goes from 82.9 MB to 74.2 MB. (~10% saving)
llvm-svn: 120908
2010-12-04 14:30:22 +00:00
Francois Pichet
916fae2a34
Disable RTTI on Windows.
...
Total size of bin\Release on disk goes from 83.6 MB to 81.8MB. (~2% saving)
llvm-svn: 120901
2010-12-04 09:42:30 +00:00
Oscar Fuentes
889c1e7d80
Build with RTTI and exceptions disabled. Only in GCC for now.
...
llvm-svn: 116682
2010-10-17 02:26:16 +00:00
Oscar Fuentes
c710219d1c
CMake: Report an error if there is an unknown .cpp file in a source
...
directory.
This is useful in case someone who works with the config&make build
system forgot to add a file to its CMakeLists.txt. Instead of
obtaining undefined references at link time, cmake will complain at
configure time on the first build after a svn update.
llvm-svn: 85817
2009-11-02 19:11:03 +00:00
Oscar Fuentes
2c10b22b62
CMake: Adds header and TableGen files to Visual Studio solution. A new
...
dummy library, `llvm_headers_do_not_build', is created for containing
all header and TableGen files under include/llvm.
llvm-svn: 59346
2008-11-15 02:08:08 +00:00
Oscar Fuentes
751ea9d957
CMake: Fixed dependencies of .cpp source files on .td and tablegenned
...
files.
llvm-svn: 59325
2008-11-14 22:06:14 +00:00