mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-26 09:49:48 +00:00
3db57d14ec
Summary: This avoids adding any additional global constructors, like cl::opt. There is a temporary exception on IR/, which has a few cl::opts that require a bit of plumbing to remove. Differential Revision: https://reviews.llvm.org/D77824
18 lines
499 B
CMake
18 lines
499 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(EDSC)
|
|
add_subdirectory(ExecutionEngine)
|
|
add_subdirectory(IR)
|
|
add_subdirectory(Interfaces)
|
|
add_subdirectory(Parser)
|
|
add_subdirectory(Pass)
|
|
add_subdirectory(Support)
|
|
add_subdirectory(TableGen)
|
|
add_subdirectory(Target)
|
|
add_subdirectory(Transforms)
|
|
add_subdirectory(Translation)
|