X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSystem%2FCMakeLists.txt;h=ac2830e80a0730beec96d3069be40fcbe0b4d8d7;hb=c8aef4b2ea23f7da3668f35872ee5bd8df28bcc0;hp=5415dd6e300c0a11a6a46afcc729c44fea42ee5d;hpb=4a4ea14f7d3872f07352eae14e62be48a5342fbc;p=oota-llvm.git diff --git a/lib/System/CMakeLists.txt b/lib/System/CMakeLists.txt index 5415dd6e300..ac2830e80a0 100644 --- a/lib/System/CMakeLists.txt +++ b/lib/System/CMakeLists.txt @@ -1,8 +1,14 @@ +set(LLVM_REQUIRES_RTTI 1) +if( MINGW ) + set(LLVM_REQUIRES_EH 1) +endif() + add_llvm_library(LLVMSystem Alarm.cpp Atomic.cpp Disassembler.cpp DynamicLibrary.cpp + Errno.cpp Host.cpp IncludeFile.cpp Memory.cpp @@ -10,10 +16,34 @@ add_llvm_library(LLVMSystem Path.cpp Process.cpp Program.cpp + RWMutex.cpp + SearchForAddressOfSpecialSymbol.cpp Signals.cpp + ThreadLocal.cpp + Threading.cpp TimeValue.cpp + Valgrind.cpp + Unix/Alarm.inc + Unix/Host.inc + Unix/Memory.inc + Unix/Mutex.inc + Unix/Path.inc + Unix/Process.inc + Unix/Program.inc + Unix/RWMutex.inc + Unix/Signals.inc + Unix/ThreadLocal.inc + Unix/TimeValue.inc + Win32/Alarm.inc + Win32/DynamicLibrary.inc + Win32/Host.inc + Win32/Memory.inc + Win32/Mutex.inc + Win32/Path.inc + Win32/Process.inc + Win32/Program.inc + Win32/RWMutex.inc + Win32/Signals.inc + Win32/ThreadLocal.inc + Win32/TimeValue.inc ) - -if( BUILD_SHARED_LIBS AND NOT WIN32 ) - target_link_libraries(LLVMSystem dl) -endif()