mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
de0a495c44
Summary: This patch does a couple of things: - Adds a new argument `--shared-mode` which accepts a list of components and prints whether or not the provided components need to be linked statically or shared. - Fixes `--libnames` when CMake BUILD_SHARED_LIBS is used. - Fixes `--libnames`, `--libs`, and `--libfiles` for dylib when static components aren't installed. - Fixes `--libnames`, `--libs`, `--libfiles`, and `--components` to use LLVM_DYLIB_COMPONENTS as the component manifest for dylib linking. - Uses the host platform's usual convention for filename extensions and such, instead of always defaulting to Unix-izms. Because I don't own a Mac, I am not able to test the Mac platform dependent stuff locally. If someone would be willing to run a build for me on their machine (unless there's a better option), I'd appreciate it. Reviewers: jfb, brad.king, whitequark, beanz Subscribers: beanz, jauhien, llvm-commits Differential Revision: http://reviews.llvm.org/D13198 llvm-svn: 252532
34 lines
1.3 KiB
C++
34 lines
1.3 KiB
C++
//===-- BuildVariables.inc.in - llvm-config build variables -*- C++ -*-----===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file is configured by the build system to define the variables
|
|
// llvm-config wants to report to the user, but which can only be determined at
|
|
// build time.
|
|
//
|
|
// The variant of this file not ending with .in has been autogenerated by the
|
|
// LLVM build. Do not edit!
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#define LLVM_SRC_ROOT "@LLVM_SRC_ROOT@"
|
|
#define LLVM_OBJ_ROOT "@LLVM_OBJ_ROOT@"
|
|
#define LLVM_CPPFLAGS "@LLVM_CPPFLAGS@"
|
|
#define LLVM_CFLAGS "@LLVM_CFLAGS@"
|
|
#define LLVM_LDFLAGS "@LLVM_LDFLAGS@"
|
|
#define LLVM_CXXFLAGS "@LLVM_CXXFLAGS@"
|
|
#define LLVM_BUILDMODE "@LLVM_BUILDMODE@"
|
|
#define LLVM_LIBDIR_SUFFIX "@LLVM_LIBDIR_SUFFIX@"
|
|
#define LLVM_TARGETS_BUILT "@LLVM_TARGETS_BUILT@"
|
|
#define LLVM_SYSTEM_LIBS "@LLVM_SYSTEM_LIBS@"
|
|
#define LLVM_BUILD_SYSTEM "@LLVM_BUILD_SYSTEM@"
|
|
#define LLVM_HAS_RTTI "@LLVM_HAS_RTTI@"
|
|
#define LLVM_ENABLE_DYLIB "@LLVM_BUILD_LLVM_DYLIB@"
|
|
#define LLVM_ENABLE_SHARED "@LLVM_ENABLE_SHARED@"
|
|
#define LLVM_DYLIB_COMPONENTS "@LLVM_DYLIB_COMPONENTS@"
|