llvm/lib/System/CMakeLists.txt
Jeffrey Yasskin f28411f732 Tell Valgrind when we modify already-executed machine code so it knows
to re-instrument the code.  We depend on the system valgrind.h to
avoid adding a new license.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98529 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-15 04:57:55 +00:00

49 lines
879 B
CMake

add_llvm_library(LLVMSystem
Alarm.cpp
Atomic.cpp
Disassembler.cpp
DynamicLibrary.cpp
Errno.cpp
Host.cpp
IncludeFile.cpp
Memory.cpp
Mutex.cpp
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 ${CMAKE_DL_LIBS})
endif()