Index: lib/Target/PNaCl/MCTargetDesc/CMakeLists.txt |
=================================================================== |
--- lib/Target/PNaCl/MCTargetDesc/CMakeLists.txt (revision 0) |
+++ lib/Target/PNaCl/MCTargetDesc/CMakeLists.txt (revision 0) |
@@ -0,0 +1,13 @@ |
+add_llvm_library(LLVMPNaClDesc |
+ PNaClMCTargetDesc.cpp |
+ PNaClMCAsmInfo.cpp |
+ ) |
+ |
+add_llvm_library_dependencies(LLVMPNaClDesc |
+ LLVMPNaClInfo |
+ LLVMMC |
+ LLVMSupport |
+ ) |
+ |
+# Hack: we need to include 'main' target directory to grab private headers |
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_BINARY_DIR}/..) |