Fix CodeView library name and non-CMake builds

llvm-svn: 256387
This commit is contained in:
Dave Bartolomeo 2015-12-24 18:51:35 +00:00
parent de0bfee769
commit dd38b1bf12
3 changed files with 21 additions and 4 deletions

View File

@ -1,4 +1,4 @@
add_llvm_library(LLVMCodeView
add_llvm_library(LLVMDebugInfoCodeView
FieldListRecordBuilder.cpp
Line.cpp
ListRecordBuilder.cpp
@ -6,4 +6,7 @@ add_llvm_library(LLVMCodeView
MethodListRecordBuilder.cpp
TypeRecordBuilder.cpp
TypeTableBuilder.cpp
ADDITIONAL_HEADER_DIRS
${LLVM_MAIN_INCLUDE_DIR}/llvm/DebugInfo/CodeView
)

View File

@ -1,4 +1,4 @@
;===- ./lib/CodeView/LLVMBuild.txt -------------------------------*- Conf -*--===;
;===- ./lib/DebugInfo/CodeView/LLVMBuild.txt -------------------*- Conf -*--===;
;
; The LLVM Compiler Infrastructure
;
@ -17,6 +17,6 @@
[component_0]
type = Library
name = CodeView
parent = Libraries
name = DebugInfoCodeView
parent = DebugInfo
required_libraries = Support

View File

@ -0,0 +1,14 @@
##===- lib/DebugInfo/CodeView/Makefile ---------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = LLVMDebugInfoCodeView
BUILD_ARCHIVE := 1
include $(LEVEL)/Makefile.common