forked from OSchip/llvm-project
23 lines
637 B
CMake
23 lines
637 B
CMake
# Enable errors for any global constructors.
|
|
add_flag_if_supported("-Werror=global-constructors" WERROR_GLOBAL_CONSTRUCTOR)
|
|
|
|
add_subdirectory(Analysis)
|
|
add_subdirectory(Conversion)
|
|
add_subdirectory(Dialect)
|
|
add_subdirectory(IR)
|
|
add_subdirectory(Interfaces)
|
|
add_subdirectory(Parser)
|
|
add_subdirectory(Pass)
|
|
add_subdirectory(Reducer)
|
|
add_subdirectory(Rewrite)
|
|
add_subdirectory(Support)
|
|
add_subdirectory(TableGen)
|
|
add_subdirectory(Target)
|
|
add_subdirectory(Tools)
|
|
add_subdirectory(Transforms)
|
|
|
|
# Only enable the ExecutionEngine if the native target is configured in.
|
|
if(TARGET ${LLVM_NATIVE_ARCH})
|
|
add_subdirectory(ExecutionEngine)
|
|
endif()
|