llvm-mirror/lib/ProfileData/CMakeLists.txt
Duncan P. N. Exon Smith 28058eb1bf modules: Add explicit dependency on intrinsics_gen
`LLVM_ENABLE_MODULES` builds sometimes fail because `Intrinsics.td`
needs to regenerate `Instrinsics.h` before anyone can include anything
from the LLVM_IR module.  Represent the dependency explicitly to prevent
that.

llvm-svn: 239796
2015-06-16 00:44:12 +00:00

18 lines
336 B
CMake

add_llvm_library(LLVMProfileData
InstrProf.cpp
InstrProfReader.cpp
InstrProfWriter.cpp
CoverageMapping.cpp
CoverageMappingWriter.cpp
CoverageMappingReader.cpp
SampleProf.cpp
SampleProfReader.cpp
SampleProfWriter.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/ProfileData
DEPENDS
intrinsics_gen
)