mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 11:33:24 +02:00
d5563422cd
This new library will be linked in when using the "all-targets" component and contains the LLVMInitializeAll* functions. This means that those functions will exist as real symbols in the shared library, and can therefore can be called from bindings that are using ffi the shared library. llvm-svn: 192690
19 lines
377 B
CMake
19 lines
377 B
CMake
add_llvm_library(LLVMTarget
|
|
Mangler.cpp
|
|
Target.cpp
|
|
TargetIntrinsicInfo.cpp
|
|
TargetJITInfo.cpp
|
|
TargetLibraryInfo.cpp
|
|
TargetLoweringObjectFile.cpp
|
|
TargetMachine.cpp
|
|
TargetMachineC.cpp
|
|
TargetSubtargetInfo.cpp
|
|
)
|
|
|
|
foreach(t ${LLVM_TARGETS_TO_BUILD})
|
|
message(STATUS "Targeting ${t}")
|
|
add_subdirectory(${t})
|
|
endforeach()
|
|
|
|
add_subdirectory("AllTargetsBindings")
|